Startup 6.9.1 A LOT Slower than 6.8.1
-
Hello
I've recently migrated to 6.9.1 ver and I noticed that my apps starts A LOT slower, I'm talking about 60-80 second start up in debug mode comparing to 5-15, which is quite... massive...
Is this release bugged/should I do something ? Any1 else experiencing this issue?
Thanks! -
Hello
I've recently migrated to 6.9.1 ver and I noticed that my apps starts A LOT slower, I'm talking about 60-80 second start up in debug mode comparing to 5-15, which is quite... massive...
Is this release bugged/should I do something ? Any1 else experiencing this issue?
Thanks!@Dariusz said in Startup 6.9.1 A LOT Slower than 6.8.1:
my apps starts A LOT slower, I'm talking about 60-80 second start up in debug mode comparing to 5-15
That sounds very abnormal. I haven't seen anything like this myself, but if you can simplify your project into a reproducer, please create a bug report at https://bugreports.qt.io/secure/Dashboard.jspa, attach your reproducer, and add
[Reg 6.8.1 -> 6.9.1]to your report title to highlight that it is a recent regression. -
Hey
I've had a bit of time to start digging in to it a bit more.
My slowdowns seems to come from here :inline void registerImage(const keyType&key, const QImage&img) { mImageCache[key] = img; }; inline void registerPixmap(const keyType&key, const keyType&imagePath) { mPixmapCache[key] = QPixmap(imagePath); }; inline void registerPixmap(const keyType&key, const QPixmap&img) { mPixmapCache[key] = img; }; inline void registerIcon(const keyType&key, const keyType&imagePath) { mIconCache[key] = QIcon(imagePath); }; inline void registerIcon(const keyType&key, const QIcon&img) { mIconCache[key] = img; }; /*! * Register input as all types of images & convert for each. * @param key * @param data */ inline void registerAll(const keyType&key, const keyType&data) { registerImage(key, data); registerPixmap(key, data); registerIcon(key, data); mRegisteredPaths[key] = data; }keyType = QString/char*/etc
the path I'm providing here is from QRC compiled svg icons.I remember reading that qt was getting new SVG engine, and this is VERY slow now, my app startup went from instant to 20-30 seconds.
I'm still drilling down what is exactly causing it, but do we have any reports of svg/pixmap/qimage issues?
Appear to be this:
https://qt-project.atlassian.net/browse/QTBUG-139060
seems like 6.10.1 does not have any fix yet... :-( -
Hey
I've had a bit of time to start digging in to it a bit more.
My slowdowns seems to come from here :inline void registerImage(const keyType&key, const QImage&img) { mImageCache[key] = img; }; inline void registerPixmap(const keyType&key, const keyType&imagePath) { mPixmapCache[key] = QPixmap(imagePath); }; inline void registerPixmap(const keyType&key, const QPixmap&img) { mPixmapCache[key] = img; }; inline void registerIcon(const keyType&key, const keyType&imagePath) { mIconCache[key] = QIcon(imagePath); }; inline void registerIcon(const keyType&key, const QIcon&img) { mIconCache[key] = img; }; /*! * Register input as all types of images & convert for each. * @param key * @param data */ inline void registerAll(const keyType&key, const keyType&data) { registerImage(key, data); registerPixmap(key, data); registerIcon(key, data); mRegisteredPaths[key] = data; }keyType = QString/char*/etc
the path I'm providing here is from QRC compiled svg icons.I remember reading that qt was getting new SVG engine, and this is VERY slow now, my app startup went from instant to 20-30 seconds.
I'm still drilling down what is exactly causing it, but do we have any reports of svg/pixmap/qimage issues?
Appear to be this:
https://qt-project.atlassian.net/browse/QTBUG-139060
seems like 6.10.1 does not have any fix yet... :-(@Dariusz said in Startup 6.9.1 A LOT Slower than 6.8.1:
Appear to be this:
https://qt-project.atlassian.net/browse/QTBUG-139060
seems like 6.10.1 does not have any fix yet... :-(I just tried the test code + image from QTBUG-139060 using Release builds with MinGW:
Qt version Load time (s) 6.7.3 6 6.9.2 93 6.10.2 7 So, that particular issue looks fixed to me.
If you're still seeing significantly slower loads in Qt 6.10 compared to Qt 6.7, please create a new bug report with a minimal reproducer.
-
@Dariusz said in Startup 6.9.1 A LOT Slower than 6.8.1:
Appear to be this:
https://qt-project.atlassian.net/browse/QTBUG-139060
seems like 6.10.1 does not have any fix yet... :-(I just tried the test code + image from QTBUG-139060 using Release builds with MinGW:
Qt version Load time (s) 6.7.3 6 6.9.2 93 6.10.2 7 So, that particular issue looks fixed to me.
If you're still seeing significantly slower loads in Qt 6.10 compared to Qt 6.7, please create a new bug report with a minimal reproducer.
-
This post is deleted!