This commit is contained in:
Joel Wetzell
2026-05-20 22:28:05 -05:00
parent cf41bcae85
commit fb3c775765
3 changed files with 3 additions and 3 deletions
@@ -116,7 +116,7 @@ func BenchmarkStringDecode(b *testing.B) {
count := 0
for b.Loop() {
_, err := processorInstance.Process(b.Context(), common.WrappedPayload{Payload: []byte(fmt.Sprintf("%d", count))})
_, err := processorInstance.Process(b.Context(), common.WrappedPayload{Payload: fmt.Appendf(nil, "%d", count)})
if err != nil {
b.Fatalf("string.decode processing failed: %s", err)
}