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

Speed up printing of characters which need hex escaping #830

Closed
wants to merge 1 commit into from

Conversation

brian-peloton
Copy link
Contributor

This change speeds up the runtime of a value-parameterized test I have
which has lots of values with large strings full of unprintable
characters by 2x. I profiled it and traced most of the slowness during
googletest startup down to the way String::FormatHexInt was creating and
destroyed a stringstream for each character in the string for each
value.

This change speeds up the runtime of a value-parameterized test I have
which has lots of values with large strings full of unprintable
characters by 2x. I profiled it and traced most of the slowness during
googletest startup down to the way String::FormatHexInt was creating and
destroyed a stringstream for each character in the string for each
value.
@gennadiycivil
Copy link
Contributor

This is sadly out of date now and there are merge conflicts.
Best way forward is for me to close it. Please feel free to re-open, resolve the merge conflicts and we could take a look

@brian-peloton
Copy link
Contributor Author

I rebased (actually didn't see any merge conflicts), but I can't reopen the issue because it's you who closed it (isaacs/github#583).

@gennadiycivil
Copy link
Contributor

Would you mind just doing a new PR? I want to get a clean build

@brian-peloton
Copy link
Contributor Author

Done as #1225.

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.

2 participants