Loki-Astari / JsonBenchmark

Json benchmark based on nativejson-benchmark
Other
25 stars 6 forks source link

Updating the Jsonifier library. #31

Closed RealTimeChris closed 4 weeks ago

RealTimeChris commented 4 weeks ago

In order to improve stringify performance.

Loki-Astari commented 4 weeks ago

Testing locally now.

Loki-Astari commented 4 weeks ago

Slight Improvement on Linux

Library 1. Parse Time (ms) 1. Parse Memory (byte) 1. Parse MemoryPeak (byte) 1. Parse AllocCount 1. Parse LeakedBytes 1. Parse LeakCount 2. Stringify Time (ms) 2. Stringify LeakedBytes 2. Stringify LeakCount 3. Prettify Time (ms) 3. Prettify LeakedBytes 3. Prettify LeakCount 5. SaxRoundtrip Time (ms) 5. SaxRoundtrip LeakedBytes 5. SaxRoundtrip LeakCount 7. Code size FileSize (byte)
Before Darwin Jsonifier 5 3,870,824 3,950,280 123,936 0 0 3 0 0 4 0 0 8 0 0
After Darwin Jsonifier 5 3,870,824 3,950,280 123,936 0 0 3 0 0 4 0 0 8 0 0
Before Linux Jsonifier 8 3,926,653 4,006,109 124,649 0 0 5 0 0 7 0 0 13 0 0
After Linux Jsonifier 8 3,926,653 4,006,109 124,649 0 0 4 0 0 6 0 0 12 0 0