This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/chrome-trace-event/README.md
2020-11-01 22:46:04 +00:00

893 B
Raw Blame History

Build Status

chrome-trace-event: A node library for creating trace event logs of program execution according to Googles Trace Event format. These logs can then be visualized with trace-viewer or chrome devtools to grok ones programs.

Install

npm install chrome-trace-event

Usage

const Trace = require("chrome-trace-event").Tracer;
const trace = new Trace({
    noStream: true
});
trace.pipe(fs.createWriteStream(outPath));
trace.flush();

Links

License

MIT. See LICENSE.txt.