Skip to content

Commit

Permalink
Merge pull request asdf-format#1747 from braingram/remove_jsonschema_…
Browse files Browse the repository at this point in the history
…benchmark

remove jsonschema benchmark
  • Loading branch information
braingram authored Feb 1, 2024
2 parents 9b05a0c + 129aa65 commit 67e7a8e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions benchmarks/schema.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import jsonschema
import numpy

import asdf
Expand All @@ -19,9 +18,6 @@ def setup(self):
def time_validate(self):
self.af.validate()

def time_jsonschema_validate(self):
jsonschema.validators.Draft4Validator(self.schema).validate(self.obj)


class NDArrayValidateSuite:
def setup(self):
Expand All @@ -37,6 +33,3 @@ def setup(self):

def time_validate(self):
self.af.validate()

def time_jsonschema_validate(self):
jsonschema.validators.Draft4Validator(self.schema).validate(self.obj)

0 comments on commit 67e7a8e

Please sign in to comment.