ermakov-oleg / serpyco-rs

Fast Python dataclasses serialization
MIT License
30 stars 2 forks source link

Removed the unnecessary string allocation #107

Closed ermakov-oleg closed 1 year ago

codspeed-hq[bot] commented 1 year ago

CodSpeed Performance Report

Merging #107 will improve performances by 12.89%

Comparing speedup-load-dataclass (d2f97b3) with master (4e35f95)

Summary

⚡ 2 improvements ✅ 26 untouched benchmarks

Benchmarks breakdown

Benchmark master speedup-load-dataclass Change
test_load_recursive 20.6 ms 18.2 ms +12.89%
test_load_dataclass 10 ms 9 ms +10.5%