Skip to content

Comments

all: use testing.B.Loop()#1864

Merged
lmb merged 1 commit intocilium:mainfrom
lmb:benchmark-loop
Sep 11, 2025
Merged

all: use testing.B.Loop()#1864
lmb merged 1 commit intocilium:mainfrom
lmb:benchmark-loop

Conversation

@lmb
Copy link
Contributor

@lmb lmb commented Sep 11, 2025

Switch to using b.Loop() which prevents the compiler from optimising away the body.

Switch to using b.Loop() which prevents the compiler
from optimising away the body.

Signed-off-by: Lorenz Bauer <[email protected]>
@lmb lmb marked this pull request as ready for review September 11, 2025 15:48
@lmb lmb requested review from a team, dylandreimerink, florianl and mmat11 as code owners September 11, 2025 15:48
@lmb lmb merged commit 5ba3156 into cilium:main Sep 11, 2025
18 checks passed
@lmb lmb deleted the benchmark-loop branch September 11, 2025 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant