]> Cypherpunks repositories - gostls13.git/commit
runtime: exclude allocation(s) from memmove/memclr benchmarking
authorDmitrii Martynov <fkr011288@gmail.com>
Thu, 30 Jan 2025 18:48:17 +0000 (21:48 +0300)
committerKeith Randall <khr@golang.org>
Sun, 23 Feb 2025 17:38:24 +0000 (09:38 -0800)
commit4dfae6aad54b9e399e5144c9b58a9c87a8afbe56
treea742a05a7cdb3ac7e0ff6c1354276bff778befec
parente7cd4979bec709b6d9c7428912e66348405e2a51
runtime: exclude allocation(s) from memmove/memclr benchmarking

The overhead for allocation is not significant but it should be excluded
from the memmove/memclr benchmarking anyway.

Change-Id: I7ea86d1b85b13352ccbff16f7510caa250654dab
Reviewed-on: https://go-review.googlesource.com/c/go/+/645576
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/memmove_test.go