Re: [Qt-creator] Mime performance
Hi Orgad, Everybody around here is waiting for christmas holidays, so do not expect much to happen in the next few weeks! On Fri, Dec 21, 2018 at 11:48 AM Orgad Shaneh wrote: > Building the project tree for qtcreator.pro takes about 5 seconds, on which > the GUI is blocked. > > I profiled setRootProjectNode(QmakeNodeTreeBuilder::buildTree(this)) in > QmakeProject, and found out that mimetype resolving is the heaviest operation > there. > > Is it possible to cache mimetype results? Or at least have a cache for common > extension such as cpp/cxx/c/h/hxx? Sure, ideally somewhere inside the mimetype code itself. I am pretty sure qmake is not the only kind of project that can benefit from speeding up detection of common file types. Best Regards, Tobias ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] Perf parser
> Is it possible to profile Creator using perf from within the same > Creator executable? I can profile other applications, but trying to > profile Creator I notice that perfparser remains 100% active when the > other instance window is already closed. I've profiled Qt Creator with the Performance Analyzer before. Profiling creator generates _a lot_ of data, though. If perfparser takes too long to process it, you could reduce the sampling frequency or the stack depth. If it still takes a long time with a very low sampling frequency (say, 10), then it's a bug in perfparser. Also, make sure to use an optimized build of perfparser and the "parent" qtcreator. That makes a big difference for me at least. Ulf ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
[Qt-creator] Perf parser
Hi, Thanks for open sourcing this feature, looks promising :) Is it possible to profile Creator using perf from within the same Creator executable? I can profile other applications, but trying to profile Creator I notice that perfparser remains 100% active when the other instance window is already closed. - Orgad ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
Re: [Qt-creator] Clang code model running in C++98 mode
On 15.11.2018 16:33, Nikolai Kosjar wrote: On 11/15/18 3:55 PM, Julius Bullinger wrote: We're still running MSVC 2013, which doesn't seem to be covered by this exceptions. I tested opening the project with a MSVC 2017 Version 15.8 kit, and with that, the code model reports a C++ version of CXX17 (although it should be C++11)! So, I guess this is a bug in Creator regarding C++ version detection with MSVC 2013? Looks like that, yes, please report. For some reason the code path that checks _MSC_VER fails or is never executed. Or there is a bug in the macro cache. Nikolai I was able to reproduce the issue by opening the qtcreator project in Qt Creator and configuring it with a MSVC2013 kit. Clang code model doesn't seem to be happy with most of the lines. Therefore, I filed QTCREATORBUG-21765. Thank you for your help, Nikolai! Regards, Julius ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator
[Qt-creator] Mime performance
Hi, Building the project tree for qtcreator.pro takes about 5 seconds, on which the GUI is blocked. I profiled setRootProjectNode(QmakeNodeTreeBuilder::buildTree(this)) in QmakeProject, and found out that mimetype resolving is the heaviest operation there. Is it possible to cache mimetype results? Or at least have a cache for common extension such as cpp/cxx/c/h/hxx? - Orgad ___ Qt-creator mailing list Qt-creator@qt-project.org https://lists.qt-project.org/listinfo/qt-creator