benchmark: add benchmark utility for isNativeError function #1870
test-shared.yml
on: pull_request
Build slim tarball
1m 26s
Matrix: build
Annotations
8 errors
|
aarch64-darwin: with shared libraries
Process completed with exit code 2.
|
|
aarch64-darwin: with shared libraries:
test/benchmark/test-benchmark-util.js#L0
--- stderr ---
(node:35104) [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,027.8833967046896
util/diff.js
util/diff.js scenario="identical" length=1 n=1: 914.2155025351196
util/format.js
util/format.js type="string" n=1: 17,764.829191167326
util/get-callsite.js
util/get-callsite.js method="ErrorCallSites" n=1: 15,286.546310592048
util/inspect-array.js
util/inspect-array.js type="denseArray" len=1 n=1: 11,510.791366906475
util/inspect-proxy.js
util/inspect-proxy.js isProxy=0 showProxy=0 n=1: 7,731.978690666729
util/inspect.js
util/inspect.js option="showHidden" method="Object" n=1: 7,297.033026371477
util/is-native-error.js
util/is-native-error.js n=1 version="native" argument="true": 2,247.191011235955
Elapsed(ms): 0.002
util/normalize-encoding.js
util/normalize-encoding.js n=1 input="": 35,138.26908886468
util/parse-env.js
util/parse-env.js n=1: 13,223.140495867769
util/priority-queue.js
util/priority-queue.js n=1: 28,811.80131381814
util/splice-one.js
util/splice-one.js size=1 pos="start" n=1: 33,241.36555529701
util/style-text.js
util/style-text.js n=1 validateStream=1 format="red" messageType="string": 1,435.4925533823794
util/text-decoder.js
util/text-decoder.js type="SharedArrayBuffer" n=1 len=1 fatal=0 ignoreBOM=0 encoding="utf-8": 28,776.97841726619
util/text-encoder.js
util/text-encoder.js op="encode" type="one-byte-string" n=1 len=1: 37,094.73996587284
util/type-check.js
util/type-check.js n=1 argument="true" version="native" type="ArrayBufferView": 37,677.55548020045
3 !== 2
at ChildProcess.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2025-12-28dd8540098b-slim/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/_temp/node-v26.0.0-nightly2025-12-28dd8540098b-slim/test/benchmark/test-benchmark-util.js
|
|
aarch64-linux: with shared libraries
Process completed with exit code 2.
|
|
aarch64-linux: with shared libraries:
test/benchmark/test-benchmark-util.js#L0
--- stderr ---
(node:108618) [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: 731.0620211086848
util/diff.js
util/diff.js scenario="identical" length=1 n=1: 1,070.814000678896
util/format.js
util/format.js type="string" n=1: 9,724.31565128604
util/get-callsite.js
util/get-callsite.js method="ErrorCallSites" n=1: 9,933.74194125185
util/inspect-array.js
util/inspect-array.js type="denseArray" len=1 n=1: 5,119.436452435316
util/inspect-proxy.js
util/inspect-proxy.js isProxy=0 showProxy=0 n=1: 2,625.5884600136005
util/inspect.js
util/inspect.js option="showHidden" method="Object" n=1: 3,803.0911524887433
util/is-native-error.js
util/is-native-error.js n=1 version="native" argument="true": 628.4371584836816
Elapsed(ms): 0.005
util/normalize-encoding.js
util/normalize-encoding.js n=1 input="": 25,954.47584936022
util/parse-env.js
util/parse-env.js n=1: 4,234.417344173442
util/priority-queue.js
util/priority-queue.js n=1: 15,039.629423531005
util/splice-one.js
util/splice-one.js size=1 pos="start" n=1: 17,418.56819369448
util/style-text.js
util/style-text.js n=1 validateStream=1 format="red" messageType="string": 994.1711744044666
util/text-decoder.js
util/text-decoder.js type="SharedArrayBuffer" n=1 len=1 fatal=0 ignoreBOM=0 encoding="utf-8": 20,397.756246812853
util/text-encoder.js
util/text-encoder.js op="encode" type="one-byte-string" n=1 len=1: 25,369.764314889515
util/type-check.js
util/type-check.js n=1 argument="true" version="native" type="ArrayBufferView": 20,050.92936057586
3 !== 2
at ChildProcess.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-12-28dd8540098b-slim/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 /home/runner/work/_temp/node-v26.0.0-nightly2025-12-28dd8540098b-slim/test/benchmark/test-benchmark-util.js
|
|
x86_64-linux: with shared libraries
Process completed with exit code 2.
|
|
x86_64-linux: with shared libraries:
test/benchmark/test-benchmark-util.js#L0
--- stderr ---
(node:108834) [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: 810.9471375998884
util/diff.js
util/diff.js scenario="identical" length=1 n=1: 1,268.095726010165
util/format.js
util/format.js type="string" n=1: 10,283.516551319888
util/get-callsite.js
util/get-callsite.js method="ErrorCallSites" n=1: 10,124.634247587806
util/inspect-array.js
util/inspect-array.js type="denseArray" len=1 n=1: 6,309.5065334940155
util/inspect-proxy.js
util/inspect-proxy.js isProxy=0 showProxy=0 n=1: 6,002.292875878586
util/inspect.js
util/inspect.js option="showHidden" method="Object" n=1: 4,300.039560363955
util/is-native-error.js
util/is-native-error.js n=1 version="native" argument="true": 221.4245035441206
Elapsed(ms): 0.004
util/normalize-encoding.js
util/normalize-encoding.js n=1 input="": 23,534.395519051093
util/parse-env.js
util/parse-env.js n=1: 4,878.6913398350025
util/priority-queue.js
util/priority-queue.js n=1: 13,277.391258165597
util/splice-one.js
util/splice-one.js size=1 pos="start" n=1: 21,043.328212790133
util/style-text.js
util/style-text.js n=1 validateStream=1 format="red" messageType="string": 1,066.6746311705795
util/text-decoder.js
util/text-decoder.js type="SharedArrayBuffer" n=1 len=1 fatal=0 ignoreBOM=0 encoding="utf-8": 19,271.907340669506
util/text-encoder.js
util/text-encoder.js op="encode" type="one-byte-string" n=1 len=1: 21,705.157145337733
util/type-check.js
util/type-check.js n=1 argument="true" version="native" type="ArrayBufferView": 22,906.358805204327
3 !== 2
at ChildProcess.<anonymous> (/home/runner/work/_temp/node-v26.0.0-nightly2025-12-28dd8540098b-slim/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 /home/runner/work/_temp/node-v26.0.0-nightly2025-12-28dd8540098b-slim/test/benchmark/test-benchmark-util.js
|
|
x86_64-darwin: with shared libraries
Process completed with exit code 2.
|
|
x86_64-darwin: with shared libraries:
test/benchmark/test-benchmark-util.js#L0
--- stderr ---
(node:59014) [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: 1,025.7462303826032
util/diff.js
util/diff.js scenario="identical" length=1 n=1: 918.135377225101
util/format.js
util/format.js type="string" n=1: 8,848.539548547513
util/get-callsite.js
util/get-callsite.js method="ErrorCallSites" n=1: 6,900.120752113161
util/inspect-array.js
util/inspect-array.js type="denseArray" len=1 n=1: 5,163.235696546311
util/inspect-proxy.js
util/inspect-proxy.js isProxy=0 showProxy=0 n=1: 3,914.338613776123
util/inspect.js
util/inspect.js option="showHidden" method="Object" n=1: 3,685.046450010502
util/is-native-error.js
util/is-native-error.js n=1 version="native" argument="true": 614.9206813813087
Elapsed(ms): 0.016
util/normalize-encoding.js
util/normalize-encoding.js n=1 input="": 9,716.190087542873
util/parse-env.js
util/parse-env.js n=1: 5,827.200205117447
util/priority-queue.js
util/priority-queue.js n=1: 13,337.60136577038
util/splice-one.js
util/splice-one.js size=1 pos="start" n=1: 8,818.96430083251
util/style-text.js
util/style-text.js n=1 validateStream=1 format="red" messageType="string": 445.28553935210954
util/text-decoder.js
util/text-decoder.js type="SharedArrayBuffer" n=1 len=1 fatal=0 ignoreBOM=0 encoding="utf-8": 11,165.574301314187
util/text-encoder.js
util/text-encoder.js op="encode" type="one-byte-string" n=1 len=1: 14,466.546112115733
util/type-check.js
util/type-check.js n=1 argument="true" version="native" type="ArrayBufferView": 14,861.04919007282
3 !== 2
at ChildProcess.<anonymous> (/Users/runner/work/_temp/node-v26.0.0-nightly2025-12-28dd8540098b-slim/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/_temp/node-v26.0.0-nightly2025-12-28dd8540098b-slim/test/benchmark/test-benchmark-util.js
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
tarballs
|
47.8 MB |
sha256:7f3c71732fe535ee07d1db7cad107fcdc584b80aff66bb20e77939bf52e71030
|
|