Skip to content

Performance comparison of various Serde based serialization and deserialization crates.

License

Notifications You must be signed in to change notification settings

pigeon-working-group/serde-perf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

serde-perf

Performance comparison of various Serde based serialization and deserialization crates.

Tested

Name Version Result
bincode 1.0.0 4.77434ms
bson 0.11.1 132.80845ms
rmp-serde 0.13.7 12.59857ms
ron 0.2.0 171.88187ms
serde_cbor 0.8.2 38.43308ms
serde_json 1.0.11 30.34049ms
serde-pickle 0.4.0 129.46340ms

Try it yourself: cargo install --git https://github.com/pigeon-working-group/serde-perf

Testing setup

         _,met$$$$$gg.           philip@Naboris
      ,g$$$$$$$$$$$$$$$P.        OS: Debian testing buster
    ,g$$P""       """Y$$.".      Kernel: x86_64 Linux 4.15.0-1-amd64
   ,$$P'              `$$$.      CPU: Intel Xeon E3-1240 v3 @ 8x 3.8GHz [27.8°C]
  ',$$P       ,ggs.     `$$b:    
  `d$$'     ,$P"'   .    $$$	 rustc: 1.24.1
   $$P      d$'     ,    $$P     Build mode: release
   $$:      $$.   -    ,d$$'
   $$\;      Y$b._   _,d$P'
   Y$$.    `.`"Y$$$$P"'
   `$$b      "-.__
    `Y$$
     `Y$$.
       `$$b.
         `Y$$b.
            `"Y$b._
                `""""

About

Performance comparison of various Serde based serialization and deserialization crates.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages