-
Notifications
You must be signed in to change notification settings - Fork 12
Comparing changes
Open a pull request
base repository: github/go-spdx
base: v2.3.6
head repository: github/go-spdx
compare: v2.4.0
- 16 commits
- 13 files changed
- 4 contributors
Commits on Jan 16, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 6c509e4 - Browse repository at this point
Copy the full SHA 6c509e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 234f721 - Browse repository at this point
Copy the full SHA 234f721View commit details
Commits on Jan 26, 2026
-
benchmark tests for validating MIT license
Two benchmarks were added: 1) `spdxexp.ValidateLicenses([]string{"MIT”})` 2) `”MIT” == “MIT”` NOTE: The array `[]string{"MIT”})` is created outside the benchmark loop to avoid it contributing to the benchmark time.Configuration menu - View commit details
-
Copy full SHA for c8ef242 - Browse repository at this point
Copy the full SHA c8ef242View commit details -
add summary table for quick evaluation of both methods
The benchmark and summary will allow us to quantify changes to the algorithm to help us work to a more efficient and scalable evaluation process.
Configuration menu - View commit details
-
Copy full SHA for 38dff46 - Browse repository at this point
Copy the full SHA 38dff46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cb8f2f - Browse repository at this point
Copy the full SHA 0cb8f2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b343565 - Browse repository at this point
Copy the full SHA b343565View commit details
Commits on Jan 31, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 6446b5e - Browse repository at this point
Copy the full SHA 6446b5eView commit details
Commits on Feb 19, 2026
-
add benchmarks specific to methods
Allows for before and after comparisons for Satisfies and ValidateLicenses methods. BEFORE ``` +----------------------------+---------------+-------------------+ | Benchmark ValidateLicenses | ns/op average | Scale (5ns/op=1x) | +----------------------------+---------------+-------------------+ | MIT | ~4577.2 ns/op | ~915x | | mit | ~4772.5 ns/op | ~954x | | Apache-2.0 | ~3771.4 ns/op | ~754x | | Zed | ~5625.4 ns/op | ~1,125x | | MIT AND Apache-2.0 | ~8173.8 ns/op | ~1,635x | | MIT AND Apache-2.0 OR Zed | ~13,477 ns/op | ~2,695x | | GPL-2.0-or-later | ~4608.5 ns/op | ~922x | | GPL-2.0+ | ~8780.0 ns/op | ~1,756x | +----------------------------+---------------+-------------------+ +---------------------------+------------------+----------------------+ | Benchmark Satisfies | ns/op average | Scale (1500ns/op=1x) | +---------------------------+------------------+----------------------+ | MIT | ~4,213,130 ns/op | ~2,809x | | mit | ~4,263,859 ns/op | ~2,843x | | Apache-2.0 | ~2,598,757 ns/op | ~1,733x | | Zed | ~5,607,040 ns/op | ~3,738x | | MIT AND Apache-2.0 | ~4,481,596 ns/op | ~2,988x | | MIT AND Apache-2.0 OR Zed | ~4,482,058 ns/op | ~2,988x | | GPL-2.0-or-later | ~9,803,113 ns/op | ~6,535x | | GPL-2.0+ | ~9,703,581 ns/op | ~6,469x | +---------------------------+------------------+----------------------+ ```
Configuration menu - View commit details
-
Copy full SHA for 586dda9 - Browse repository at this point
Copy the full SHA 586dda9View commit details -
use MIT shortcut for Satisfies and ValidateLicenses
AFTER ``` +----------------------------+---------------+-------------------+ | Benchmark ValidateLicenses | ns/op average | Scale (5ns/op=1x) | +----------------------------+---------------+-------------------+ | MIT | ~5.3 ns/op | ~1.1x | | mit | ~8.2 ns/op | ~1.6x | | Apache-2.0 | ~1536.8 ns/op | ~307x | | Zed | ~3192.3 ns/op | ~638x | | MIT AND Apache-2.0 | ~7676.7 ns/op | ~1,535x | | MIT AND Apache-2.0 OR Zed | ~12,745 ns/op | ~2,549x | | GPL-2.0-or-later | ~2267.0 ns/op | ~453x | | GPL-2.0+ | ~12,118 ns/op | ~2,424x | +----------------------------+---------------+-------------------+ +---------------------------+------------------+----------------------+ | Benchmark Satisfies | ns/op average | Scale (1500ns/op=1x) | +---------------------------+------------------+----------------------+ | MIT | ~1452.5 ns/op | 1x | | mit | ~1495.4 ns/op | 1x | | Apache-2.0 | ~2430.4 ns/op | ~1.6x | | Zed | ~5742.4 ns/op | ~3.8x | | MIT AND Apache-2.0 | ~4,079,706 ns/op | ~2,720x | | MIT AND Apache-2.0 OR Zed | ~4,217,486 ns/op | ~2,812x | | GPL-2.0-or-later | ~9,011,721 ns/op | ~6,008x | | GPL-2.0+ | ~9,509,477 ns/op | ~6,340x | +---------------------------+------------------+----------------------+ ```
Configuration menu - View commit details
-
Copy full SHA for 28d465d - Browse repository at this point
Copy the full SHA 28d465dView commit details -
Merge pull request #132 from github/elr/benchmark
benchmark tests for validating MIT license
Configuration menu - View commit details
-
Copy full SHA for 148e586 - Browse repository at this point
Copy the full SHA 148e586View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2289847 - Browse repository at this point
Copy the full SHA 2289847View commit details -
Merge pull request #133 from github/ci/pr-129
Replicate work in PR #129 - fix panic in parseWith
Configuration menu - View commit details
-
Copy full SHA for 2c4a570 - Browse repository at this point
Copy the full SHA 2c4a570View commit details -
Configuration menu - View commit details
-
Copy full SHA for b48955b - Browse repository at this point
Copy the full SHA b48955bView commit details -
Merge pull request #130 from github/auto-update-licenses
Update SPDX license files (2026-02-19 04:43 UTC)
Configuration menu - View commit details
-
Copy full SHA for ab7fd61 - Browse repository at this point
Copy the full SHA ab7fd61View commit details
Commits on Feb 20, 2026
-
Configuration menu - View commit details
-
Copy full SHA for f4547aa - Browse repository at this point
Copy the full SHA f4547aaView commit details -
Merge pull request #134 from github/v2.4.0-prep
update version to v2.4.0
Configuration menu - View commit details
-
Copy full SHA for c1dc1cd - Browse repository at this point
Copy the full SHA c1dc1cdView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.3.6...v2.4.0