Skip to content

Conversation

hdonnay
Copy link
Member

@hdonnay hdonnay commented Apr 5, 2024

No description provided.

@hdonnay hdonnay force-pushed the hack/json2 branch 2 times, most recently from 2d2a833 to a8a4a81 Compare April 10, 2024 15:01
@hdonnay
Copy link
Member Author

hdonnay commented Apr 10, 2024

Added a benchmark to the simple usage added in notifier/webhook, which seems promising:

goos: linux
goarch: amd64
pkg: github.com/quay/clair/v4/notifier/webhook
cpu: 11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz
BenchmarkEncodingJSON-16                  896776              1246 ns/op             657 B/op         11 allocs/op
BenchmarkCodecJSON-16                    1399909               850.9 ns/op           656 B/op         11 allocs/op
BenchmarkExperimentalJSON-16             2512387               470.7 ns/op            80 B/op          3 allocs/op
PASS
ok      github.com/quay/clair/v4/notifier/webhook       4.866s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant