You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
doc: console.time() Does Not Document PR #29251 Changes #35011
The current documentation for console.time states "...when calling console.timeEnd() to stop the timer and output the elapsed time in milliseconds to stdout". However, since the application of PR #29251 that affects Node.js V13 and higher, this behavior changed to "display timeEnd with suitable time unit". For example, if the elapsed time is 3869ms, console.timeEnd() now displays "3.869s". For greater values, it will also display hours and minutes per the code in lib/internal/console/constructor.js. In the examples for console.timeLog() and consooe.timeEnd(), none show anything other than milliseconds as an output.
I would like to work on this issue and
submit a pull request.
Activity
yashLadha commentedon Sep 3, 2020
Would like to take this up and sending a PR shortly.
doc: added details around console.timeEnd changes
doc: added details around console.timeEnd changes
doc: added details around console.timeEnd changes