Json-Performance

May 4, 2026 ยท View on GitHub

Performance profiling of JSON libraries (Compiled and run on Windows 10.0.26100 using the MSVC 19.44.35221.0 compiler).

Latest Results: (Dec 12, 2025)

Using the following commits:


| Jsonifier: 28dfa9b
| Glaze: d8a8fb9
| Simdjson: ae32422

1400 iterations on a (AMD EPYC 7763 64-Core Processor), where the most stable 20 subsequent iterations are sampled.

Note:

These benchmarks were executed using the CPU benchmark library benchmarksuite.

Double Test Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier46.80744.685215.21633e+07899183358.3325110.3562.93604e+08905103750
glaze30.102123.91158.5556e+079173079520.344964.25711.69152e+0889359100
simdjson15.090811.30451.63112e+0889056710

String Test Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
glaze125.1934.284061.95058e+07423832310152.59210.93971.60724e+07427326815
simdjson100.9316.54362.4219e+07424740175
jsonifier76.82113.478883.17987e+0742395264080.77344.486143.02482e+07422249895

Uint Test Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier106.8046.943092.2883e+0719371733080.540718.08633.03907e+07193823010
glaze103.2782.390142.36134e+07193617890120.88423.09032.0623e+07193915645
simdjson44.08381.736355.53688e+07194041990

Int Test Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
glaze103.6957.211912.35893e+0719371787599.811621.1532.47625e+07193718785
jsonifier99.97564.560112.44268e+0719391852098.097315.51262.50638e+07193818990
simdjson59.88695.81614.08478e+07193930935

Bool Test Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier64.44975.298043.77371e+07449665585.24482.603112.85276e+074505040
glaze26.55713.450539.20067e+074491615031.578422.78347.84119e+0745013840
simdjson16.59892.350161.47309e+0844925830

Json Test (Prettified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier715.36113.97163.42564e+064936966020583.7922.667014.18421e+064994881600
glaze413.06121.46165.93802e+0648418112210530.3945.674264.6051e+064934188655
simdjson363.57212.22946.79501e+0650138132940

Json Test (Minified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
glaze556.55.640084.39456e+063499260005472.79719.21075.31577e+063507172750
jsonifier364.3096.077796.71097e+063385488655946.282.922992.5818e+063577136055
simdjson274.30111.90349.0068e+0633993119480

Partial Test (Prettified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
simdjson314.64124.4627.87894e+069863065
jsonifier118.71712.13752.01295e+0710067940780.22821.19063.1541e+0612031520

Partial Test (Minified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
simdjson396.66619.81925.97482e+066601575
jsonifier104.1811.67992.30542e+076906240652.86526.08593.53152e+067061045

Abc (Out of Order) Test (Prettified) Results (View the data used in the following test):


The JSON documents in the previous tests featured keys ranging from "a" to "z", where each key corresponds to an array of values. Notably, the documents in this test arrange these keys in reverse order, deviating from the typical "a" to "z" arrangement.

This test effectively demonstrates the challenges encountered when utilizing simdjson and iterative parsers that lack the ability to efficiently allocate memory locations throughhashing. In cases where the keys are not in the expected sequence, performance is significantly compromised, with the severity escalating as the document size increases.

In contrast, hash-based solutions offer a viable alternative by circumventing these issues and maintaining optimal performance regardless of the JSON document's scale, or ordering of the keys being parsed.

LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier757.216.64433.23056e+065041763565765.8212.914093.19325e+064803159840
glaze686.5978.076753.55846e+065012969620542.4886.017074.50307e+065054788805
simdjson538.17615.01964.61284e+065006190100

Abc (Out of Order) Test (Minified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier542.7016.110224.50664e+063473061080702.6672.853023.47681e+063627449240
glaze507.9726.076884.81103e+063401963880492.00321.96655.09658e+063306565760
simdjson271.15711.31049.07909e+0633129117380

Discord Test (Prettified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier837.64212.51262.92344e+0692442105465950.913.627052.57735e+069244292970
glaze743.75311.47623.30033e+0692442119040611.2365.731044.01165e+0692442144680
simdjson490.9089.483594.9848e+0692442179780

Discord Test (Minified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
glaze553.2049.120424.42547e+065535395600630.842.584283.87624e+065535383710
jsonifier548.7819.847464.45794e+065535396295838.3512.677962.91626e+065535363000
simdjson198.8127.61261.23107e+0755353265880

Canada Test (Prettified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier576.5491.230584.24134e+0666618971.10205e+071044.431.23172.34143e+0666618976.0835e+06
glaze514.2731.298254.75498e+0666618971.23548e+07571.2253.740494.28253e+0666618971.11275e+07
simdjson450.341.99965.43058e+0666618971.41095e+07

Canada Test (Minified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier209.9721.729291.16463e+0720902349.49492e+06451.2541.283325.41934e+0620902344.41802e+06
glaze202.2931.675171.20884e+0720902349.85472e+06358.4911.339026.8213e+0620902345.56094e+06
simdjson144.4821.131871.69245e+0720902341.37975e+07

CitmCatalog Test (Prettified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier957.8932.501932.55367e+0614395621.43386e+061415.212.24881.72821e+061439562970350
glaze809.4858.130173.0293e+0614395841.70088e+06588.532.578834.15578e+0614395842.33362e+06
simdjson630.1041.707883.8811e+0614234152.1546e+06

CitmCatalog Test (Minified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
glaze511.3744.21724.78495e+06500299933680360.7422.361276.78046e+065002991.32306e+06
jsonifier455.7454.679395.37007e+065002991.04791e+06895.24852.73277e+06500299533360
simdjson237.731.359521.02869e+074929101.97755e+06

Twitter Partial Test (Prettified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
simdjson1016.426.689732.40636e+064465341940
jsonifier307.527.866467.95799e+06446531386402057.394.174891.18745e+064465320715

Twitter Partial Test (Minified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
simdjson878.7665.248272.78298e+063754340780
jsonifier299.04912.09578.18298e+06375431198602086.054.114721.17071e+063754317185

Twitter Test (Prettified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier777.1796.815073.15594e+06414021509715809.6414.732493.02263e+06414021488215
glaze588.4365.850784.16139e+06414021672040384.123.018016.36795e+064140211.02833e+06
simdjson570.9354.023564.28539e+06418582699700

Twitter Test (Minified) Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)Write (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
jsonifier530.6217.234654.61582e+06277014498795800.6234.162223.05656e+06277014330400
glaze522.0645.272844.68827e+06277014506610354.3814.438916.90615e+06277014746215
simdjson383.9074.223966.37457e+06278407692245

Minify Test Results (View the data used in the following test):


LibraryWrite (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
glaze713.6012.380283.42673e+06466906624180
simdjson348.0422.337787.02733e+064669061.27974e+06
jsonifier147.9291.020331.65301e+074669063.01016e+06

Prettify Test Results (View the data used in the following test):


LibraryWrite (MB/S)Write Percentage Deviation (+/-%)Write (Cycles/MB)Write Length (Bytes)Write Time (ns)
glaze870.9951.959252.80773e+06699405765975
jsonifier798.7271.639093.06143e+06699405835210

Validate Test Results (View the data used in the following test):


LibraryRead (MB/S)Read Percentage Deviation (+/-%)Read (Cycles/MB)Read Length (Bytes)Read Time (ns)
glaze1971.853.151831.2405e+06646997313045
jsonifier298.2990.4248988.19768e+066469972.06849e+06