#profiler #trace #thread #format #profile #info #chromium

thread_profiler

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

5 unstable releases

Uses old Rust 2015

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

#342 in Profiling

Download history 511/week @ 2024-07-22 471/week @ 2024-07-29 455/week @ 2024-08-05 1126/week @ 2024-08-12 552/week @ 2024-08-19 702/week @ 2024-08-26 639/week @ 2024-09-02 504/week @ 2024-09-09 488/week @ 2024-09-16 715/week @ 2024-09-23 518/week @ 2024-09-30 44/week @ 2024-10-07 421/week @ 2024-10-14 424/week @ 2024-10-21 525/week @ 2024-10-28 428/week @ 2024-11-04

1,801 downloads per month
Used in fewer than 45 crates

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

~1–2MB
~35K SLoC