json_schema_test_suite.py 343 B

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