test(tests): R4.3d browser proofs on the production build: app import baseline on the Rust path, CSP with and without the keyword, leak series, WebKit repetition
Same perimeter as the TS baseline (226 files, 3 engines, real Home page): 666/678 outcome and message agreements, the 12 others the 4 declared files; W5 0 long tasks (TS 91 and 173 ms); 50 MiB file in WebKit 145/126 MiB against 324 with the worker read and 76 for the TS. CSP: editor opens with the keyword, the engine message without, in 3 engines, the worker's wasm-eval refusal reported by Chromium and Firefox. Leak series on the app: Chromium ≤ 2 MiB per import after init, Firefox GC sawtooth reclaimed, WebKit grows with same-tab navigations (control too) and levels off on one page; 20/20 WebKit workers closed.
This commit is contained in:
1 parent
8ddf185aa6
commit
08f01ef363
17 files changed
+26759
-28
No files matched your search
@@ -22,6 +22,7 @@
|
||||
// [--read stream|arrayBuffer] [--scratch <dir>] [--out <file>]
|
||||
import { tmpdir } from 'node:os'
|
||||
import { join } from 'node:path'
|
||||
import { pathToFileURL } from 'node:url'
|
||||
import { parseArgs } from 'node:util'
|
||||
import { delay } from './lib/async.mjs'
|
||||
import { memAvailableBytes } from './lib/host.mjs'
|
||||
@@ -114,7 +115,7 @@ async function startLevel(session, tab, item) {
|
||||
}
|
||||
|
||||
/** Init, per-import, recurring and final deltas of one level list. */
|
||||
function deltasOf(levels, imports) {
|
||||
export function deltasOf(levels, imports) {
|
||||
const last = imports + 1
|
||||
const at = (i) => levels[i]
|
||||
const perImport = []
|
||||
@@ -332,4 +333,4 @@ async function main() {
|
||||
}
|
||||
}
|
||||
|
||||
await main()
|
||||
if (import.meta.url === pathToFileURL(process.argv[1]).href) await main()
|
||||
Reference in new issue
Block a user