mongodb/bson-ruby

View on GitHub
perf/bench.rb

Summary

Maintainability
B
4 hrs
Test Coverage

Method benchmark! has 122 lines of code (exceeds 25 allowed). Consider refactoring.
Open

def benchmark!
  count = 1_000_000
  Benchmark.bm do |bench|

    document = BSON::Document.new(field1: 'testing', field2: 'testing')
Severity: Major
Found in perf/bench.rb - About 4 hrs to fix

    There are no issues that match your filters.

    Category
    Status