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

Match rmp_serde's deserialization performance

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Unknown
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: BSON
    • Labels:
      None

      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

            Assignee:
            patrick.freed Patrick Freed
            Reporter:
            patrick.freed Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: