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.pull/1225/head
parent
b43bfcf491
commit
4d26df729c
1 changed files with 4 additions and 1 deletions
Loading…
Reference in new issue