How to use the gc-profiler.removeListener function in gc-profiler

To help you get started, we’ve selected a few gc-profiler 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 cjihrig / toolbag / plugins / gc.js View on Github external
function stop () {
  if (!running) {
    return;
  }

  running = false;
  clearEvents();
  Gc.removeListener('gc', gcEventHandler);
}

gc-profiler

Allows you to profile when the garbage collector runs, and how long it takes.

MIT
Latest version published 3 years ago

Package Health Score

51 / 100
Full package analysis

Popular gc-profiler functions