Skip to content

Commit f497368

Browse files
evanlucasRafaelGSS
authored andcommittedSep 26, 2022
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 <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>
1 parent 10a0d75 commit f497368

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)