Validate the results in addition to benchmarking.
Details
Details
Diff Detail
Diff Detail
- Repository
- rOLDT svn-test-suite
- Build Status
Buildable 48977 Build 53076: arc lint + arc unit
Event Timeline
Comment Actions
A few nits.
MicroBenchmarks/MemFunctions/main.cpp | ||
---|---|---|
27 | It's not super clear what "the real memcmp" means here. Maybe something along those lines: // This function prevents the compiler from interfering with `memcmp` and makes sure the function is called. | |
57 | Maybe it's worth instantiating the predicate object and use it as a functor. |
Comment Actions
Thanks, PTAL.
MicroBenchmarks/MemFunctions/main.cpp | ||
---|---|---|
57 | Actually there is no reason to create an instance. I made the function static. |
It's not super clear what "the real memcmp" means here. Maybe something along those lines: