Skip to content

Disable really large Data tests that take a bit too long to run #20411

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

Merged
merged 1 commit into from
Nov 10, 2018

Conversation

phausler
Copy link
Contributor

@phausler phausler commented Nov 7, 2018

The benchmarks for Data are a bit harsh for CI to run. This disables the really big ones.

@phausler
Copy link
Contributor Author

phausler commented Nov 7, 2018

@swift-ci please smoke test

@phausler phausler requested a review from eeckstein November 7, 2018 23:05
Copy link
Contributor

@eeckstein eeckstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also disable DataCountLarge

BenchmarkInfo(name: "DataCreateEmptyArray", runFunction: run_createEmptyArray, tags: [.validation, .api, .Data]),
BenchmarkInfo(name: "DataCreateSmallArray", runFunction: run_createSmallArray, tags: [.validation, .api, .Data]),
BenchmarkInfo(name: "DataCreateMediumArray", runFunction: run_createMediumArray, tags: [.validation, .api, .Data]),
BenchmarkInfo(name: "DataSubscriptSmall", runFunction: run_SubscriptSmall, tags: [.validation, .api, .Data]),
BenchmarkInfo(name: "DataSubscriptMedium", runFunction: run_SubscriptMedium, tags: [.validation, .api, .Data]),
BenchmarkInfo(name: "DataSubscriptLarge", runFunction: run_SubscriptLarge, tags: [.validation, .api, .Data]),
BenchmarkInfo(name: "DataSubscriptLarge", runFunction: run_SubscriptLarge, tags: [.validation, .api, .Data, .skip]),
BenchmarkInfo(name: "DataCountSmall", runFunction: run_CountSmall, tags: [.validation, .api, .Data]),
BenchmarkInfo(name: "DataCountMedium", runFunction: run_CountMedium, tags: [.validation, .api, .Data]),
BenchmarkInfo(name: "DataCountLarge", runFunction: run_CountLarge, tags: [.validation, .api, .Data]),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also disable this one. It also takes long.

@phausler phausler force-pushed the disable_large_data_benchmarks branch from 98f3341 to ff26e96 Compare November 7, 2018 23:49
@phausler
Copy link
Contributor Author

phausler commented Nov 7, 2018

@swift-ci please smoke test and merge

@airspeedswift
Copy link
Member

While we're looking, IterateData is very noisy – it appears in about half of my benchmark runs.

@phausler
Copy link
Contributor Author

phausler commented Nov 9, 2018

@swift-ci please smoke test

@eeckstein eeckstein merged commit abe37b0 into swiftlang:master Nov 10, 2018
@gottesmm
Copy link
Contributor

@phausler just a suggestion. Maybe we should have a .long tag or something like that (and maybe run them during the long test?) not sure.

@palimondo
Copy link
Contributor

@airspeedswift Re: noisy IterateData. With what benchmark running method are you seeing this?

palimondo added a commit to palimondo/swift that referenced this pull request Jan 4, 2019
Refactored to use shared test method and inlined runFunctions.
Extracted setup overhead.

Re-enabled `Large` tests errorneously disabled in swiftlang#20411.
palimondo added a commit to palimondo/swift that referenced this pull request Jan 4, 2019
Refactored to use shared test method and inlined runFunctions.

Re-enabled `Large` test errorneously disabled in swiftlang#20411. Removed `skip` tags, as this was the last use.
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.

5 participants