Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#862 2 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@jkowalleck 已经在做这个了。

开始于 2025年7月23日。

评估

这个 Issue 还没有评估数据。

描述

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

主要语言
Python
星标
117
派生
67
平均合并
21 小时 9 分钟
30 天内合并 PR
3

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CycloneDX/cyclonedx-python-lib 的其他 Issue

查看 CycloneDX/cyclonedx-python-lib 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。