Skip to content

Commit 2e87cdd

Browse files
evanlucasjuanarbol
authored andcommitted
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: #44727 Refs: #44135 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Daeyeon Jeong <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Darshan Sen <[email protected]>
1 parent 8d3cb6c commit 2e87cdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/fixtures/require-cachable.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
const { internalBinding } = require('internal/test/binding');
44
const {
5-
moduleCategories: { canBeRequired }
6-
} = internalBinding('native_module');
5+
builtinCategories: { canBeRequired }
6+
} = internalBinding('builtins');
77

88
for (const key of canBeRequired) {
99
require(`node:${key}`);

0 commit comments

Comments
 (0)