-
Notifications
You must be signed in to change notification settings - Fork 398
Performance
fge edited this page Aug 19, 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 the current HEAD:
Iteration 0 (in 32 ms) Iteration 20 (in 289 ms) Iteration 40 (in 337 ms) Iteration 60 (in 368 ms) Iteration 80 (in 390 ms) Iteration 100 (in 407 ms) Iteration 120 (in 420 ms) Iteration 140 (in 429 ms) Iteration 160 (in 438 ms) Iteration 180 (in 450 ms) Iteration 200 (in 459 ms) Iteration 220 (in 469 ms) Iteration 240 (in 481 ms) Iteration 260 (in 497 ms) Iteration 280 (in 513 ms) Iteration 300 (in 530 ms) Iteration 320 (in 539 ms) Iteration 340 (in 548 ms) Iteration 360 (in 557 ms) Iteration 380 (in 566 ms) Iteration 400 (in 575 ms) Iteration 420 (in 586 ms) Iteration 440 (in 595 ms) Iteration 460 (in 603 ms) Iteration 480 (in 612 ms) END -- time in ms: 620
Yes, that's right: less than a second to validate all of the schemas above 500 times.