+
    P4iX  ã            	       ó‚  € R t ^ RIHt ^ RIHt ^ RIHtHt ^ RIH	t	 RRR^R^R	RR
//t
]! 4       t]! 4       t]! 4       t]	! ]
4      tR tR t]R8X  dm   ^ RIHt ]! 4       t]P+                  R]4       ]P+                  R]4       ]P+                  RR 4       ]P+                  RR 4       ]P+                  RR 4       R# R# )zN
A benchmark which tries to compare the possible slow subparts of validation.
)ÚRegistry)ÚDRAFT202012)ÚHashTrieMapÚHashTrieSet)ÚDraft202012ValidatorÚtypeÚarrayÚ	minLengthÚ	maxLengthÚitemsÚintegerc                  óX   € \         P                  R R4      \        P                  R 4      3# )ÚfooÚbar)ÚhmapÚinsertÚhset© ó    ÚE/usr/lib/python3/dist-packages/jsonschema/benchmarks/subcomponents.pyÚregistry_data_structuresr      s!   € Ü�;‰;�u˜eÓ$¤d§k¡k°%Ó&8Ð8Ð8r   c                  ód   € \         P                  ! \        4      p \        P	                  R V R7      # )zurn:example)ÚuriÚresource)r   Úcreate_resourceÚschemaÚregistryÚwith_resource)r   s    r   Úregistry_addr      s(   € Ü×*Ò*¬6Ó2€HÜ×!Ñ! m¸hÐ!ÓGÐGr   Ú__main__)ÚRunnerzHashMap/HashSet insertionzRegistry insertionÚSuccessc                  ó.   € \         P                  ^.4      # )é   ©ÚvÚis_validr   r   r   Ú<lambda>r'   (   s   € ¬¯©°Q°C¬r   ÚFailurec                  ó.   € \         P                  R .4      # )r   r$   r   r   r   r'   r'   )   s   € ¬¯©°U°GÔ)<r   zMetaschema validationc                  ó4   € \         P                  \        4      # )N)r%   Úcheck_schemar   r   r   r   r'   r'   *   s   € ´q·~±~ÄfÔ7Mr   N)Ú__doc__Úreferencingr   Úreferencing.jsonschemar   Úrpdsr   r   Ú
jsonschemar   r   r   r   r   r%   r   r   Ú__name__Úpyperfr    ÚrunnerÚ
bench_funcr   r   r   Ú<module>r5      sÖ   ðñõ !Ý .ß )å +ð ˆGØ�Ø�Øˆf�iÐ ð	
€ñ ƒ}€Ùƒ}€á‹:€á˜Ó €ò9òHð
 ˆzÔÝÙ‹X€Fà
×ÑÐ1Ð3KÔLØ
×ÑÐ*¨LÔ9Ø
×Ñ�iÑ!8Ô9Ø
×Ñ�iÑ!<Ô=Ø
×ÑÐ-Ñ/MÖNñ r   