single_test.go 678 B

1234567891011121314
  1. // Copyright (C) MongoDB, Inc. 2017-present.
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License"); you may
  4. // not use this file except in compliance with the License. You may obtain
  5. // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
  6. package benchmark
  7. import "testing"
  8. func BenchmarkSingleRunCommand(b *testing.B) { WrapCase(SingleRunCommand)(b) }
  9. func BenchmarkSingleFindOneByID(b *testing.B) { WrapCase(SingleFindOneByID)(b) }
  10. func BenchmarkSingleInsertSmallDocument(b *testing.B) { WrapCase(SingleInsertSmallDocument)(b) }
  11. func BenchmarkSingleInsertLargeDocument(b *testing.B) { WrapCase(SingleInsertLargeDocument)(b) }