mirror of https://github.com/nodejs/node.git
15 lines
291 B
JavaScript
15 lines
291 B
JavaScript
'use strict';
|
|
|
|
const common = require('../../common');
|
|
|
|
const binding = require(`./build/${common.buildType}/binding`);
|
|
|
|
// Create an AsyncWrap object.
|
|
const timer = setTimeout(common.mustNotCall(), 1);
|
|
timer.unref();
|
|
|
|
// Stress-test the heap profiler.
|
|
binding.test();
|
|
|
|
clearTimeout(timer);
|