Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic benchmark for query pushdowns #1689

Merged
merged 12 commits into from
Dec 28, 2022
Prev Previous commit
Next Next commit
wip
  • Loading branch information
noisersup committed Dec 27, 2022
commit 29bd23c1b94a7c3e6578f2f06c4b9c760db5f36c
3 changes: 0 additions & 3 deletions integration/benchmarks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ func BenchmarkPushdowns(b *testing.B) {

id := res.InsertedID

_, err = coll.InsertOne(ctx, bson.D{{"v", "foo"}})
require.NoError(b, err)

b.Run("ObjectID", func(b *testing.B) {
noisersup marked this conversation as resolved.
Show resolved Hide resolved
for i := 0; i < b.N; i++ {
cur, err := coll.Find(ctx, bson.D{{"_id", id}})
Expand Down