patrickfreed / raw-bson-benchmarks

Benchmarking performance gains stemming from the raw BSON API included in bson and mongodb v2.2.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raw BSON Benchmarks

This repo contains some benchmarks demonstrating how to leverage the raw BSON API in the bson crate to improve the performance of reads using the MongoDB Rust driver (mongodb).

Running the benchmarks

  1. Start up a mongod on the default port (localhost:27017).
  2. Run cargo bench

About

Benchmarking performance gains stemming from the raw BSON API included in bson and mongodb v2.2.0


Languages

Language:Rust 100.0%