[libcxx-commits] [libcxx] 637e9bd - [libc++] Run all the microbenchmarks in run-benchmarks (#181374)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Feb 13 07:41:30 PST 2026
Author: Louis Dionne
Date: 2026-02-13T10:41:24-05:00
New Revision: 637e9bdd7c2269c16cf37ea910ee6804e7d191ff
URL: https://github.com/llvm/llvm-project/commit/637e9bdd7c2269c16cf37ea910ee6804e7d191ff
DIFF: https://github.com/llvm/llvm-project/commit/637e9bdd7c2269c16cf37ea910ee6804e7d191ff.diff
LOG: [libc++] Run all the microbenchmarks in run-benchmarks (#181374)
Running all the benchmarks does not significantly increase the total
time, and it ensures that what we upload to LNT corresponds exactly to
what's in the test suite.
Added:
Modified:
libcxx/utils/ci/lnt/run-benchmarks
Removed:
################################################################################
diff --git a/libcxx/utils/ci/lnt/run-benchmarks b/libcxx/utils/ci/lnt/run-benchmarks
index e2d1980f3f92a..8f9ff72ef3166 100755
--- a/libcxx/utils/ci/lnt/run-benchmarks
+++ b/libcxx/utils/ci/lnt/run-benchmarks
@@ -156,8 +156,6 @@ def main(argv):
with open(build_dir / 'benchmarks.lnt', 'a') as f:
run([args.git_repo / 'libcxx/utils/consolidate-benchmarks', build_dir / 'spec'], stdout=f)
- # TODO: For now, we run only a subset of the benchmarks because running the whole test suite is too slow.
- # Run the whole test suite once https://github.com/llvm/llvm-project/issues/173032 is resolved.
if do_micro:
logging.info(f'Running microbenchmarks from {args.test_suite_commit} against libc++ {args.benchmark_commit}')
run([args.git_repo / 'libcxx/utils/test-at-commit',
@@ -170,8 +168,7 @@ def main(argv):
'--param', f'compiler={args.compiler}',
'--param', 'optimization=speed',
'--param', 'std=c++26',
- build_dir / 'micro/libcxx/test',
- '--filter', 'benchmarks/(algorithms|containers|iterators|locale|memory|streams|numeric|utility)'],
+ build_dir / 'micro/libcxx/test/benchmarks'],
enforce_success=False)
with open(build_dir / 'benchmarks.lnt', 'a') as f:
run([args.git_repo / 'libcxx/utils/consolidate-benchmarks', build_dir / 'micro'], stdout=f)
More information about the libcxx-commits
mailing list