Commit fc826a7
committed
Benchmark simple-raytracer compilation
[BENCH COMPILE] ebobby/simple-raytracer
Benchmark #1: RUSTFLAGS='' cargo build --target x86_64-apple-darwin
Time (mean ± σ): 16.539 s ± 0.781 s [User: 46.043 s, System: 3.822 s]
Range (min … max): 15.057 s … 17.566 s 10 runs
Benchmark #2: ../cargo.sh build
Time (mean ± σ): 14.550 s ± 0.443 s [User: 25.856 s, System: 4.214 s]
Range (min … max): 14.208 s … 15.751 s 10 runs
Summary
'../cargo.sh build' ran
1.14 ± 0.06 times faster than 'RUSTFLAGS='' cargo build --target x86_64-apple-darwin'
[BENCH RUN] ebobby/simple-raytracer
Benchmark #1: ./raytracer_cg_llvm
Time (mean ± σ): 6.436 s ± 0.022 s [User: 6.392 s, System: 0.018 s]
Range (min … max): 6.408 s … 6.466 s 10 runs
Benchmark #2: ./raytracer_cg_clif
Time (mean ± σ): 9.604 s ± 0.088 s [User: 9.547 s, System: 0.023 s]
Range (min … max): 9.503 s … 9.742 s 10 runs
Summary
'./raytracer_cg_llvm' ran
1.49 ± 0.01 times faster than './raytracer_cg_clif'1 parent 7a27ded commit fc826a7
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
| 74 | + | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
0 commit comments