compile_benchmark_test.sh 469 B

12345678910111213
  1. #!/usr/bin/env bash
  2. #
  3. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  4. # Exceptions. See /LICENSE for license information.
  5. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. BENCHMARK="$TEST_SRCDIR/$TEST_WORKSPACE/toolchain/driver/compile_benchmark"
  7. # Run the benchmark with the fastest size and a single iteration to make sure it
  8. # doesn't hit errors.
  9. exec "$BENCHMARK" \
  10. --benchmark_min_time=1x \
  11. --benchmark_filter='/256$'