← Back to team overview

kicad-developers team mailing list archive

Re: Windows performance issue

 

Le 07/08/2018 à 22:21, Jeff Young a écrit :
> I think it applied OK.  It appears to need some wx header files and some
> fixes in string handling.
> 
> I could guess at them, but probably more efficient for someone on MSW.

Hi jeff.

The patch has 2 issues:

the std::string must be std::wstring.

But the most annoying issue is the fact
ConvertFileTimeToWx
is not available outside filename.cpp:
it is a wxWidgets static function inside src/common/filename.cpp

> 
> 
>> On 7 Aug 2018, at 20:47, Nick Østergaard <oe.nick@xxxxxxxxx
>> <mailto:oe.nick@xxxxxxxxx>> wrote:
>>
>> It looks lile the patch does not compile, but maybe the patch was not
>> applied correctly. You should be able to look at the patched code in
>> the workspace.
>>
>> tir. 7. aug. 2018 21.39 skrev Nick Østergaard <oe.nick@xxxxxxxxx
>> <mailto:oe.nick@xxxxxxxxx>>:
>>
>>     I triggered this windows build with the patch.
>>
>>     https://jenkins.simonrichter.eu:8443/job/windows-kicad-msys2-patch/70/
>>
>>     tir. 7. aug. 2018 21.34 skrev Jeff Young <jeff@xxxxxxxxx
>>     <mailto:jeff@xxxxxxxxx>>:
>>
>>         I did some performance optimisations for POSIX kernels which
>>         hugely improves the speed of time-stamping a directory of
>>         files.  But it’s still (very) slow on MSW.
>>
>>         I’ve written a version of the optimisation for MSW, but of
>>         course I can’t even compile it, much less test it.  Any
>>         volunteers?
>>
>>         Cheers,
>>         Jeff.


-- 
Jean-Pierre CHARRAS


Follow ups

References