Skip to content
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

[SR-9907] DataAppendDataLargeToLarge benchmark is unstable #52313

Closed
eeckstein opened this issue Feb 11, 2019 · 4 comments
Closed

[SR-9907] DataAppendDataLargeToLarge benchmark is unstable #52313

eeckstein opened this issue Feb 11, 2019 · 4 comments
Assignees
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself

Comments

@eeckstein
Copy link
Member

Previous ID SR-9907
Radar None
Original Reporter @eeckstein
Type Bug
Status Closed
Resolution Done

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee @palimondo
Priority Medium

md5: aafd9c21b73a0959141b6a2153ce8d03

relates to:

  • SR-9911 Data.append - high performance fluctuation

Issue Description:

no-op changes report a performance difference of 1.35x.

For example, see the benchmark run in #22341

@eeckstein
Copy link
Member Author

Pavol, would you be able to take a look?

@palimondo
Copy link
Mannequin

palimondo mannequin commented Feb 11, 2019

I’ll try… I’ve seen this jumping up and down a lot. But I suspect it is an artifact of Data’s implementation. I’ll report tomorrow.

@palimondo
Copy link
Mannequin

palimondo mannequin commented Feb 12, 2019

OK, so DataAppendDataLargeToLarge has multimodal runtimes (2 major, and 2 minor modes). There is 36% difference between the major modes. It has about 3:10 or 4:12 chance of not hitting the minimal mode.

This multimodal behavior of Data should be looked at separately. But I think the most robust way to fix sporadic reports of this false change is to bump unchanged_lenght_count comparison in run_smoke_bench from 5 to 10. Would you agree, @eeckstein?

@palimondo
Copy link
Mannequin

palimondo mannequin commented Feb 12, 2019

PR #22546

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself
Projects
None yet
Development

No branches or pull requests

1 participant