Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1006 Bytes

README.md

File metadata and controls

57 lines (40 loc) · 1006 Bytes

Description

This code was implemented following the book Ray Tracing in One Weekend. I would definitely recomend to anyone interested.

Benchmarks

Test 1

Config:
=======
[+] simple multi-threaded
[-] multi-threaded hit detection

cargo run --release > img.jpg  371.14s user 1.86s system 297% cpu 2:05.52 total

Test 2

Config:
=======
[+] simple multi-threaded
[+] multi-threaded hit detection

cargo run --release > img.jpg  1343.27s user 6.97s system 350% cpu 6:25.50 total

Test 3

Config:
=======
[+] multi-threaded
[-] multi-threaded hit detection

cargo run --release > img.jpg  381.35s user 22.14s system 242% cpu 2:46.15 total

Test 4

Config:
=======
[+] multi-threaded
[+] optimizations
[-] multi-threaded hit detection

cargo run --release > img.jpg  370.62s user 1.69s system 348% cpu 1:46.87 total

Result

Result by the end of the book