- changed status to resolved
- removed comment
Carpet timers are slow
Issue #688
closed
The Carpet timers (file CactusTimers.cc) performs unnecessary work that is not necessary unless timers_verbose is given. It calls the flesh to obtain the timer name, converts this to a C++ string (malloc/free), and back to a C string. This is due to the API of msgStart and msgStop.
The routine serialise changes the output stream properties by modifying the output format (scientific) and the precision. This should be undone afterwards in the same routine.
Keyword:
Comments (2)
-
reporter -
- changed status to closed
- edited description
- Log in to comment
I misread the code.