⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
jsonschema
/
benchmarks
/
View File Name :
issue232.py
""" A performance benchmark using the example from issue #232. See https://github.com/python-jsonschema/jsonschema/pull/232. """ from pathlib import Path from pyperf import Runner from referencing import Registry from jsonschema.tests._suite import Version import jsonschema issue232 = Version( path=Path(__file__).parent / "issue232", remotes=Registry(), name="issue232", ) if __name__ == "__main__": issue232.benchmark( runner=Runner(), Validator=jsonschema.Draft4Validator, )