Skip to content

bench: rkyv as a (de)serializer #14

@Autoparallel

Description

@Autoparallel

Tasks

We currently are using FastSerde to do (de)serialization because found this was extremely slow in WASM in particular. I would like to suggest using rkyv which is a zero-copy serde lib.

  • Make a benchmark comparing deserialization performance of FastSerde, bincode, and rkyv in the browser context. We should find:
    • Bincode is quite slow taking tens of seconds to deserialize a handful of megabytes (10-50MB).
    • FastSerde likely the fastest
    • rkyv (hopefully) barely slower than FastSerde or ideally faster.

Science!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions