hprof
hprof copied to clipboard
A real-time hierarchical profiler
As I understand it, the time measurements in hprof are reset at the start of each frame. `print_timing()` will print the timings of just the last frame. I think it...
Rust 1.8, which is released this week, adds a new struct named `std::time::Instant`: http://doc.rust-lang.org/nightly/std/time/struct.Instant.html By using it, we would no longer depend on the `time` crate. Of course the drawback...
The `clock_ticks` package says it is deprecated and we should use `time` instead.
The following code: ``` rust let _g = hprof::enter("Reading"); { let _g = hprof::enter("Mapping"); let mapping = buffer.map(); drop(_g); let _g = hprof::enter("Reading"); for val in mapping.values.iter() { process(val); }...