Module: workloads/agg_out

Measure performance of aggregation's $merge stage against the BestBuy Developer API data.

Pre-requisite

The dataset must be installed on the target cluster before running the test. The data can be downloaded from here and installed using mongorestore (mongorestore --gzip --archive=bestbuyproducts.bson.gz)

Setup

None

Test

The tests use a simple for loop to repeatedly run a specific pipeline ending in $merge, reporting the throughput in documents processed per second.

Owning-team

mongodb/product-query

Source: