Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2343

/BulkOperation/numerous tests are time-consuming

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.10.0
    • Affects Version/s: 1.9.0
    • Component/s: libmongoc, Testing
    • Labels:
      None

      The tests /BulkOperation/numerous_ordered and /BulkOperation/numerous_unordered each execute 3 bulk operations that are over 4 times the max batch size. That was a bit time-consuming when the max batch size was 1000, but with 3.6's batch size of 100k, the two tests take almost a minute each to do 100k * 4 * 3 = 1.2 M operations.

      Is it expected that each test takes almost a minute to do 1.2 M operations? Seems slow compared to my rule of thumb that a driver can do 50k simple operations per second on localhost, that should take less than 30 seconds.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: