mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
5a94df4b53
It's now runtime-deprecated. Remove it from the benchmark. This also gets rid of the warning emitted when the fixture is loaded. PR-URL: https://github.com/nodejs/node/pull/50689 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
44 lines
522 B
JavaScript
44 lines
522 B
JavaScript
'use strict';
|
|
|
|
const list = [
|
|
'async_hooks',
|
|
'assert',
|
|
'buffer',
|
|
'child_process',
|
|
'console',
|
|
'constants',
|
|
'crypto',
|
|
'cluster',
|
|
'dgram',
|
|
'dns',
|
|
'domain',
|
|
'events',
|
|
'fs',
|
|
'http',
|
|
'http2',
|
|
'https',
|
|
'module',
|
|
'net',
|
|
'os',
|
|
'path',
|
|
'perf_hooks',
|
|
'process',
|
|
'querystring',
|
|
'readline',
|
|
'repl',
|
|
'stream',
|
|
'string_decoder',
|
|
'timers',
|
|
'tls',
|
|
'tty',
|
|
'url',
|
|
'util',
|
|
'vm',
|
|
'zlib',
|
|
];
|
|
|
|
for (let i = 0; i < list.length; ++i) {
|
|
const item = list[i];
|
|
require(item);
|
|
}
|