How to use the marky.clear function in marky

To help you get started, we’ve selected a few marky examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github GoogleChrome / lighthouse / lighthouse-logger / index.js View on Github external
Log.takeTimeEntries = _ => {
  const entries = marky.getEntries();
  marky.clear();
  return entries;
};

marky

Performance timer based on performance.mark() and measure()

Apache-2.0
Latest version published 2 years ago

Package Health Score

67 / 100
Full package analysis