source: trip-planner-front/node_modules/chrome-trace-event/README.md@ 76712b2

Last change on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 893 bytes
RevLine 
[6a3a178]1[![Build Status](https://travis-ci.org/samccone/chrome-trace-event.svg?branch=master)](https://travis-ci.org/samccone/chrome-trace-event)
2
3chrome-trace-event: A node library for creating trace event logs of program
4execution according to [Google's Trace Event
5format](https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU).
6These logs can then be visualized with
7[trace-viewer](https://github.com/google/trace-viewer) or chrome devtools to grok one's programs.
8
9# Install
10
11 npm install chrome-trace-event
12
13# Usage
14
15```javascript
16const Trace = require("chrome-trace-event").Tracer;
17const trace = new Trace({
18 noStream: true
19});
20trace.pipe(fs.createWriteStream(outPath));
21trace.flush();
22```
23
24# Links
25
26* https://github.com/google/trace-viewer/wiki
27* https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU
28
29# License
30
31MIT. See LICENSE.txt.
Note: See TracBrowser for help on using the repository browser.