Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

mzeo/protostuff-jmh-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Used for benchmarking patch to protostuff with packed field support.

# Unpatched code, not packed
Benchmark                                Mode  Samples      Score     Error  Units
s.m.p.ProtostuffBenchmark.testMethod    thrpt      200  90236.485 ± 904.257  ops/s

# Unpatched code, packed
io.protostuff.ProtobufException: Protocol message contained an invalid tag (zero).

# Patched code, not packed
Benchmark                                Mode  Samples      Score     Error  Units
s.m.p.ProtostuffBenchmark.testMethod    thrpt      200  87870.775 ± 430.595  ops/s

# Patched code, packed
Benchmark                                Mode  Samples      Score     Error  Units
s.m.p.ProtostuffBenchmark.testMethod    thrpt      200  93084.164 ± 995.681  ops/s

About

Micro benchmark for protostuff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages