Home

schema-json-js benchmarks - Node.js (serialize)

Hardware

Run on the following hardware:

CPU
Intel Core i7-7700K CPU @ 4.20GHz x 8
RAM
G.SKILL TridentZ Series 32GB DDR4 @ 3020 MHz
HDD
Samsung 960 EVO m.2 500GB
OS
Pop! OS 18.04 LTS
Node.js
v12.13.1

Tests

Generated on 12/4/2019 in 1.41 minutes

NOTE: Validators marked with an asterisk (*) use code generation (eval and/or new Function) so performance may suffer in serialized use cases. Some of these validators work around it with caching but memory usage may suffer as a result.

schema-json-js z-schema ajv* djv* is-my-json-valid*
primitive data 67% (169,933) 2% (6,207) 100% (250,314) 17% (43,032) 13% (34,550)
standard data 37% (28,163) 5% (4,027) 100% (75,944) 6% (4,863) 7% (5,541)
advanced data 61% (16,139) 6% (1,817) 100% (26,164) 0% (-1) 8% (2,123)