1

Is it possible to see execution time like the image bellow, but in Node without the gibberish in vscode javascript debugger or without using the console.time('debug') and console.timeEnd('debug') functions ?

source test function performance

Edit 1 : Something like this is gibberish to me, too hard to read. I take the chart as an exemple here but top down or bottom up views are the same to me. enter image description here

1 Answers1

0

You can use both of this tools:

  • Execution profiler for nodejs: sample
  • ExecTimer, nodejs package: via npm
Amir
  • 1,214
  • 7
  • 10
  • Execution profiler are not what i asked for and ExecTimer need to write code in that case why not just write `console.time()` as it seem 100% faster and easier. – Gérard Le Cloerec Mar 22 '21 at 09:44
  • So you want to do something automatically. I guess there is no way to do nothing and gain something :). That plugin of Vscode is written by someone and is implemented by some lines of code! – Amir Mar 22 '21 at 11:29