Closed andreypfau closed 11 months ago
Benchmarks runs on Apple M1 Pro
Old version:
Benchmark_EncodeDecodeFuzz-10 1000000000 0.7794 ns/op Benchmark_EncodeDecodeFuzz-10 1000000000 0.7996 ns/op Benchmark_EncodeDecodeFuzz-10 1000000000 0.7807 ns/op
New version:
Benchmark_EncodeDecodeFuzz-10 1000000000 0.5849 ns/op Benchmark_EncodeDecodeFuzz-10 1000000000 0.5985 ns/op Benchmark_EncodeDecodeFuzz-10 1000000000 0.5877 ns/op
Result: + ~35% perfomance increase
Benchmarks runs on Apple M1 Pro
Old version:
New version:
Result: + ~35% perfomance increase