|
|
|
|
|
by sciolistse
2359 days ago
|
|
Regarding profiling in Node.JS (in case anyone who is interested is unaware,) if you start your application with the "--inspect" argument and then open devtools in chrome/chromium there's a little node icon that shows up in the top left corner. If you click on that you can get performance flame graphs / tables, memory profiling, and there's also a REPL for the process, as well as a list of loaded source files so you can set breakpoints through there if you like, as well as modify the files on the fly if you need something more for debugging. It can be very useful, and works pretty much the same as the normal web devtools. |
|
https://github.com/GoogleChromeLabs/ndb