Skip to content

v3.3.0

Choose a tag to compare

@MarshalX MarshalX released this 01 Dec 14:28
· 27 commits to main since this release
ff16379

What's Changed

❗ Almost x2 speed for CAR decoding (Bluesky firehose), ~25-35% faster DAG-CBOR decoding, and ~17% faster CID decoding!

I do have more ideas on what to try to speed it up even further! For example, applying BOLT on top of the existing PGO.

⚡ Optimizations

  • Huge performance gain for DAG-CBOR decoding and CID by replacing deprecated Rust crate libipld with cbor4ii by @vmx in #80 and even contributed upstream!
  • Optimize DAG-CBOR encoding for arrays and maps by @MarshalX in #88
  • Optimize CAR decoding by reducing allocations by @MarshalX in #90
  • Optimize executable size (panic = "abort") by @MarshalX in #86

Other

🏎️ Performance comparison. Before (v3.2.0) VS After (v3.3.0):

image

You can find more benchmark results here: #92

New Contributors

  • @vmx made their first contribution in #80

Full Changelog: v3.2.0...v3.3.0