---
title: "Comment by Shivam on \"10 Incredible hacks that every JavaScript developer should know !!\" | Hashnode"
description: "Hi hardeep, I wasn&#39;t aware of the performance module. That looks really promising. Though to measure time between two points, one can also use console.time,"
url: "https://hashnode.com/posts/10-incredible-hacks-that-every-javascript-developer-should-know/60a61cad4e7f9549fc3304ba/comment/60a633dbb4e16849d76dc34c"
---

[Discussion](https://hashnode.com/posts/10-incredible-hacks-that-every-javascript-developer-should-know/60a61cad4e7f9549fc3304ba)

Comment [10 Incredible hacks that every JavaScript developer should know !!](https://hashnode.com/posts/10-incredible-hacks-that-every-javascript-developer-should-know/60a61cad4e7f9549fc3304ba)

[Shivam](https://hashnode.com/@varUndefined)

[May 20, 2021](https://hashnode.com/posts/10-incredible-hacks-that-every-javascript-developer-should-know/60a61cad4e7f9549fc3304ba/comment/60a633dbb4e16849d76dc34c)

Hi hardeep,

I wasn't aware of the performance module. That looks really promising. Though to measure time between two points, one can also use console.time, and it directly outputs the difference.

![image.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1621504884340/ca25CpHp4h.png)

Cheers Shivam

[Learn with HJ](https://hashnode.com/@hardeepjethwani)

[May 20, 2021](https://hashnode.com/posts/10-incredible-hacks-that-every-javascript-developer-should-know/60a61cad4e7f9549fc3304ba/comment/60a633dbb4e16849d76dc34c#reply-60a63cdab4e16849d76dc544)

[Shivam](https://hashnode.com/@varUndefined) Thanks to share this :)

Now we have a one more hack here :D
