Skip to content

Revert "[stdlib] Add Substring comparison benchmarks" #9922

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
May 25, 2017

Conversation

shajrawi
Copy link

Reverts #9917

Fails to build:
/Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx/swift/benchmark/utils/main.swift:233:69: error: use of unresolved identifier 'run_EqualStringSubstringGenericStringProtocol'

@shajrawi shajrawi merged commit 5b091ce into master May 25, 2017
@shajrawi shajrawi deleted the revert-9917-substring-comparison-benchmarks branch May 25, 2017 03:23
@dabrahams
Copy link
Contributor

OMG, you can't just comment out tests; you have to rename them. Bah, humbug.

@palimondo
Copy link
Contributor

@dabrahams Do you want me to mess with the regEx that gathers the test names to ignore those with single line comments?

@palimondo
Copy link
Contributor

@dabrahams But I don't think it's worth it. It could not possibly cover your block comment. And there's the rule about not storing code in comments when we have version control… :-)

@palimondo
Copy link
Contributor

palimondo commented May 25, 2017

@dabrahams Why did you want to comment them out? Your initial comment on #9917 does not explain this to me. If you just wanted to not have them run as precommit checks, you could just stash them in the "string" test suite by modifying main.swift.gyb to match them in this section:

string_re = [
    "StringWalk.+",
]

Then rerun the harness generation again.

@dabrahams
Copy link
Contributor

dabrahams commented May 25, 2017 via email

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