Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-888

Match rmp_serde's deserialization performance

    XMLWordPrintable

Details

    • Improvement
    • Status: Backlog
    • Unknown
    • Resolution: Unresolved
    • None
    • None
    • BSON

    Description

      msgpack is a binary format similar to BSON, and rmp_serde is a crate providing serialization/deserialization functionality similar to our BSON library. rmp_serde outperforms bson when deserializing from a slice of bytes, however. We should strive to improve bson 's performance to meet that of rmp_serde.

      https://docs.rs/rmp-serde/0.15.5/rmp_serde/

      benchmarks: https://github.com/mongodb/bson-rust/issues/264#issuecomment-873531262

      Attachments

        Activity

          People

            patrick.freed@mongodb.com Patrick Freed
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: