iossimdjson – ios app to benchmark simdjson


For comparability, allow us to multiply all these numbers by 3.7/2.5 to ‘scale them’ to a desktop processor. We get speeds of two.5 GB/s, 1.9 GB/s, 1.8 GB/s, 1.6 GB/s. Here are the numbers we get on a skylake processor operating at 3.7 GHz: 3.2 GB/s, 2.2 GB/s, 2.4 GB/s, 1.9 GB/s. That’s unfair, nonetheless, as a result of the skylake processor advantages from 256-bit registers (AVX). Let us ‘downgrade’ the skylake processor by disabling AVX directions, we then get speeds of 1.9 GB/s, 1.4 GB/s, 1.6 GB/s, 1.3 GB/s. So with a corrected clock, we discover that Apple’s A12 processor is someplace between a skylake processor with AVX disabled and a full skylake processor, with the caveat that we now have to ‘scale’ the frequency of the iPhone processor artificially. The app. reuses code by Benoît Maison.


https://github.com/simdjson/iossimdjson


Tags
Implementation

C++

License

Public

Platform