• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2
3const { Worker } = require('worker_threads');
4const path = require('path');
5new Worker(path.join(__dirname, 'allocation.js'), {
6  execArgv: [
7    '--heap-prof',
8    '--heap-prof-interval',
9    process.HEAP_PROF_INTERVAL || '128',
10  ]
11});
12