]> Cypherpunks repositories - gostls13.git/commit
crypto/subtle: add additional benchmarks for XORBytes
authorJoel Sing <joel@sing.id.au>
Fri, 3 Jan 2025 08:06:07 +0000 (19:06 +1100)
committerJoel Sing <joel@sing.id.au>
Fri, 7 Feb 2025 09:32:39 +0000 (01:32 -0800)
commit85b5d11246a2c768646f49f3c6750a139ecd1b21
tree0a6869353f799978ebd74929a1ab4ebfab29737e
parent76c18e2ed2e62f34a9afed5e6fa681837cc16b77
crypto/subtle: add additional benchmarks for XORBytes

Provide alignment benchmarks for XORBytes, as well as including
8192 byte blocks in the existing benchmarks. This allows us to
better evaluate performance with unaligned inputs.

Change-Id: Iad497c594c0425389ae02ca848aede5cb0ac3afd
Reviewed-on: https://go-review.googlesource.com/c/go/+/639316
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Roland Shoemaker <roland@golang.org>
src/crypto/subtle/xor_test.go