Skip to content

Port to JavaScript

Compare
Choose a tag to compare
@aboodman aboodman released this 03 Sep 01:47
· 3 commits to main since this release

This release ports the internals of Replicache from Rust to pure JavaScript.

This release reduces the replicache package size by over 83% (brotli compressed, Replicache is now just 32kb) and improves performance on most of our benchmarks.

However, this is just the beginning because there are many further opportunities being in JS opens up to both improve performance and further reduce package size.

In the below images, the red line is the last Rust commit.

Screen Shot 2021-09-02 at 3 42 30 PM

Screen Shot 2021-09-02 at 3 35 56 PM

Screen Shot 2021-09-02 at 3 41 40 PM

Screen Shot 2021-09-02 at 3 43 39 PM

Screen Shot 2021-09-02 at 3 44 42 PM

Screen Shot 2021-09-02 at 3 45 16 PM