Jsonrs icon indicating copy to clipboard operation
Jsonrs copied to clipboard

Update benchmarks for OTP 24

Open benhaney opened this issue 5 years ago • 2 comments

OTP 24 includes a new JIT that should greatly increase the performance of non-NIF encoders like Jason and Poison. It will be interesting to see how much of the performance advantage of Jsonrs shrinks with this update.

benhaney avatar Oct 21 '20 21:10 benhaney

I've just tried Jsonrs on my app by creating 5000 documents in tests. The results are opposite to what I expected: render took 3 seconds with Jason and 64 seconds with Jsonrs.

denispeplin avatar Nov 30 '20 08:11 denispeplin

@denispeplin Was that on OTP 24? Can you share the exact benchmark?

benhaney avatar Nov 30 '20 21:11 benhaney