Skip to content
Permalink
Browse files
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>
  • Loading branch information
evanlucas authored and RafaelGSS committed Sep 26, 2022
1 parent 10a0d75 commit f497368679d9fb45c72ff8846d1a7812b83ed25e
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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}`);

0 comments on commit f497368

Please sign in to comment.