This repo has officially been archived. Going forward consumption of Parse-Profile will be via TracerBench.
A suite of CLI tools for generating and parsing CPUProfile's.
The parent command that allows for running one of the subcommands below.
The primary usage would be:
# create a Chrome profile from a URL and save to a JSON file
$ ./bin/profile trace --url http://www.example.com --network 4g --cpu 4
# create a HAR file based on a URL
$ ./bin/profile create-archive --url http://www.example.com
# analyze the created profile
$ ./bin/profile analyze --file trace.json --report ./heuristics --event mark_meaningful_paint_end
Does an automated trace of a webpage. Also takes network conditioner and CPU throttling options.
Creates a subset of a HAR file for gather resource information and application version number.
Parses a CPU profile and aggregates time across heuristics. Can be vertically sliced with event names.
Parses a CPU profile and displays interesting events in chronological order
Lists all the functions and source locations from a trace
Aggregates CSS parsing time from a trace
Aggregates JS Eval time from a trace
To build:
yarn build
To run tests:
yarn test