mirror of
https://github.com/nodejs/node.git
synced 2024-11-21 10:59:27 +00:00
benchmark: fix startup benchmark
This allows the misc/startup benchmark to run again after the renaming of the C++ `native_module` to `builtins` PR-URL: https://github.com/nodejs/node/pull/44727 Refs: https://github.com/nodejs/node/pull/44135 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Darshan Sen <raisinten@gmail.com>
This commit is contained in:
parent
62e182c89c
commit
962b9abbe3
@ -2,8 +2,8 @@
|
||||
|
||||
const { internalBinding } = require('internal/test/binding');
|
||||
const {
|
||||
moduleCategories: { canBeRequired }
|
||||
} = internalBinding('native_module');
|
||||
builtinCategories: { canBeRequired }
|
||||
} = internalBinding('builtins');
|
||||
|
||||
for (const key of canBeRequired) {
|
||||
require(`node:${key}`);
|
||||
|
Loading…
Reference in New Issue
Block a user