summaryrefslogtreecommitdiff
path: root/jsonschema/benchmarks/json_schema_test_suite.py
blob: 905fb6a3b88faf56e3288f7eb5053172f97abe8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
"""
A performance benchmark using the official test suite.

This benchmarks jsonschema using every valid example in the
JSON-Schema-Test-Suite. It will take some time to complete.
"""
from pyperf import Runner

from jsonschema.tests._suite import Suite

if __name__ == "__main__":
    Suite().benchmark(runner=Runner())