Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.11.1
-
None
Description
If the behavior for QBENCHMARK_ONCE described here is still correct, then the online documentation of this macro is wrong : http://doc.qt.io/qt-5/qtest.html#QBENCHMARK_ONCE
Expected documentation: QBENCHMARK_ONCE runs code it contains N times, but ignore the time of the first loop to compute the final result.
Actual documentation: QBENCHMARK_ONCE runs code it contains only once.