Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 20-Jan-2022 | - | ||||
README.md | H A D | 20-Jan-2022 | 893 | 32 | 22 |
README.md
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. 32