Skip to content

Optimize builtin schema usage: skip 'check_schema' - #739

Merged
sirosen merged 1 commit into
python-jsonschema:mainfrom
sirosen:optimize-out-check-schema
Oct 25, 2026
Merged

sirosen merged 1 commit into
python-jsonschema:mainfrom
sirosen:optimize-out-check-schema

Conversation

@sirosen

@sirosen sirosen commented Oct 25, 2026

Copy link
Copy Markdown
Member

This optimization is tied to the use of a builtin schema, and is not currently exposed for general use.

Profiling shows improvements, depending on exact running conditions, that are as good as dropping runtime from ~180ms to ~110ms.

This optimization is tied to the use of a builtin schema, and is not
currently exposed for general use.

Profiling shows improvements, depending on exact running conditions, that
are as good as dropping runtime from ~180ms to ~110ms.
@sirosen
sirosen merged commit 4ccb350 into python-jsonschema:main Oct 25, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant