Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-1563

Investigate BSON performance

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Compared to globalsign/mgo, mongo/bson still performs worse.

      BenchmarkMgoUnmarshal-8     	  285722	      3636 ns/op	    1454 B/op	      59 allocs/op
      BenchmarkMongoUnmarshal-8   	  265944	      4439 ns/op	    2148 B/op	      68 allocs/op
      BenchmarkMgoMarshal-8       	 1539914	       777 ns/op	     224 B/op	       3 allocs/op
      BenchmarkMongoMarshal-8     	 1351849	       895 ns/op	     320 B/op	       3 allocs/op
      

      Tests run against HEAD of both:
      mgo: eeefdecb41b842af6dc652aaea4026e8403e62df
      mongo: 54b6491aa2097285081a2c3dc6ff4e11418d146f

            Assignee:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Reporter:
            bartle David Bartley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: