You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have made the necessary changes for this bug report, but I think it would be useful to evaluate the situation I encountered and get more information in general.
First, I made adjustments to print duration values in seconds with a precision of 6 digits.
Next, I went through the test output and added calls to tests that did not have time measurement calls. This change required me to update quite a lot of files. Here, I thought about adjusting the time in the constructor and destructor of the result object, or evaluating different ideas, but I didn't want to break the existing code structure, considering the situation with the fields where the object is held in the vector.
After these changes, I noticed that when I ran the tests, the duration values were not always printed due to the "if (m_ns_taken) > 0" condition of the "std::string Test::Result::result_string()" function in "test.cpp".
I tried to make these changes quickly (over the weekend), but I will review them again. At this point, I would like your guidance on the time measurement and the if condition I mentioned above.
I would love to work on this bug report if you can. (I didn't want to create a merge request for now.)
Some but not all of the tests report how long they took. Fix this.
Also the time reported should be normalized to always print seconds, instead of in ms if fast but in seconds if > 1 s.
The text was updated successfully, but these errors were encountered: