marky
High-resolution JavaScript timer based on performance.mark/measure
Marky is a very small JavaScript library for measuring execution time with high-resolution browser and Node.js timing APIs. It wraps performance.mark() and performance.measure() behind a simple start-and-stop interface. Recorded measurements appear as standard Performance Timeline entries, allowing browser developer tools and compatible profiling software to visualize them. When the User Timing API is unavailable, Marky falls back to performance.now(), Date.now(), or process.hrtime()...