Skip to content

ShironCat/bson-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributors