@@ -8,30 +8,30 @@ for validators that cause side-effects on schema or data.
8
8
9
9
# Performance
10
10
11
- ![ performance] ( https://chart.googleapis.com/chart?chxt=x,y&cht=bhs&chco=76A4FB&chls=2.0&chbh=29,4,1&chs=600x416&chxl=-1:|ajv|jsen|json-schema-validator-generator|is-my-json-valid|themis|djv| jsck|z-schema|json-schema-library|jsonschema| skeemas|tv4&chd=t:100,59 .1,44.6,42.9,9.6,8.6 ,3.2 ,1.7,0.8 ,0.6 ,0.6 ,0.1 )
11
+ ![ performance] ( https://chart.googleapis.com/chart?chxt=x,y&cht=bhs&chco=76A4FB&chls=2.0&chbh=29,4,1&chs=600x416&chxl=-1:|djv| ajv|jsen|json-schema-validator-generator|is-my-json-valid|themis|jsck|z-schema|json-schema-library|skeemas|jsonschema| tv4&chd=t:100,82 .1,49.8,40.6,38.3,10.3 ,3.6 ,1.7,0.6 ,0.5 ,0.5 ,0.1 )
12
12
13
13
| Validator| Relative speed| Number of test runs per second|
14
14
| ---------| :------------:| :----------------------------:|
15
- | [ ` ajv ` ] ( https://github.com/epoberezkin/ajv ) | 100%| 55649 (± 2.26 %)|
16
- | [ ` jsen ` ] ( https://github.com/bugventure/jsen ) | 59 .1%| 32885 (± 1.72 %)|
17
- | [ ` json-schema-validator-generator ` ] ( https://github.com/danwang/json-schema-validator-generator ) | 44.6% | 24844 (± 2.15 %)|
18
- | [ ` is-my-json-valid ` ] ( https://github.com/mafintosh/is-my-json-valid#readme ) | 42.9% | 23861 (± 1.7 %)|
19
- | [ ` themis ` ] ( https://github.com/playlyfe/themis ) | 9.6% | 5362 (± 12.7 %)|
20
- | [ ` djv ` ] ( https://github.com/korzio/djv#readme ) | 8.6% | 4812 (± 1.87 %)|
21
- | [ ` jsck ` ] ( https://github.com/pandastrike/jsck#readme ) | 3.2% | 1793 (± 2.47 %)|
22
- | [ ` z-schema ` ] ( https://github.com/zaggino/z-schema ) | 1.7%| 937 (± 3.07 %)|
23
- | [ ` json-schema-library ` ] ( https://github.com/sagold/json-schema-library ) | 0.8% | 445 (± 1.83 %)|
24
- | [ ` jsonschema ` ] ( https://github.com/tdegrunt/jsonschema #readme ) | 0.6% | 340 (± 2.55 %)|
25
- | [ ` skeemas ` ] ( https://github.com/Prestaul/skeemas #readme ) | 0.6% | 319 (± 3.64 %)|
26
- | [ ` tv4 ` ] ( https://github.com/geraintluff/tv4 ) | 0.1%| 72 (± 2.29 %)|
15
+ | [ ` djv ` ] ( https://github.com/korzio/djv#readme ) | 100%| 65627 (± 0.9 %)|
16
+ | [ ` ajv ` ] ( https://github.com/epoberezkin/ajv ) | 82 .1%| 53848 (± 1.9 %)|
17
+ | [ ` jsen ` ] ( https://github.com/bugventure/jsen ) | 49.8% | 32671 (± 1.12 %)|
18
+ | [ ` json-schema-validator-generator ` ] ( https://github.com/danwang/json-schema-validator-generator ) | 40.6% | 26622 (± 0.98 %)|
19
+ | [ ` is-my-json-valid ` ] ( https://github.com/mafintosh/is-my-json-valid#readme ) | 38.3% | 25138 (± 1.25 %)|
20
+ | [ ` themis ` ] ( https://github.com/playlyfe/themis ) | 10.3% | 6736 (± 10.12 %)|
21
+ | [ ` jsck ` ] ( https://github.com/pandastrike/jsck#readme ) | 3.6% | 2354 (± 1.28 %)|
22
+ | [ ` z-schema ` ] ( https://github.com/zaggino/z-schema ) | 1.7%| 1130 (± 2.12 %)|
23
+ | [ ` json-schema-library ` ] ( https://github.com/sagold/json-schema-library ) | 0.6% | 410 (± 2.08 %)|
24
+ | [ ` skeemas ` ] ( https://github.com/Prestaul/skeemas #readme ) | 0.5% | 354 (± 2.06 %)|
25
+ | [ ` jsonschema ` ] ( https://github.com/tdegrunt/jsonschema #readme ) | 0.5% | 341 (± 2.78 %)|
26
+ | [ ` tv4 ` ] ( https://github.com/geraintluff/tv4 ) | 0.1%| 75 (± 3.27 %)|
27
27
28
28
235 tests are run in each test run.
29
29
30
30
Validators tested: [`json-schema-validator-generator (1.1.11)`](https://github.com/danwang/json-schema-validator-generator), [`is-my-json-valid (2.20.0)`](https://github.com/mafintosh/is-my-json-valid#readme), [`jsen (0.6.6)`](https://github.com/bugventure/jsen), [`ajv (6.10.2)`](https://github.com/epoberezkin/ajv), [`themis (1.1.6)`](https://github.com/playlyfe/themis), [`z-schema (4.1.1)`](https://github.com/zaggino/z-schema), [`jjv (1.0.2)`](https://github.com/acornejo/jjv), [`djv (2.1.3-alpha.0)`](https://github.com/korzio/djv#readme), [`skeemas (1.2.5)`](https://github.com/Prestaul/skeemas#readme), [`schemasaurus (0.7.8)`](https://github.com/AlexeyGrishin/schemasaurus), [`jsck (0.3.2)`](https://github.com/pandastrike/jsck#readme), [`jassi (0.1.2)`](https://github.com/iclanzan/jassi), [`JSV (4.0.2)`](http://github.com/garycourt/JSV), [`request-validator (0.3.3)`](https://github.com/bugventure/request-validator), [`json-gate (0.8.23)`](https://github.com/oferei/json-gate#readme), [`json-model (0.2.24)`](https://github.com/geraintluff/json-model), [`tv4 (1.3.0)`](https://github.com/geraintluff/tv4), [`jsonschema (1.2.4)`](https://github.com/tdegrunt/jsonschema#readme), [`revalidator (0.3.1)`](https://github.com/flatiron/revalidator), [`json-schema-library (4.0.0)`](https://github.com/sagold/json-schema-library),
31
31
32
32
(validators not in the results above where excluded because of failing tests - see below for details)
33
33
34
- [ ` ajv ` ] ( https://github.com/epoberezkin/ajv ) is currently the fastest JSON-schema validator out there.
34
+ [ ` djv ` ] ( https://github.com/korzio/djv#readme ) is currently the fastest JSON-schema validator out there.
35
35
36
36
The fastest validator has 100%, the rest a lower score relative to the fastest.
37
37
If a validator has a score of 5% that means that it's speed is 5% of the fastest,
0 commit comments