#profiler #trace

thread_profiler

A thread profiling library that outputs profiles in the chromium trace format

5 unstable releases

0.3.0 Apr 29, 2018
0.2.2 Jan 6, 2018
0.1.3 May 21, 2017
0.1.1 Feb 13, 2017
0.1.0 Feb 9, 2017

#12 in Profiling

Download history 1016/week @ 2019-07-31 1220/week @ 2019-08-07 1303/week @ 2019-08-14 1315/week @ 2019-08-21 1369/week @ 2019-08-28 1441/week @ 2019-09-04 1396/week @ 2019-09-11 1952/week @ 2019-09-18 2848/week @ 2019-09-25 2615/week @ 2019-10-02 1970/week @ 2019-10-09 2479/week @ 2019-10-16 2203/week @ 2019-10-23 1763/week @ 2019-10-30 1546/week @ 2019-11-06

3,621 downloads per month
Used in 60 crates (43 directly)

Apache-2.0/MIT

7KB
139 lines

Build Status Documentation

Thread Profiler

This is a simple CPU profiler for WebRender. It can write out the resutls in Trace Event Format.

Read more about the usage and associated tools at https://aras-p.info/blog/2017/01/23/Chrome-Tracing-as-Profiler-Frontend/

Hookup

Call register_thread_with_profiler for each thread.

Call write_profile when you need to save the results.

View results

With Chrome: go to chrome://tracing and click on "Load".

Standalone: check out and compile catapult, then call trace2html.

Dependencies

~0.6–0.8MB
~18K SLoC