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

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

#263 in Profiling

Download history 2435/week @ 2023-11-29 2601/week @ 2023-12-06 2396/week @ 2023-12-13 1420/week @ 2023-12-20 615/week @ 2023-12-27 394/week @ 2024-01-03 588/week @ 2024-01-10 444/week @ 2024-01-17 334/week @ 2024-01-24 299/week @ 2024-01-31 565/week @ 2024-02-07 636/week @ 2024-02-14 499/week @ 2024-02-21 650/week @ 2024-02-28 636/week @ 2024-03-06 307/week @ 2024-03-13

2,191 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–1.7MB
~32K SLoC