Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Loading big projects on windows is extreamly slow
BlueHazzard:
Hi,
loading the attached project on my new windows machine takes
--- Code: ---ProjectManager::LoadProject took: 124.372 seconds.
--- End code ---
This loading makes codeblocks completely non repsonsive
in a linux VM (considerable less performant) loading the same project takes only
--- Code: ---ProjectManager::LoadProject took: 9.684 seconds.
--- End code ---
I think the main reason is the wxWidgets function wxFileName::MakeRelativeTo
more information will follow...
attached is the ziped project file in question
oBFusCATed:
Do you have other timing lines in the log?
This is the output for me on linux (Ryzen 7 1700):
--- Code: ---cbProject::Open took: 1.428 seconds.
NativeParser::DoFullParsing took: 0.068 seconds.
ProjectManager::SetProject took: 0.073 seconds.
ProjectManager::LoadProject took: 2.434 seconds.
--- End code ---
This is my version info:
--- Code: ---Name : Code::Blocks
Version : svn-r12278
SDK Version : 2.6.0
Scintilla Version: 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website : http://www.codeblocks.org
wxWidgets Library (wxGTK port)
Version 3.0.4 (Unicode: wchar_t, debug level: 1),
compiled at May 14 2020 22:46:15
Runtime version of toolkit used is 2.24.
Compile-time GTK+ version is 2.24.32.
--- End code ---
Are you using a release build of everything? Do you reproduce this if you use minimal set of plugins?
oBFusCATed:
If you want to really know what is going on, then V-Tune is one of the the easiest tool to use.
And it seems that it supports mingw: https://ib-krajewski.blogspot.com/2019/07/vtune-amplifier-and-profiling-mingw-on.html
Hint: You all you need is "basic hot spots" type of profile and then look at the "callers and callees" tab. It should work on both Intel and Amd processors.
BlueHazzard:
Looks cool, but i am not able to download it....
every time i try to download it asks me for user name and password, or for registration... I register but never get the email, i click resend, get the email, click on confirm, try to download, get error message that i am not logged in...
bu***sh**t website...
stahta01:
Remember to check your junk mail folder online if using GMail it blocks a lot of stuff.
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version