simdjson

This is a benchmark of SIMDJSON, a high performance JSON parser. SIMDJSON aims to be the fastest JSON parser and is used by projects like Microsoft FishStore, Yandex ClickHouse, Shopify, and others.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark simdjson.

Project Site

simdjson.org

Source Repository

github.com

Test Created

13 December 2020

Last Updated

15 June 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 41 Seconds

Average Run Time

3 Minutes, 29 Seconds

Test Dependencies

C/C++ Compiler Toolchain + CMake

Accolades

20k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventssimdjson Popularity Statisticspts/simdjson2020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.032024.044K8K12K16K20K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 13 April 2024.
DistinctUserID19.4%TopTweet21.4%LargeRandom18.4%Kostya18.9%PartialTweets21.8%Throughput Test Option PopularityOpenBenchmarking.org

Revision History

pts/simdjson-2.0.1   [View Source]   Wed, 15 Jun 2022 18:18:53 GMT
Update against simdjson 2.0.4 upstream maintenance release to address GCC 12 build issues.

pts/simdjson-2.0.0   [View Source]   Wed, 25 May 2022 13:46:39 GMT
Update against simdjson 2.0 upstream.

pts/simdjson-1.3.0   [View Source]   Tue, 07 Sep 2021 19:19:27 GMT
Update against simdjson 1.0.0 upstream.

pts/simdjson-1.2.0   [View Source]   Fri, 12 Mar 2021 06:22:00 GMT
Update against simdjson 0.8.2 upstream.

pts/simdjson-1.1.1   [View Source]   Mon, 14 Dec 2020 13:25:30 GMT
Don't bother with the documents/s report for now.

pts/simdjson-1.1.0   [View Source]   Mon, 14 Dec 2020 11:39:20 GMT
Update against simdjson 0.7.1 that was just released with POWER/ARM fixes. Also report documents/s as well.

pts/simdjson-1.0.0   [View Source]   Sun, 13 Dec 2020 16:06:04 GMT
Initial commit of simdjson benchmark.

Suites Using This Test

Server

Programmer / Developer System Benchmarks


Performance Metrics

Analyze Test Configuration:

simdjson 0.7.1

Throughput Test: Kostya

OpenBenchmarking.org metrics for this test profile configuration based on 490 public results since 14 December 2020 with the latest data as of 31 January 2022.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
GB/s (Average)
98th
11
1.06
98th
4
1.06
94th
7
0.82 +/- 0.01
91st
12
0.79 +/- 0.01
89th
6
0.78 +/- 0.01
87th
4
0.76 +/- 0.01
80th
22
0.68 +/- 0.05
80th
3
0.68 +/- 0.01
77th
3
0.67 +/- 0.01
77th
3
0.67 +/- 0.02
77th
4
0.67 +/- 0.01
Mid-Tier
75th
< 0.67
74th
3
0.66 +/- 0.01
70th
5
0.65 +/- 0.04
69th
7
0.64 +/- 0.08
66th
4
0.63 +/- 0.01
64th
3
0.61 +/- 0.01
61st
3
0.60 +/- 0.01
61st
3
0.60 +/- 0.01
61st
3
0.60 +/- 0.03
56th
3
0.58 +/- 0.01
Median
50th
0.57
49th
10
0.56 +/- 0.02
49th
9
0.56 +/- 0.02
46th
8
0.55 +/- 0.04
38th
9
0.50 +/- 0.03
31st
3
0.48 +/- 0.01
Low-Tier
25th
< 0.46
10th
7
0.38 +/- 0.01
5th
4
0.30 +/- 0.01
3rd
7
0.26 +/- 0.01
OpenBenchmarking.orgDistribution Of Public Results - Throughput Test: Kostya490 Results Range From 0 To 4 GB/s0.3330.6660.9991.3321.6651.9982.3312.6642.9973.333.6633.99670140210280350

Based on OpenBenchmarking.org data, the selected test / test configuration (simdjson 0.7.1 - Throughput Test: Kostya) has an average run-time of 4 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkThroughput Test: KostyaRun-Time48121620Min: 2 / Avg: 3.58 / Max: 14

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.3%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsThroughput Test: KostyaDeviation246810Min: 0 / Avg: 0.27 / Max: 4

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To Basesimdjson CPU Core ScalingThroughput Test: Kostya4681624320.47710.95421.43131.90842.3855

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
MOVD PSHUFD MOVDQA MOVDQU SHUFPD PUNPCKLQDQ CVTSI2SD ADDSD MULSD DIVSD COMISD SUBSD CVTTSD2SI MOVAPD UCOMISD XORPD PADDQ MOVUPD ANDPD MOVMSKPD MAXSD PSUBQ MOVHPD SQRTSD UNPCKLPD SUBPD MULPD UNPCKHPD DIVPD CMPNLTSD ANDNPD ORPD
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PSHUFB PALIGNR PMADDUBSW
SSE 4.2 (SSE4_2)
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
POPCNT
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VINSERTF128 VEXTRACTF128 VPERMILPD VBROADCASTSD
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTB VPBROADCASTD VINSERTI128 VEXTRACTI128 VPERM2I128 VPERMQ VPERMD VPBROADCASTQ
Advanced Vector Extensions 512 (AVX512)
Used by default on supported hardware.
 
(ZMM REGISTER USE)
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132SD VFMADD213SD VFMADD231SD VFNMADD213SD VFMSUB132SD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 27 June 2022

This test profile binary relies on the shared libraries libm.so.6, libc.so.6.

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 44-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1 64-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core