We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a27ded commit fc826a7Copy full SHA for fc826a7
test.sh
@@ -66,10 +66,13 @@ $RUSTC example/mod_bench.rs --crate-type bin
66
#./build_sysroot/build_sysroot.sh --release
67
68
pushd simple-raytracer
69
-echo "[BENCH] ebobby/simple-raytracer"
70
-cargo clean && ../cargo.sh build
71
-cp ./target/*/debug/main ./raytracer_cg_clif
+echo "[BENCH COMPILE] ebobby/simple-raytracer"
+hyperfine --runs ${RUN_RUNS:-10} --warmup 1 --prepare "rm -r target/*/debug" \
+ "RUSTFLAGS='' cargo build --target $TARGET_TRIPLE" \
72
+ "../cargo.sh build"
73
74
+echo "[BENCH RUN] ebobby/simple-raytracer"
75
+cp ./target/*/debug/main ./raytracer_cg_clif
76
hyperfine --runs ${RUN_RUNS:-10} ./raytracer_cg_llvm ./raytracer_cg_clif
77
popd
78
0 commit comments