Skip to content

Latest commit

 

History

History
561 lines (500 loc) · 17.7 KB

README.md

File metadata and controls

561 lines (500 loc) · 17.7 KB

Benchmark

Benchmark run from 2019-06-16 09:12:35.192997Z UTC

System

Benchmark suite executing on the following system:

Operating System macOS
CPU Information Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
Number of Available Cores 8
Available Memory 16 GB
Elixir Version 1.8.2
Erlang Version 22.0

Configuration

Benchmark suite executing with the following configuration:

:time 10 s
:parallel 1
:warmup 2 s

Statistics

Input: chrome_extension.json

Run Time

Name IPS Average Devitation Median 99th %
JsonXema 43.80 K 22.83 μs ±85.68% 21 μs 54 μs
ExJsonSchema 26.11 K 38.31 μs ±52.00% 35 μs 178 μs

Comparison

Name IPS Slower
JsonXema 43.80 K  
ExJsonSchema 26.11 K 1.68x

Input: coordinates.json

Run Time

Name IPS Average Devitation Median 99th %
JsonXema 298.23 K 3.35 μs ±1075.22% 3 μs 6 μs
ExJsonSchema 142.22 K 7.03 μs ±415.71% 6 μs 16 μs

Comparison

Name IPS Slower
JsonXema 298.23 K  
ExJsonSchema 142.22 K 2.1x

Input: draft04.json

Run Time

Name IPS Average Devitation Median 99th %
JsonXema 2.27 K 440.78 μs ±16.89% 419 μs 701.15 μs
ExJsonSchema 1.47 K 681.31 μs ±11.97% 681 μs 949 μs

Comparison

Name IPS Slower
JsonXema 2.27 K  
ExJsonSchema 1.47 K 1.55x

Input: enum.json

Run Time

Name IPS Average Devitation Median 99th %
JsonXema 238.73 K 4.19 μs ±809.24% 4 μs 8 μs
ExJsonSchema 171.88 K 5.82 μs ±528.21% 5 μs 14 μs

Comparison

Name IPS Slower
JsonXema 238.73 K  
ExJsonSchema 171.88 K 1.39x

Input: formats.json

Run Time

Name IPS Average Devitation Median 99th %
ExJsonSchema 51.01 K 19.60 μs ±94.97% 18 μs 33 μs
JsonXema 47.55 K 21.03 μs ±152.48% 20 μs 34 μs

Comparison

Name IPS Slower
ExJsonSchema 51.01 K  
JsonXema 47.55 K 1.07x

Input: integers.json

Run Time

Name IPS Average Devitation Median 99th %
JsonXema 126.31 K 7.92 μs ±306.09% 8 μs 17 μs
ExJsonSchema 95.27 K 10.50 μs ±249.10% 9 μs 20 μs

Comparison

Name IPS Slower
JsonXema 126.31 K  
ExJsonSchema 95.27 K 1.33x

Input: pos_neg_even.json

Run Time

Name IPS Average Devitation Median 99th %
JsonXema 263.09 K 3.80 μs ±775.17% 4 μs 5 μs
ExJsonSchema 158.20 K 6.32 μs ±487.51% 6 μs 15 μs

Comparison

Name IPS Slower
JsonXema 263.09 K  
ExJsonSchema 158.20 K 1.66x

Input: pos_neg_even_def.json

Run Time

Name IPS Average Devitation Median 99th %
JsonXema 259.82 K 3.85 μs ±859.50% 4 μs 6 μs
ExJsonSchema 116.16 K 8.61 μs ±375.21% 8 μs 18 μs

Comparison

Name IPS Slower
JsonXema 259.82 K  
ExJsonSchema 116.16 K 2.24x

Input: user.json

Run Time

Name IPS Average Devitation Median 99th %
JsonXema 321.49 K 3.11 μs ±1021.84% 3 μs 4 μs
ExJsonSchema 137.27 K 7.29 μs ±456.99% 6 μs 17 μs

Comparison

Name IPS Slower
JsonXema 321.49 K  
ExJsonSchema 137.27 K 2.34x

Input: users.json

Run Time

Name IPS Average Devitation Median 99th %
JsonXema 24.87 40.21 ms ±3.54% 39.96 ms 47.86 ms
ExJsonSchema 11.09 90.21 ms ±3.87% 89.18 ms 111.05 ms

Comparison

Name IPS Slower
JsonXema 24.87  
ExJsonSchema 11.09 2.24x