Closed wasonal closed 1 year ago
It's build with Discovery.js, its source can be found in app folder. You can run it locally with npm start
command in the cloned repo.
If you need a subset of data, open a report page:
Write a query and copy JSON using "f" button:
Query example:
functions.({
name,
loc,
selfTime,
totalTime
})
You also can customize view:
Or just click "as table" in struct view:
Also you can use this link with prefilled query, just load you profile file using "Open file..." in top right corner.
how report.html be designed? Or how to covert cpuprofile to a list like Array<{ costTime: number, functionName: string, }>