url, querystring: optimize serialization and encoding performance #72621
Annotations
2 errors and 1 notice
|
test-macOS
Process completed with exit code 2.
|
|
test-macOS:
test/benchmark/test-benchmark-url.js#L0
--- stderr ---
(node:83347) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:83490) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:83917) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
(Use `node --trace-deprecation ...` to show where the warning was created)
node:internal/modules/cjs/loader:1458
throw err;
^
Error: Cannot find module 'internal/querystring'
Require stack:
- /Users/runner/work/node/node/node/benchmark/url/url-encodeStr.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1455:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1065:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1070:22)
at Module._load (node:internal/modules/cjs/loader:1241:25)
at wrapModuleLoad (node:internal/modules/cjs/loader:255:19)
at Module.require (node:internal/modules/cjs/loader:1555:12)
at require (node:internal/modules/helpers:190:16)
at Object.<anonymous> (/Users/runner/work/node/node/node/benchmark/url/url-encodeStr.js:4:23)
at Module._compile (node:internal/modules/cjs/loader:1811:14)
at Object..js (node:internal/modules/cjs/loader:1951:10) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/runner/work/node/node/node/benchmark/url/url-encodeStr.js'
]
}
Node.js v26.0.0-pre
node:internal/process/promises:330
new UnhandledPromiseRejection(reason);
^
UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "1".
at throwUnhandledRejectionsMode (node:internal/process/promises:330:7)
at processPromiseRejections (node:internal/process/promises:413:17)
at process.processTicksAndRejections (node:internal/process/task_queues:105:32) {
code: 'ERR_UNHANDLED_REJECTION'
}
Node.js v26.0.0-pre
node:internal/assert/utils:146
throw error;
^
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
1 !== 0
at ChildProcess.<anonymous> (/Users/runner/work/node/node/node/test/common/benchmark.js:28:12)
at ChildProcess.emit (node:events:508:20)
at ChildProcess._handle.onexit (node:internal/child_process:293:12) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 1,
expected: 0,
operator: 'strictEqual',
diff: 'simple'
}
Node.js v26.0.0-pre
Command: out/Release/node /Users/runner/work/node/node/node/test/benchmark/test-benchmark-url.js
|
|
sccache stats
79% - 3843 hits, 1020 misses, 0 errors
|