Skip to content

Commit b285bac

Browse files
committed
[libc++][NFC] In documentation, fix path to benchmark that has now moved
1 parent 36d9e10 commit b285bac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/docs/TestingLibcxx.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ when running the benchmarks. For example,
482482

483483
.. code-block:: bash
484484
485-
$ libcxx/utils/libcxx-lit <build> libcxx/test/benchmarks/string.bench.cpp --show-all --param optimization=speed
485+
$ libcxx/utils/libcxx-lit <build> libcxx/test/benchmarks/containers/string.bench.cpp --show-all --param optimization=speed
486486
487487
Note that benchmarks are only dry-run when run via the ``check-cxx`` target since
488488
we only want to make sure they don't rot. Do not rely on the results of benchmarks
@@ -504,7 +504,7 @@ more benchmarks, as usual:
504504
.. code-block:: bash
505505
506506
$ cmake -S runtimes -B <build> [...]
507-
$ libcxx/utils/libcxx-lit <build> libcxx/test/benchmarks/string.bench.cpp --param optimization=speed
507+
$ libcxx/utils/libcxx-lit <build> libcxx/test/benchmarks/containers/string.bench.cpp --param optimization=speed
508508
509509
Then, get the consolidated benchmark output for that run using ``consolidate-benchmarks``:
510510

0 commit comments

Comments
 (0)