Measure Babel compilation time per file and per plugin. Version 0.9.1 (beta). Use it to profile Babel when applications or tests take ages to build. Supports CLI, Node API, Webpack plugin, and Jest transformer/reporter. Ships TypeScript types. Distinct from generic profilers by focusing specifically on Babel's transform pipeline, breaking down time by file and by plugin. Active development; minor releases may include breaking changes.
npm install babel-timingVerified import paths — ran on the pinned version, not inferred.
Measure Babel timing on a glob of files, following imports, with custom Babel config and resolve options.
Use import syntax or upgrade to a CJS-compatible version (<0.9.0).
Delete ./node_modules/.cache/babel-loader/ before running Webpack.
Use --no-babel-config flag instead of --babel-config false.
Run Jest with --no-cache flag.
Update imports to use subpath exports syntax.
Use import { babelTiming } from 'babel-timing'; or downgrade to <0.9.0.Ensure you use babel-timing >=0.9.0 and import using the exact subpath.
Use import { BabelTimingPlugin } from 'babel-timing/webpack/plugin'; instead of default import.No dependency data recorded yet.