-
Notifications
You must be signed in to change notification settings - Fork 720
do not waste time when metrics delegate is not set #3441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
73c7489 to
f66497b
Compare
glbrntt
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
@glbrntt do you know about the benchmarks? what does that mean? |
|
Nothing, it means that swift-package-benchmark has stopped being reliable. I'll re-run for now. |
Hmm, I've done it a bunch of times for 6.2, seems consistently failing. But I did only re-run the failing tests not everything |
|
@Lukasa yeah failed again :\ |
|
@Lukasa how can I get this in? The PRBs are very unstable, sometimes 1 fails, sometimes 3 fail, never gotten it to zero :'( |
The alloc count is low in that test ( |
|
Works for me. |
Motivation:
Unfortunately, even if no metics delegate has been configured, significant work is being done each EL tick. Concretely:
NIODealine.now()calls which are expensive particularly on some hypervisors (may cause a VMEXIT!)Modifications:
Result:
If no delegate is set, each EL tick will now be faster.