wahn / rs_pbrt

Rust crate to implement a counterpart to the PBRT book's (3rd edition) C++ code. See also https://www.rs-pbrt.org/about ...

Home Page:https://www.rs-pbrt.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Statistics and Profiling from PBRT.

bsavery opened this issue · comments

Hi Jan.

Was wondering if you had thought about adding the statistics and profiling system from PBRT (the C++ version)? My thought was to implement them using https://github.com/llogiq/flame and https://docs.rs/counters/0.5.0/counters/ Unless you had other thoughts before I took a stab at it?

Hi Brian,

no, so far I haven't dealt with statistics. I do profile entirely with tools like heaptrack and perf. Here are a couple of posts related to performance etc. I also use hotspot a GUI for perf on Linux. Let me know if you plan to add similar statistics to the Rust version (as the C++ version outputs).

Yeah after thinking about it more, using those built in tools is probably good enough!