MCPcopy Index your code
hub / github.com/nodejs/node / binding

Function binding

benchmark/common.js:435–443  ·  view source on GitHub ↗
(bindingName)

Source from the content-addressed store, hash-verified

433 PORT: http_benchmarkers.PORT,
434 bakeUrlData,
435 binding(bindingName) {
436 try {
437 const { internalBinding } = require('internal/test/binding');
438
439 return internalBinding(bindingName);
440 } catch {
441 return process.binding(bindingName);
442 }
443 },
444 buildType: process.features.debug ? 'Debug' : 'Release',
445 createBenchmark(fn, configs, options) {
446 return new Benchmark(fn, configs, options);

Callers 5

test.jsFile · 0.85
test.jsFile · 0.85
test.jsFile · 0.85

Calls 1

requireFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…