SerialKiller icon indicating copy to clipboard operation
SerialKiller copied to clipboard

Adding safe classes to the cache

Open mvsavkin opened this issue 6 years ago • 4 comments

Hi,

I greatly improved the speed of deserialization. Adding safe classes to the cache.

Results benchmark before the changes: Java Deserialize

  • 136149,484 ± 1197,541 ops/s

SerialKiller Deserialize

  • 53640,506 ± 409,568 ops/s

Results benchmark after the changes: Java Deserialize

  • 135967,355 ± 937,305 ops/s

SerialKiller Deserialize

  • 124390,805 ± 428,369 ops/s

Twice improvement.

Benchmark: https://github.com/mvsavkin/look-ahead-benchmark

Best regards, Maksim Savkin

mvsavkin avatar Apr 04 '18 20:04 mvsavkin

Thanks - I will take a look again during the next week.

ikkisoft avatar Apr 05 '18 13:04 ikkisoft

Hi,

When will you can take a look PR?

mvsavkin avatar Jun 08 '18 05:06 mvsavkin

Sorry for the delay. It's in my todo list but just got busy with work stuff. Hopefully towards the end of this month.

ikkisoft avatar Jun 08 '18 08:06 ikkisoft

Hi,

Please, look my PR.

mvsavkin avatar Nov 01 '18 16:11 mvsavkin