1. chrome-trace-event
A library to create a trace of your node app per Google's Trace Event format.
chrome-trace-event
Package: chrome-trace-event
Created by: samccone
Last modified: Mon, 13 Jun 2022 06:00:40 GMT
Version: 1.0.3
License: MIT
Downloads: 75,247,919
Repository: https://github.com/samccone/chrome-trace-event

Install

npm install chrome-trace-event
yarn add chrome-trace-event

Build Status

chrome-trace-event: A node library for creating trace event logs of program
execution according to Google's Trace Event
format
.
These logs can then be visualized with
trace-viewer or chrome devtools to grok one's 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

  • https://github.com/google/trace-viewer/wiki
  • https://docs.google.com/document/d/1CvAClvFfyA5R-PhYUmn5OOQtYMH4h6I0nSsKchNAySU

License

MIT. See LICENSE.txt.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code