SHi 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. Cheers ShivamComment·Article·May 20, 2021·10 Incredible hacks that every JavaScript developer should know !!