Why so slow?
node --prof node_modules/.bin/jest
node --prof node_modules/.bin/jest scribe/client/components/NoteEditor/NoteEditor.test.jsx
find . -name 'isolate-*' -exec rm {} \;
node --prof-process isolate-0x110000000-55844-v8.log > processed.txt
Laptop VS Docker Container
node --prof-process isolate-0x2c16f00-v8.log > processed1.txt
Python
pip install pytest-profiling
Resources:
https://pypi.org/project/pytest-profiling/
https://nodejs.org/en/docs/guides/simple-profiling/
By Sam Backus
♥