sscanf turns out to be slow for reading floating points.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
tools/llvm-exegesis/lib/BenchmarkResult.cpp | ||
---|---|---|
90 ↗ | (On Diff #168234) | what about adding an overload for consumeUnsignedInteger(uint64_t) and delegating to a template<typename T> consumeUnsignedInteger(T) in the cpp file ? |
Comment Actions
It looks like you're reading/writing hex integer values now - weren't they regular decimals before hand?
Comment Actions
Nope they were hex before as well.
I tested the analysis on an YAML file written with a previous version, it should be a NFC.