#profiling #tracing #flamegraph #subscriber

nightly tracing-chrometrace

A Layer for tracing-subscriber that outputs Chrome-style traces

19 releases

0.1.18 Aug 18, 2022
0.1.17 Jul 5, 2022
0.1.15 May 18, 2022
0.1.14 Apr 27, 2022
0.1.0 Oct 25, 2021

#155 in Debugging

Download history 2077/week @ 2022-06-05 1845/week @ 2022-06-12 1684/week @ 2022-06-19 1790/week @ 2022-06-26 1922/week @ 2022-07-03 1793/week @ 2022-07-10 1777/week @ 2022-07-17 2179/week @ 2022-07-24 2009/week @ 2022-07-31 2484/week @ 2022-08-07 1556/week @ 2022-08-14 1928/week @ 2022-08-21 1065/week @ 2022-08-28 1417/week @ 2022-09-04 1586/week @ 2022-09-11 1364/week @ 2022-09-18

5,476 downloads per month

MIT license

16KB
413 lines

tracing-chrometrace

Overview

A tracing Layer that for logs formatted representations of tracing events viewed by the Chrome Trace Viewer at chrome://tracing.

Usage

use tracing_chrometrace::ChromeLayer;
use tracing_subscriber::{Registry, prelude::*};

tracing_subscriber::registry().with(ChromeLayer::default()).init();

lib.rs:

A Layer that for logs formatted representations of tracing events viewed by the Chrome Trace Viewer at chrome://tracing.

Usage

use tracing_chrometrace::ChromeLayer;
use tracing_subscriber::{Registry, prelude::*};

let (writer, guard) = ChromeLayer::with_writer(std::io::stdout);
tracing_subscriber::registry().with(writer).init();

Dependencies

~8–14MB
~246K SLoC