Skip to content

Cugatay/serde-vs-nanoserde

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serde vs Nanoserde - A Compilation Speed Comparison

This is a small benchmark to compare Serde and Nanoserde at compilation speed, and the difference is a lot, like a lot a lot! In my PC (MacBook Pro M1 16GB RAM 512GB SSD) here are the results:

benchmark

How to Run

./build-test.sh

How to configure

Main code is written in ./benchmark. Best thing you can change easily is the function_count. This sets the number of functions that derive serde/nanoserde serialize and deserialize. Build times depend on this 'lil usize value.

About

This is a benchmark between Serde and Nanoserde. It compares the build time of these two

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published