I know that benchmarking on the JVM is notoriously hard, because of the JIT compiler and various other non-deterministic factors. So given that most JS engines are also JIT compiled, perhaps the same is true here?

Reply to this note

Please Login to reply.

Discussion

I don't know. My guess would be just that JSON.parse is optimized low-level code while the JavaScript methods for dealing with bytes are super high level abstractions.