-
Notifications
You must be signed in to change notification settings - Fork 398
Performance
fge edited this page Dec 17, 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.3.5:
Initial validation :138 ms Iteration 0 (in 43 ms) Iteration 20 (in 370 ms) Iteration 40 (in 435 ms) Iteration 60 (in 469 ms) Iteration 80 (in 491 ms) Iteration 100 (in 522 ms) Iteration 120 (in 548 ms) Iteration 140 (in 567 ms) Iteration 160 (in 591 ms) Iteration 180 (in 611 ms) Iteration 200 (in 640 ms) Iteration 220 (in 670 ms) Iteration 240 (in 694 ms) Iteration 260 (in 714 ms) Iteration 280 (in 734 ms) Iteration 300 (in 753 ms) Iteration 320 (in 773 ms) Iteration 340 (in 792 ms) Iteration 360 (in 813 ms) Iteration 380 (in 833 ms) Iteration 400 (in 859 ms) Iteration 420 (in 889 ms) Iteration 440 (in 919 ms) Iteration 460 (in 950 ms) Iteration 480 (in 977 ms) END -- time in ms: 994
Yes, that's right: less than 1 second to validate all of the schemas above 500 times.