Prv8 Shell
Server : Apache
System : Linux server.mata-lashes.com 3.10.0-1160.90.1.el7.x86_64 #1 SMP Thu May 4 15:21:22 UTC 2023 x86_64
User : matalashes ( 1004)
PHP Version : 8.1.29
Disable Function : NONE
Directory :  /proc/17567/root/usr/local/lib/python3.6/site-packages/jsonschema/benchmarks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/17567/root/usr/local/lib/python3.6/site-packages/jsonschema/benchmarks/issue232.py
"""
A performance benchmark using the example from issue #232.

See https://github.com/Julian/jsonschema/pull/232.
"""
from pathlib import Path

from pyperf import Runner
from pyrsistent import m

from jsonschema.tests._suite import Version
import jsonschema

issue232 = Version(
    path=Path(__file__).parent / "issue232",
    remotes=m(),
    name="issue232",
)


if __name__ == "__main__":
    issue232.benchmark(
        runner=Runner(),
        Validator=jsonschema.Draft4Validator,
    )

haha - 2025