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

/BulkOperation/numerous tests are time-consuming

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.10.0
    • 1.9.0
    • libmongoc, tests
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: