CycloneDX / CycloneDX/cyclonedx-python-lib

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

オープン
#862 コメント 2 件 リアクション 0 件 担当者 1 名 @jkowalleck が担当を希望しています GitHub で見る
performance
主要言語
Python
スター
116
フォーク
67
平均マージ
8日 2時間
マージ済み PR(30日)
2

説明

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 .

the following example file takes around a minute to validate: [slow_validation.cdx.json](https://github.com/user-attachments/files/21386342/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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。