Liking cljdoc? Tell your friends :D

Benchmark

This contains the original benchmarks from Datascript, with code for Datalevin added.

To run the benchmarks, you need to have both leiningen and Clojure CLI installed on your system already. Then run these commands in the project root directory.

lein javac
cd bench
./bench.clj

If you are on a version of JVM newer than JDK 8, you may get some warnings. Please ignore them.

Some of the benchmarks are commented out for they take a long time to run. You can uncomment the appropriate lines in default-benchmarks in bench.clj to run them.

You can also comment out the appropriate line to run the same benchmark for DataScript. For more comparisons with other alternatives, you may also consult this fork.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close