{"library":"p-profiler","type":"library","category":null,"description":"p-profiler is a JavaScript library (v0.2.1, stable) from Microsoft that wraps promise-returning functions to generate Chrome DevTools-compatible profiling JSON. It integrates with concurrency libraries like p-queue and p-graph to trace async task execution, helping developers visualize bottlenecks in promise-heavy workflows. Unlike generic profilers, it targets promise queues and graph-based task scheduling, outputting a trace file that can be loaded into browser DevTools for flamechart analysis. Ships TypeScript definitions. Release cadence is low; primarily a utility for debugging concurrent async operations.","language":"javascript","status":"active","version":"0.2.1","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install p-profiler","imports":["import Profiler from 'p-profiler'","import Profiler from 'p-profiler'","const Profiler = await import('p-profiler')"]},{"cmd":"yarn add p-profiler","imports":[]},{"cmd":"pnpm add p-profiler","imports":[]}],"homepage":"https://github.com/microsoft/p-profiler#readme","github":"https://github.com/microsoft/p-profiler","docs":null,"changelog":null,"pypi":null,"npm":"p-profiler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}