Useful if you are trying to add performance analysis to a Retro68 application on a classic Macintosh or emulator, where running gdb or some sort of better analysis tooling might not be an option.
More in depth instructions on how this library can be used are available here
Options:
- Can be run tailing a flat file by specifiying
process.env.FILE_PATH
- Can be run using serial by specifiying
process.env.SERIAL
Sending profiling messages:
PROFILE_START x
- starts trackingx
PROFILE_END x
- stops trackingx
. Measures and stores how longx
took to runPROFILE_COMPLETE
- analyzes all profile data and prints it out in 3 charts
3 charts:
- Most total time spent in each profile mark overall
- Longest individual profile mark
- Time spent in each profile mark