liquidcarrot / carrot

🥕 Evolutionary Neural Networks in JavaScript
https://liquidcarrot.io/carrot/
MIT License
295 stars 34 forks source link

Add Performance Profiling visualizations, possibly pre-merge to master #192

Open GavinRay97 opened 4 years ago

GavinRay97 commented 4 years ago

Node Clinic allows you to generate really in-depth performance profiling metrics very simply: https://github.com/nearform/node-clinic

The most useful one is likely the Flame chart, but perhaps the Bubbleprof could be useful as well. Here is an example of running clinic flame -- node main.js where main.js is one of the basic example scripts from the readme.

These charts could be generated and put in versioned folders automatically, either via a CI/CD script invoking it via the CLI, or they can programmatically generated and put in to the test suite pipeline.

image