hyperfine.sh (592B) - Raw
1 #!/bin/bash 2 set -x 3 4 exec hyperfine \ 5 --export-markdown=results/hyperfine.md \ 6 --runs 10 \ 7 -L toolchain ,--extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux,--extra_toolchains=@llvm_toolchain_with_sysroot//:cc-toolchain-x86_64-linux,--platforms=@zig_sdk//libc_aware/platform:linux_amd64_gnu.2.28 \ 8 -L sandbox_strategy "--spawn_strategy=local,--experimental_reuse_sandbox_directories,--spawn_strategy=sandboxed" \ 9 -p "bazel build {toolchain} {sandbox_strategy} //:zigzag-0; bazel clean; bazel shutdown" \ 10 "bazel build {toolchain} {sandbox_strategy} //..."