The individual chapter programs within the raytacing book are numbered based on the listing number of the code in https://raytracing.github.io/books/RayTracingInOneWeekend.html. You can find the code in test/chapters
directory.
Benchmarks were done on my PC with AMD Ryzen 7 5800X 8-Core Processor.
Benchmark: 254.407 μs (2 allocations: 768.05 KiB)
Benchmark: 788.809 μs (2 allocations: 1.03 MiB)
Benchmark: 1.683 ms (2 allocations: 1.03 MiB)
Benchmark: 1.686 ms (2 allocations: 1.03 MiB)
Benchmark: 7.265 ms (720004 allocations: 20.26 MiB)
Benchmark: 932.870 ms (72000004 allocations: 1.88 GiB)
Benchmark: 1.837 s (130016420 allocations: 3.39 GiB)
Benchmark: 4.748 s (333183134 allocations: 7.80 GiB)
Benchmark: 6.899 s (485701411 allocations: 11.07 GiB)
Benchmark: 2.074 s (137304900 allocations: 3.58 GiB)
Benchmark: 8.151 s (554879562 allocations: 12.65 GiB)
Benchmark: 6.316 s (446907564 allocations: 10.19 GiB)
Benchmark (used time here, instead of btime): ``