Skip to content

Commit f8e9dd8

Browse files
evanlucasguangwong
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: nodejs/node#44727 Refs: nodejs/node#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 b54d100 commit f8e9dd8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/fixtures/require-cachable.js

Lines changed: 2 additions & 2 deletions
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)