Computer scienceBackendNode.jsCore ConceptsInternal modulesConsole

Console module

Console timers

Report a typo

Sort the following steps in the correct order of operation to measure the execution time of a code block in Node.js.

Put the items in the correct order
Use console.timeEnd() to stop the timer and log the elapsed time.
Use console.time() to start the timer.
Execute the block of code.
___

Create a free account to access the full topic