| /llvm-project-15.0.7/libcxx/benchmarks/ |
| H A D | CMakeLists.txt | 78 add_custom_target(cxx-benchmarks) 83 add_library( cxx-benchmarks-flags INTERFACE) 90 add_library( cxx-benchmarks-flags-native INTERFACE) 91 target_link_libraries( cxx-benchmarks-flags-native INTERFACE cxx-benchmarks-flags) 107 add_library( cxx-benchmarks-flags-libcxx INTERFACE) 108 target_link_libraries( cxx-benchmarks-flags-libcxx INTERFACE cxx-benchmarks-flags) 120 add_dependencies(cxx-benchmarks ${libcxx_target}) 146 add_dependencies(cxx-benchmarks ${native_target}) 225 add_lit_target(check-cxx-benchmarks 226 "Running libcxx benchmarks tests" [all …]
|
| H A D | lit.site.cfg.py.in | 10 lit_config.load_config(config, "@LIBCXX_SOURCE_DIR@/benchmarks/lit.cfg.py")
|
| /llvm-project-15.0.7/third-party/benchmark/tools/gbench/ |
| H A D | util.py | 124 benchmarks = result['benchmarks'] 127 benchmarks = sorted( 128 …benchmarks, key=lambda benchmark: benchmark['repetition_index'] if 'repetition_index' in benchmark… 129 benchmarks = sorted( 130 …benchmarks, key=lambda benchmark: 1 if 'run_type' in benchmark and benchmark['run_type'] == "aggre… 131 benchmarks = sorted( 132 …benchmarks, key=lambda benchmark: benchmark['per_family_instance_index'] if 'per_family_instance_i… 133 benchmarks = sorted( 134 …benchmarks, key=lambda benchmark: benchmark['family_index'] if 'family_index' in benchmark else -1) 136 result['benchmarks'] = benchmarks
|
| /llvm-project-15.0.7/mlir/utils/mbr/ |
| H A D | README.md | 2 MBR is a tool to run benchmarks. It measures compilation and running times of 3 benchmark programs. It uses MLIR's python bindings for MLIR benchmarks. 6 To build and enable MLIR benchmarks, pass `-DMLIR_ENABLE_PYTHON_BENCHMARKS=ON` 10 ## Writing benchmarks 33 The benchmark function's name must be prefixed by `"benchmark_"` and benchmarks 46 example, for benchmarks involving numpy. In that case, the benchmarks look 61 ## Running benchmarks 62 MLIR benchmarks can be run like this 75 If you want to run only specific benchmarks, you can use the positional argument 78 1. If you want to run benchmarks in a specific directory or a file, set
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-exegesis/X86/ |
| H A D | analysis-epsilons.test | 1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 2 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 3 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 4 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 6 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an… 7 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an… 8 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an… 9 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
|
| H A D | analysis-naive-cluster-stabilization.test | 1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 2 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an… 3 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an… 5 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 6 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an… 7 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
|
| H A D | analysis-same-cluster-for-ops-in-different-sched-clusters.test | 1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 2 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 3 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-…
|
| H A D | analysis-cluster-stabilization.test | 1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 2 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an… 3 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
|
| H A D | analysis-naive-clusterization.test | 1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 2 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an… 3 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-inconsistencies-output-file=- -an…
|
| H A D | analysis-naive-clusterization-same-opcode-different-sched-class.test | 1 # RUN: llvm-exegesis -mcpu=znver3 -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file… 4 # but it should also partition the benchmarks of the same opcode
|
| H A D | analysis-clustering-algorithms.test | 1 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 2 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 3 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-… 4 # RUN: llvm-exegesis -mode=analysis -benchmarks-file=%s -analysis-clusters-output-file=- -analysis-…
|
| /llvm-project-15.0.7/libcxx/docs/ |
| H A D | TestingLibcxx.rst | 133 The benchmark tests are not built by default. The benchmarks can be built using 134 the ``cxx-benchmarks`` target. 141 $ ninja cxx-benchmarks 143 This will build all of the benchmarks under ``<libcxx-src>/benchmarks`` to be 145 ``build/projects/libcxx/benchmarks``. 147 The benchmarks can also be built against the platforms native standard library 150 The compiled benchmarks are named ``<test>.libcxx.out`` if they test libc++ and 161 The benchmarks must be run manually by the user. Currently there is no way 168 $ cd build/projects/libcxx/benchmarks 169 $ ./algorithms.libcxx.out # Runs all the benchmarks [all …]
|
| /llvm-project-15.0.7/third-party/benchmark/src/ |
| H A D | benchmark.cc | 281 void RunBenchmarks(const std::vector<BenchmarkInstance>& benchmarks, in RunBenchmarks() argument 291 for (const BenchmarkInstance& benchmark : benchmarks) { in RunBenchmarks() 317 runners.reserve(benchmarks.size()); in RunBenchmarks() 318 for (const BenchmarkInstance& benchmark : benchmarks) { in RunBenchmarks() 329 assert(runners.size() == benchmarks.size() && "Unexpected runner count."); in RunBenchmarks() 495 std::vector<internal::BenchmarkInstance> benchmarks; in RunSpecifiedBenchmarks() local 496 if (!FindBenchmarksInternal(spec, &benchmarks, &Err)) return 0; in RunSpecifiedBenchmarks() 498 if (benchmarks.empty()) { in RunSpecifiedBenchmarks() 504 for (auto const& benchmark : benchmarks) in RunSpecifiedBenchmarks() 507 internal::RunBenchmarks(benchmarks, display_reporter, file_reporter); in RunSpecifiedBenchmarks() [all …]
|
| H A D | benchmark_register.cc | 83 std::vector<BenchmarkInstance>* benchmarks, 112 std::string spec, std::vector<BenchmarkInstance>* benchmarks, in FindBenchmarks() argument 158 if (spec == ".") benchmarks->reserve(benchmarks->size() + family_size); in FindBenchmarks() 169 benchmarks->push_back(std::move(instance)); in FindBenchmarks() 193 std::vector<BenchmarkInstance>* benchmarks, in FindBenchmarksInternal() argument 195 return BenchmarkFamilies::GetInstance()->FindBenchmarks(re, benchmarks, Err); in FindBenchmarksInternal()
|
| /llvm-project-15.0.7/third-party/benchmark/docs/ |
| H A D | tools.md | 5 The `compare.py` can be used to compare the result of benchmarks. 26 1. Just compare two benchmarks 30 $ compare.py benchmarks <benchmark_baseline> <benchmark_contender> [benchmark options]... 34 `[benchmark options]` will be passed to the benchmarks invocations. They can be anything that binar… 38 $ ./compare.py benchmarks ./a.out ./a.out 99 `[benchmark options]` will be passed to the benchmarks invocations. They can be anything that binar… 136 As you can see, it applies filter to the benchmarks, both when running the benchmark, and before do… 150 `[benchmark options]` will be passed to the benchmarks invocations. They can be anything that binar… 191 If there is a sufficient repetition count of the benchmarks, the tool can do 199 null hypothesis is rejected. Which in other words means that the two benchmarks
|
| H A D | user_guide.md | 9 [Running Benchmarks](#running-benchmarks) 11 [Running a Subset of Benchmarks](#running-a-subset-of-benchmarks) 29 [Templated Benchmarks](#templated-benchmarks) 35 [Multithreaded Benchmarks](#multithreaded-benchmarks) 98 "benchmarks": [ 151 <a name="running-benchmarks" /> 163 <a name="running-a-subset-of-benchmarks" /> 241 information about the machine on which the benchmarks are run. 499 <a name="templated-benchmarks" /> 750 <a name="multithreaded-benchmarks"/> [all …]
|
| /llvm-project-15.0.7/llvm/docs/Proposals/ |
| H A D | TestSuite.rst | 12 These are ideas for additional programs, benchmarks, applications and 22 like for the SPEC benchmarks) 163 some of the benchmarks 164 https://github.com/gtcasl/hpc-benchmarks/tree/master/SSCA2v2.2 169 https://github.com/kokkos/kokkos/tree/master/benchmarks 173 https://github.com/bondhugula/polymage-benchmarks 192 https://asc.llnl.gov/coral-2-benchmarks/
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/test/ |
| H A D | index-tools.test | 2 # FIXME: By default, benchmarks are excluded from the list of default targets hence not built. Find…
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/benchmarks/ |
| H A D | CMakeLists.txt | 1 # To build these benchmarks, build the target "ScudoBenchmarks.$ARCH", where 4 # available under projects/compiler-rt/lib/scudo/standalone/benchmarks/ in the
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-exegesis/X86/uops/ |
| H A D | uops-CMOV16rm-noreg.s | 1 # RUN: llvm-exegesis -mode=uops -opcode-name=CMOV16rm -benchmarks-file=%t.CMOV16rm-uops.yaml 3 # RUN: llvm-exegesis -mcpu=bdver2 -mode=analysis -benchmarks-file=%t.CMOV16rm-uops.yaml -analysis-c…
|
| /llvm-project-15.0.7/libc/benchmarks/ |
| H A D | CMakeLists.txt | 172 add_executable(libc.benchmarks.memory_functions.opt_host 177 target_link_libraries(libc.benchmarks.memory_functions.opt_host 188 llvm_update_compile_flags(libc.benchmarks.memory_functions.opt_host)
|
| /llvm-project-15.0.7/libcxx/utils/ci/ |
| H A D | run-buildbot | 142 function check-cxx-benchmarks() { 144 ${NINJA} -vC "${BUILD_DIR}" check-cxx-benchmarks 161 libcxx/{benchmarks,include,src,test} \ 471 benchmarks) 474 check-cxx-benchmarks
|
| /llvm-project-15.0.7/libc/benchmarks/automemcpy/ |
| H A D | README.md | 45 - the binary that benchmarks the autogenerated implementations. 55 ## Running the benchmarks 76 ## Analyzing the benchmarks
|
| /llvm-project-15.0.7/lld/utils/ |
| H A D | benchmark.py | 117 def buildLntJson(benchmarks): argument 119 tests = [runBench(b) for b in benchmarks]
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/ |
| H A D | CMakeLists.txt | 8 add_subdirectory(benchmarks)
|