[PERFORMANCE]: v11 JSON validation with large files is utterly slow
@jkowalleck 已經在處理了。
開始於 2025年7月23日。
評估
這個 Issue 還沒有評估資料。
描述
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
- 平均合併
- 3 天 9 小時
- 30 天內合併 PR
- 4
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
CycloneDX/cyclonedx-python-lib 的其他 Issue
-
Support Python 3.15可能已有人在做 @jkowalleck 於 3 天前認領。 未關閉enhancement
CycloneDX/cyclonedx-python-lib#1056 · 已指派 1 人 ·
-
[PERF] Quadratic (O(N^2)) serialization time for large BOMs — `Bom.validate()` → `register_dependency()` linear scan可能已有人在做 @inspired-geek 於 123 天前認領。 未關閉performance
難度 3/5 1-2 天 新手友好度 36/100
CycloneDX/cyclonedx-python-lib#1006 · 2 則留言 ·
-
tests: test all model enums可能重新可做 @jkowalleck 於 139 天前認領,目前沒有進行中的 PR。 未關閉QA
CycloneDX/cyclonedx-python-lib#991 · 已指派 1 人 ·
-
feat(deps)!: make all de/serialization libraries optional可能重新可做 @Simoh23999 於 86 天前認領,目前沒有進行中的 PR。 未關閉breaking change dependencies
難度 5/5 一週以上 新手友好度 35/100
CycloneDX/cyclonedx-python-lib#979 · 2 則留言 ·
-
feat: Add support for Component signature可能已有人在做 @wiebe-vandendriessche 於 137 天前認領。 未關閉enhancement help wanted schema 1.4
難度 3/5 1-2 天 新手友好度 58/100
CycloneDX/cyclonedx-python-lib#978 · 4 則留言 ·
查看 CycloneDX/cyclonedx-python-lib 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 72/100
slavakurilyak/awesome-ai-agents#845 ·
維護者通常 1 天內回覆
-
tests: pin that the atomic writers in utils/paths.py stage the temporary file in the target's directory可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉difficulty:2 enhancement good first issue
難度 1/5 1-3 小時 新手友好度 92/100
MakazhanAlpamys/Soup#2178 ·
維護者通常 1 天內回覆
-
[BUG] dcg.waggr permutation p-values are folded twice, so near-zero scores get the smallest p-values未關閉
難度 2/5 1-3 小時 新手友好度 75/100
scverse/rapids-singlecell#854 ·
維護者通常 1 天內回覆
-
Slang input: int8_t4_packed and uint8_t4_packed are copied into CrossGL可能已有人在做 @ninglinLiu 今天認領。 未關閉area:frontend backend:slang bug direction:input
難度 2/5 1-3 小時 新手友好度 70/100
維護者通常 1 天內回覆
-
random_elements(unique=True) on an OrderedDict: ZeroDivisionError once only zero weights remain, AssertionError with use_weighting=False可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 13 天內回覆