Investigate BSON performance

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 (Inactive)
              Reporter:
              David Bartley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: