GitHub user mchernyakov edited a comment on the discussion: Java: maximum performance with minimum overhead
@chaokunyang thanks for the reply. We do indeed use quite a lot of strings. and they are usually in utf-8. I've pushed my small jmh benchmarks repo, where I evaluated some production like classes: https://github.com/mchernyakov/simple-serde-benchmarks/tree/master . the fory config is https://github.com/mchernyakov/simple-serde-benchmarks/blob/master/src/main/java/com/example/benchmark/ForySerializer.java. there is also a naive size benchmarks https://github.com/mchernyakov/simple-serde-benchmarks/blob/master/src/main/java/com/example/benchmark/QuickSizeTest.java , which shows: ``` Small request: Kryo: 121 bytes Fory: 185 bytes Medium request: Kryo: 752 bytes Fory: 793 bytes Large request: Kryo: 7281 bytes Fory: 6946 bytes ``` So, Fory compresses better only after 1Kb (assumption), wonder if you have some ideas how to improve it. GitHub link: https://github.com/apache/fory/discussions/2786#discussioncomment-14731830 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
