Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2110

Performance regression between 2.13 and 3.2 drivers

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.2.0
    • None

      We did some benchmarks before upgrading from the 2.13.2 to 3.2.1 and we noticed an important performance gap between the 2.

      For writing 1 Million documents we noticed a gap of around 5% in favor of the 2.13.2 driver (Using the old com.mongodb.BasicDBObject API or the new CRUD API that uses org.bson.Document).

      For reading 10 Million documents we noticed a even bigger gap of around 143% using the old API and around 50% for the new API, always in favor of the 2.13.2 driver.

      What do you think of the benchmarks and do you have your own benchmarks ? Or maybe best practices for the New API.

        1. mongo_10M_bench.jpeg.png
          23 kB
          Abbass Marouni
        2. Screen Shot 2018-11-15 at 10.52.26 AM.png
          348 kB
          Manan Shah

            Assignee:
            Unassigned Unassigned
            Reporter:
            amarouni Abbass Marouni
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: