Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

[PERFORMANCE]: v11 JSON validation with large files is utterly slow

Aberta
#862 2 comentários 0 reações 1 responsável Ver no GitHub

@jkowalleck já está trabalhando nisso.

Desde 23/7/2025.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

performance

since v11, after switching to the non-GPL JSON validators, the performance of validation of large files is utterly slow.

this is due to the slow performance of the used lib https://github.com/willynilly/rfc3987-syntax.

the following example file takes around a minute to validate: slow_validation.cdx.json
it has ~1200 entries that should conform to 'iri-reference' - which is syntax-checked by the mentioned library. see https://github.com/python-jsonschema/jsonschema/blob/6f6b3716421c07265e52a8552453b8047cf7210b/jsonschema/_format.py#L341-L350

Linguagem predominante
Python
Estrelas
117
Forks
67
Merge médio
8min
PRs com merge (30d)
1

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de CycloneDX/cyclonedx-python-lib

Todas as issues de CycloneDX/cyclonedx-python-lib

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.