Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simple

  • Loading branch information...
commit 47b8f5ca17e758e97fa93aa82f51da846aa4309c 1 parent 66075e5
@Julian authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 perftest
View
8 perftest
@@ -23,6 +23,14 @@ print("Validating {0} times.".format(arguments.number))
for name, benchmark in (
(
+ "Simple", """
+ validator = Draft3Validator(
+ {"type" : "object", "properties" : {"foo" : {"required" : True}}}
+ )
+ instance = {"foo" : 12, "bar" : 13}
+ """
+ ),
+ (
"Meta schema", """
validator = Draft3Validator(Draft3Validator.META_SCHEMA)
instance = validator.META_SCHEMA
Please sign in to comment.
Something went wrong with that request. Please try again.