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() depending on the environment. Applications can retrieve all recorded measurement entries in chronological order. Stored marks and measurements can also be cleared programmatically. Its tiny footprint makes it useful for adding precise instrumentation without adopting a larger performance-monitoring framework.

Features

  • High-resolution JavaScript timing
  • User Timing API integration
  • Browser and Node.js support
  • Automatic timing API fallbacks
  • Performance entry retrieval
  • Programmatic measurement cleanup

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow marky

marky Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of marky!

Additional Project Details

Operating Systems

Windows

Programming Language

JavaScript

Related Categories

JavaScript Data Visualization Software

Registered

15 hours ago