Skip to content

feature/Pre-initialize zip stores and pass them in to data loaders#2392

Merged
keller-mark merged 4 commits intomainfrom
nickakhmetov/http2-multiplexing
Jan 27, 2026
Merged

feature/Pre-initialize zip stores and pass them in to data loaders#2392
keller-mark merged 4 commits intomainfrom
nickakhmetov/http2-multiplexing

Conversation

@NickAkhmetov
Copy link
Copy Markdown
Collaborator

Fixes #2391

Background

This PR updates loader initialization to initialize zip-zarr stores at the top level and merges them into the stores prop. On config changes, the cache evicts irrelevant stores.

I've verified the impact of this change by running the same spatialdata visium config through my local instance and through vitessce.io and using Firefox dev tools to measure total time.

  • On localhost, the conf loaded in ~27 seconds across 5 runs
  • On vitessce.io, the conf loaded in ~30 seconds across 5 runs
  • All runs were performed with caching disabled in the browser

Change List

  • Added pre-initialization logic for zip-zarr stores to improve loading times.

Checklist

  • Have tested PR with one or more demo configurations
  • Documentation added, updated, or not applicable

Not opening this for final review yet since I'd like to update the original issue etc to reflect these findings.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 21, 2026

Size Change: 0 B

Total Size: 7.35 MB

Filename Size Change
./packages/main/prod/dist/higlass-********.js 0 B -3.57 MB (removed) 🏆
./packages/main/prod/dist/higlass-Cfc-mYNn.js 3.57 MB +3.57 MB (new file) 🆕
ℹ️ View Unchanged
Filename Size Change
./packages/main/prod/dist/blosc-********.js 612 kB 0 B
./packages/main/prod/dist/chunk-INHXZS53-********.js 558 B 0 B
./packages/main/prod/dist/deflate-********.js 0 B -208 B (removed) 🏆
./packages/main/prod/dist/index-********.js 145 kB 0 B
./packages/main/prod/dist/index.min.js 1.38 kB 0 B
./packages/main/prod/dist/jpeg-********.js 15.6 kB 0 B
./packages/main/prod/dist/lerc-********.js 89.3 kB 0 B
./packages/main/prod/dist/lz4-********.js 43.9 kB 0 B
./packages/main/prod/dist/lzw-********.js 2.07 kB 0 B
./packages/main/prod/dist/OrbitControls-********.js 229 kB 0 B
./packages/main/prod/dist/packbits-********.js 541 B 0 B
./packages/main/prod/dist/pako.esm-********.js 37.1 kB 0 B
./packages/main/prod/dist/raw-Jq-sQ2Ku.js 0 B -133 B (removed) 🏆
./packages/main/prod/dist/ReactNeuroglancer-********.js 1.67 MB 0 B
./packages/main/prod/dist/troika-three-text.esm-********.js 179 kB 0 B
./packages/main/prod/dist/webimage-********.js 801 B 0 B
./packages/main/prod/dist/zstd-********.js 754 kB 0 B
./packages/main/prod/dist/deflate-Cd-jR9uz.js 208 B +208 B (new file) 🆕
./packages/main/prod/dist/raw-********.js 133 B +133 B (new file) 🆕

compressed-size-action

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 27, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 13.25% 9158 / 69096
🔵 Statements 13.25% 9158 / 69096
🔵 Functions 48.53% 529 / 1090
🔵 Branches 67.34% 1398 / 2076
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/vit-s/src/VitS.js 0% 0% 0% 0% 1-373
Generated in workflow #4789 for commit 7e34442 by the Vitest Coverage Report Action

@keller-mark keller-mark marked this pull request as ready for review January 27, 2026 15:53
@keller-mark keller-mark merged commit 43281ce into main Jan 27, 2026
6 of 7 checks passed
@keller-mark keller-mark deleted the nickakhmetov/http2-multiplexing branch January 27, 2026 16:21
@github-actions github-actions bot mentioned this pull request Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve HTTP2 Multiplexing for zipped data stores

2 participants