This is a synthetic benchmark to asses the relative benefit of kdb+
over the latest mongodb
given a real-life, combinatorial protein mutagenesis scenario.
The benchmark.py
contains two adjustable parameters:
sequence
- the starting amino acid sequenceN
- the number of mutants to be generated
Python:pymongo
, numpy
Docker: mongo:latest
- Pull the latest MongoDB from
docker
;docker pull mongo
. - Run a single-instance container
docker run -p 27017:27017 mongo
. - Run
python benchmark.py
.