-
Notifications
You must be signed in to change notification settings - Fork 398
Performance
fge edited this page Sep 14, 2012
·
8 revisions
This document serves as the base. Under JSON Pointer #/schemas, it contains 8 schemas.
The program validates these 8 schemas 500 times in a loop. It prints the time elapsed for initialization and then each 20 iterations.
This is the result with 1.1.x:
Initial validation :159 ms Iteration 0 (in 36 ms) Iteration 20 (in 367 ms) Iteration 40 (in 428 ms) Iteration 60 (in 469 ms) Iteration 80 (in 496 ms) Iteration 100 (in 519 ms) Iteration 120 (in 544 ms) Iteration 140 (in 566 ms) Iteration 160 (in 596 ms) Iteration 180 (in 626 ms) Iteration 200 (in 650 ms) Iteration 220 (in 670 ms) Iteration 240 (in 689 ms) Iteration 260 (in 709 ms) Iteration 280 (in 732 ms) Iteration 300 (in 751 ms) Iteration 320 (in 771 ms) Iteration 340 (in 790 ms) Iteration 360 (in 817 ms) Iteration 380 (in 846 ms) Iteration 400 (in 876 ms) Iteration 420 (in 906 ms) Iteration 440 (in 932 ms) Iteration 460 (in 951 ms) Iteration 480 (in 970 ms) END -- time in ms: 988
Yes, that's right: less than 1 second to validate all of the schemas above 500 times.