Skip to content

perf: implement lazy load for eszip entities #343

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 31 commits into from
Aug 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
bd9f2b9
chore: add `sb_eszip_shared` crate
nyannyacha May 16, 2024
910b240
chore: update and patch dependencies
nyannyacha May 15, 2024
cff39f5
stamp: prepare to implement lazy load for eszip entities
nyannyacha May 15, 2024
23f781c
feat: implement lazy load for eszip entities
nyannyacha May 16, 2024
6d91594
refactor: optimize vfs data structure for lazy loading
nyannyacha May 17, 2024
87caed9
stamp: add supabase eszip version data
nyannyacha May 19, 2024
1653836
stamp: reduce vfs content specifier key length
nyannyacha May 19, 2024
69cff9c
stamp: using `rkyv` to serialize/deserialize vfs data instead of `ser…
nyannyacha May 19, 2024
1f544fc
stamp: support for v0 to v1 migration
nyannyacha May 20, 2024
5e1ec63
stamp: vfs data in eszip can be null
nyannyacha May 21, 2024
0c20177
stamp: allow partial load when invoking `read_data_section_all`
nyannyacha May 22, 2024
c0aa023
stamp: source maps should also be loaded
nyannyacha Jun 7, 2024
6a6783e
stamp: resolve conflicts
nyannyacha Jun 12, 2024
0c41e87
chore: update dependency
nyannyacha Jun 12, 2024
b06dc6b
fix(sb_graph): rid 1.77.2 clippy lint
nyannyacha Jun 14, 2024
3e170c3
chore: update dependencies
nyannyacha Jun 17, 2024
3309822
stamp: change the mount point for the static files to be relative to …
nyannyacha Jun 17, 2024
045e56f
stamp(base): update test case scripts
nyannyacha Jun 17, 2024
96028f4
stamp: update example script
nyannyacha Jun 17, 2024
bf8cee5
stamp: add a new example for `import.meta.dirname`
nyannyacha Jun 17, 2024
9519bdb
stamp(base): move test contents into each test directory
nyannyacha Jun 18, 2024
2d02666
stamp(base): add test contents for testing eszip backward compatibility
nyannyacha Jun 18, 2024
1b0123f
stamp: expose logs
nyannyacha Jun 18, 2024
8065a13
chore: add dependency
nyannyacha Jun 18, 2024
b1079b7
stamp(sb_graph): add unit tests for eszip migration
nyannyacha Jun 18, 2024
3047c27
refactor(base): rework the runtime creation logic with the builder pa…
nyannyacha Jun 20, 2024
192fe3f
stamp(base): add a unit test that loads the corrupted eszip binary
nyannyacha Jun 20, 2024
dc2e88b
chore: update dependency
nyannyacha Jun 21, 2024
36fdbef
chore: update `Cargo.lock`
nyannyacha Jul 30, 2024
6d8d7e8
stamp: source length could be zero, even if the source map length is …
nyannyacha Aug 5, 2024
3bf2f40
stamp: set the source map offset correctly
nyannyacha Aug 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 145 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,14 @@ http = "0.2"
faster-hex = "0.9.0"
tracing = "0.1"
tracing-subscriber = "0.3"
sha2 = "0.10"
rkyv = "0.7"
tempfile = "3"

[patch.crates-io]
# TODO(Nyannyacha): Patch below is temporary. Clean the line in the Deno 1.44 update.
deno_core = { git = "https://github.com/supabase/deno_core", branch = "278-supabase" }
eszip = { git = "https://github.com/supabase/eszip", branch = "fix-pub-vis-0-68-2" }

[profile.dind]
inherits = "dev"
Expand Down
Loading