In Qt 5 the difference of the time taken to run QPainterPath::createStroke() is considerably higher than it was in Qt 4.8. The example attached gives the following results:
Note the example tests the whole creation of the QPainterPathStroker as well as setting it up, but the same is done for the Qt 4.8 approach too.
|For Gerrit Dashboard: QTBUG-77241|
|270350,2||Limit curve stroking threshold to reasonable range||5.12||qt/qtbase||Status: MERGED||+2||0|