Skip to content

rgrinberg/ocaml-json-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarking OCaml Json Implementations

To run:

If using esy

esy install
esy build
esy bench:read
esy bench:write

If using opam

opam install core core_bench ezjsonm yojson
dune build @all --profile=release
dune exec -- ./src/bench_read.exe
dune exec -- ./src/bench_write.exe

My results are available at my blog:

http://rgrinberg.com/posts/ocaml-json-benchmark/

TL;DR: yojson is faster

About

benchmarking OCaml json libraries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •