Skip to content

provides performance analysis services for machines over a serial port or by tailing a text file

Notifications You must be signed in to change notification settings

CamHenlin/serialperformanceanalyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

serialperformanceanalyzer

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.

Usage

More in depth instructions on how this library can be used are available here

Options

Options:

  • Can be run tailing a flat file by specifiying process.env.FILE_PATH
  • Can be run using serial by specifiying process.env.SERIAL

Profiling messages (from your code)

Sending profiling messages:

  • PROFILE_START x - starts tracking x
  • PROFILE_END x - stops tracking x. Measures and stores how long x took to run
  • PROFILE_COMPLETE - analyzes all profile data and prints it out in 3 charts

Output

3 charts:

  • Most total time spent in each profile mark overall
  • Longest individual profile mark
  • Time spent in each profile mark

About

provides performance analysis services for machines over a serial port or by tailing a text file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published