json_schema_test_suite.py 320 B

123456789101112
  1. """
  2. A performance benchmark using the official test suite.
  3. This benchmarks jsonschema using every valid example in the
  4. JSON-Schema-Test-Suite. It will take some time to complete.
  5. """
  6. from pyperf import Runner
  7. from jsonschema.tests._suite import Suite
  8. if __name__ == "__main__":
  9. Suite().benchmark(runner=Runner())