-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The intent here is to use this with https://github.com/phiresky/sql.js-httpvfs. There are major missing pieces: - the python sqlite on my system doesn't have the fts5 extension availible, so while sql.js-httpvfs theoretically supports full-text search, it is not availible - the sql.js-httpvfs VFS needs to be modified to download the index file and map between the index & the gzipped data, and use the Compression Streams API to decompress each chunk - no work was done on the frontend portion of jlcparts Quick benchmarks: - gzip, page_size=1024: (sqlite3=537M, gzindex= 4.2M, gzparts=172M) - gzip, page_size=4096: (sqlite3=634M, gzindex= 1.3M, gzparts=117M) - gzip, page_size=8192: (sqlite3=545M, gzindex= 257K, gzparts= 76M) - gzip, page_size=16384: (sqlite3=513M, gzindex= 257K, gzparts= 56M) - zstd, page_size=1024: (sqlite3=537M, zstindex=4.3M, zstparts=81M) - zstd, page_size=2048: (sqlite3=566M, zstindex=4.5M, zstparts=85M) - zstd, page_size=4096: (sqlite3=634M, zstindex=5.1M, zstparts=84M) - zstd, page_size=8192: (sqlite3=545M, zstindex=4.4M, zstparts=86M) - zstd, page_size=16384: (sqlite3=513M, zstindex=4.1M, zstparts=82M)
- Loading branch information
Showing
1 changed file
with
236 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters