HEX
Server: Apache
System: Linux 185.122.168.184.host.secureserver.net 5.14.0-570.60.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Nov 5 05:00:59 EST 2025 x86_64
User: barbeatleanalyti (1024)
PHP: 8.1.33
Disabled: NONE
Upload Files
File: //var/opt/nydus/ops/jsonschema/benchmarks/__pycache__/unused_registry.cpython-39.pyc
a

�,�h��@s�dZddlmZddlmZddlmZddlmZe��	de�
i��ZddiZd	d
iZ
ee�Zeeed�Zedkr�e�Ze�d
dd��e�ddd��dS)z�
An unused schema registry should not cause slower validation.

"Unused" here means one where no reference resolution is occurring anyhow.

See https://github.com/python-jsonschema/jsonschema/issues/1088.
�)�Runner)�Registry)�DRAFT201909)�Draft201909Validatorzurn:example:fooz$refz,https://json-schema.org/draft/2019-09/schemaZ	maxLength�)�registry�__main__zno registrycCs
t�t�S�N)�no_registry�is_valid�instance�r
r
�V/opt/nydus/tmp/pip-target-wkfpz8uv/lib/python/jsonschema/benchmarks/unused_registry.py�<lambda>�rzuseless registrycCs
t�t�Sr	)�with_useless_registryrrr
r
r
rr"rN)�__doc__ZpyperfrZreferencingrZreferencing.jsonschemarZ
jsonschemarZ
with_resourceZcreate_resourcerZschemarr
r�__name__�runnerZ
bench_funcr
r
r
r�<module>s,���