Home

schema-json-js benchmarks - Chrome (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
Browser
Chrome 78.0.3904.108

Tests

Generated on 12/4/2019 in 1.5 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 71% (157,295) 2% (4,722) 100% (219,781) 16% (37,064) 9% (21,741)
standard data 59% (33,414) 6% (3,470) 100% (55,843) 7% (4,332) 6% (3,607)
advanced data 81% (15,910) 7% (1,456) 100% (19,413) 0% (-1) 7% (1,374)