Skip to content

A small webassembly benchmark designed to run in a browser to test the difference in performance when serializing and deserializing BSON compared to JSON.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT
Notifications You must be signed in to change notification settings

ShironCat/bson-benchmark

Repository files navigation

BSON Benchmark

A small webassembly benchmark designed to run in a browser to test the difference in performance when serializing and deserializing BSON compared to JSON.

Requirements

Running

Compile to a WASM module:

wasm-pack build --target no-modules --release

Execute the HTTP server:

basic-http-server

While the server is running open http://localhost:4000. The results will show on the browser's console, after freezing the tab for around 20 seconds.

About

A small webassembly benchmark designed to run in a browser to test the difference in performance when serializing and deserializing BSON compared to JSON.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE_APACHE
MIT
LICENSE_MIT

Stars

Watchers

Forks