Skip to content

Commit

Permalink
[test] Run all the benchmarks once as a validation test (swiftlang#21751
Browse files Browse the repository at this point in the history
)

This is most useful in +Asserts builds of the stdlib, which isn't a
useful configuration for actual benchmarking, but could still uncover
issues in the implementation.
  • Loading branch information
jrose-apple authored Jan 10, 2019
1 parent 345c6db commit 05e5eff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions validation-test/benchmark/run-benchmarks.test-sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// RUN: %Benchmark_O --num-iters=1 --num-samples=1
// REQUIRES: benchmark

// Run all the benchmarks to make sure they don't crash, or uncover any stdlib
// issues. This is most useful in +Asserts builds of the stdlib, which isn't a
// useful configuration for actual benchmarking.

0 comments on commit 05e5eff

Please sign in to comment.