DEV Community

yeonseong
yeonseong

Posted on

2 1

How to check running time in javascript

Code

console.time('timer name');
// something you want to check performace
console.timeEnd('timer name');
Enter fullscreen mode Exit fullscreen mode

Example screenshot

Example screenshot

Top comments (1)

Collapse
 
kth2624 profile image
Intra id : tkim

짧지만 유용하네요 감사합니다.

Qodo Takeover

Introducing Qodo Gen 1.0: Transform Your Workflow with Agentic AI

Rather than just generating snippets, our agents understand your entire project context, can make decisions, use tools, and carry out tasks autonomously.

Read full post

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay