benchmark: add benchmark utility for isNativeError function #70881
Triggered via pull request
December 28, 2025 07:56
Status
Failure
Total duration
32m 26s
Artifacts
–
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/benchmark/test-benchmark-util.js#L0
--- stderr ---
(node:67804) [DEP0000] DeprecationWarning: This function is deprecated
(Use `node --trace-deprecation ...` to show where the warning was created)
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: benchmark file not running exactly one configuration in test:
util/deprecate.js
util/deprecate.js emitWarningSync=1 modifyPrototype=true n=1: 2,464.0677322938254
util/diff.js
util/diff.js scenario="identical" length=1 n=1: 2,514.14204902577
util/format.js
util/format.js type="string" n=1: 24,948.2324177332
util/get-callsite.js
util/get-callsite.js method="ErrorCallSites" n=1: 18,547.025984383403
util/inspect-array.js
util/inspect-array.js type="denseArray" len=1 n=1: 12,868.687908580841
util/inspect-proxy.js
util/inspect-proxy.js isProxy=0 showProxy=0 n=1: 9,991.706883286872
util/inspect.js
util/inspect.js option="showHidden" method="Object" n=1: 8,400.467065968867
util/is-native-error.js
util/is-native-error.js n=1 version="native" argument="true": 2,494.8045694840494
Elapsed(ms): 0.002
util/normalize-encoding.js
util/normalize-encoding.js n=1 input="": 40,609.137055837564
util/parse-env.js
util/parse-env.js n=1: 14,209.591474245115
util/priority-queue.js
util/priority-queue.js n=1: 31,372.549019607843
util/splice-one.js
util/splice-one.js size=1 pos="start" n=1: 32,967.39524610161
util/style-text.js
util/style-text.js n=1 validateStream=1 format="red" messageType="string": 1,500.93808630394
util/text-decoder.js
util/text-decoder.js type="SharedArrayBuffer" n=1 len=1 fatal=0 ignoreBOM=0 encoding="utf-8": 34,782.608695652176
util/text-encoder.js
util/text-encoder.js op="encode" type="one-byte-string" n=1 len=1: 39,932.91270665282
util/type-check.js
util/type-check.js n=1 argument="true" version="native" type="ArrayBufferView": 41,523.06606319811
3 !== 2
at ChildProcess.<anonymous> (/Users/runner/work/node/node/node/test/common/benchmark.js:48:16)
at ChildProcess.emit (node:events:508:20)
at ChildProcess._handle.onexit (node:internal/child_process:293:12) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: 3,
expected: 2,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/benchmark/test-benchmark-util.js
|
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|