Add compression diff viewer to Vortex Web - #9603
Conversation
e2ef6ee to
7996032
Compare
Merging this PR will degrade performance by 7.63%
|
| Mode | Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|---|
| ❌ | WallTime | arrow_checked_add_u32_avx512[16384] |
17.6 µs | 21.2 µs | -17.06% |
| ❌ | WallTime | words_gather_scalar_avx2[65536] |
8.2 µs | 9.4 µs | -12.48% |
| ❌ | Simulation | cold_misaligned[(16, 64)] |
347.3 µs | 388.7 µs | -10.65% |
| ⚡ | WallTime | mul_u32_nonnull_avx512 |
6.3 µs | 5.6 µs | +12.27% |
Tip
Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.
Comparing ji/compression-diff-viewer (f1e802d) with ji/streaming-array-tree (591d234)2
Footnotes
-
106 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
-
No successful run was found on
ji/streaming-array-tree(f1e802d) during the generation of this report, so 2ee7b20 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩
7996032 to
c967e90
Compare
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
c967e90 to
f1e802d
Compare
f1e802d
into
ji/streaming-array-tree
Summary
Add an interactive compression-output comparison to Vortex Web. The viewer compares whole-file, data, and metadata sizes, then semantically aligns layout and array-encoding trees so an inserted field does not make every following field appear changed.
The Explorer remains a static application. Hash routes provide shareable links for an individual HTTP(S) Vortex file or a baseline/candidate pair, and either comparison side can be opened in the normal explorer or replaced with another local file.
Array encoding trees are streamed from the decoded array into JSON one node at a time through the traversal introduced by #9612. The WASM bridge no longer constructs a recursive Rust JSON tree before serialization.
Stack
Changes
Checks
npm run wasmnpm testnpm run format:checknpm run lintnpm run typecheckcargo test -p vortex-web-wasmcargo check -p vortex-web-wasm --target wasm32-unknown-unknowncargo clippy -p vortex-utils -p vortex-array -p vortex-web-wasm --all-targets --all-featuresgit diff --checkWorkspace-wide Clippy was also attempted, but the unrelated
vortex-nvcompbuild script could not download NVIDIA nvCOMP.