Skip to content

Workaround perf test running too many iterations #90

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
Mar 7, 2019

Conversation

benlangmuir
Copy link
Contributor

No description provided.

@benlangmuir
Copy link
Contributor Author

@swift-ci please test

@@ -24,8 +24,7 @@ final class SupportPerfTests: PerfTestCase {
"\t", "\n"
] + (32...126).map { Character(UnicodeScalar($0)) }

// The debug performance is shockingly bad.
#if DEBUG
#if DEBUG || !ENABLE_PERF_TESTS
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 please not run any perf tests on the PR bots?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's already not running as a performance test (i.e. I hooked the measure family of methods so that they don't check perf and only run their block once).

@benlangmuir benlangmuir merged commit dbd474e into swiftlang:master Mar 7, 2019
@benlangmuir benlangmuir deleted the perf-slow branch March 7, 2019 02:00
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.

3 participants