File: README.md

package info (click to toggle)
yojson 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,204 kB
  • sloc: ml: 3,436; makefile: 28
file content (20 lines) | stat: -rw-r--r-- 642 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Benchmark for Yojson
====================

These benchmarks require `Core_bench` which is not a dependency of Yojson,
because it is not part of the regular installation/testing flow. This is solely
meant for developers that are worried about performance changes in Yojson.

This is also why it is deemed appropriate to depend on a benchmarking library
with this many dependencies: we rather spend time writing benchmarks than to
build a benchmarking library if a perfectly good one already exists in OCaml.

Install
-------

`opam install core_benchmark`

Running the benchmark
---------------------

`make bench` in the top level directory.