Comment 1 for bug 1737363

Revision history for this message
Wayne Stambaugh (stambaughw) wrote : Re: [Bug 1737363] [NEW] Poor performance switching sheets in eeschema

Is this only on the first sheet switch or every sheet switch? Please
keep in mind, the new symbol library table uses lazy loading so if you
open a sheet with symbols in libraries that have not been opened yet,
there will be a performance penalty as the libraries are parsed.
However, 20 seconds seems way out of line from what I have seen (<1s).
I could move this time penalty to the start up time of Eeschema and just
load every library at launch time and then it should not be issue. Try
opening symbol chooser first because it load every symbol in the symbol
library table and see if that improves your sheet load performance.
Technically the new symbol loading should be faster because there is no
more searching every library for a symbol name unit it's found unless
the symbol cannot be found in it's specified library and falls back to
the cache library.

On 12/09/2017 05:58 PM, Chris Pavlina wrote:
> Public bug reported:
>
> I'm not sure which recent change caused this (could be the library
> system or several other candidates), but KiCad now freezes for at least
> 20 seconds when switching sheets in one of my larger projects.
>
> Application: kicad
> Version: (2017-12-09 revision 48388695a)-master, debug build
> Libraries:
> wxWidgets 3.0.3
> libcurl/7.57.0 OpenSSL/1.1.0g zlib/1.2.11 libidn2/2.0.4 libpsl/0.18.0 (+libidn2/2.0.4) libssh2/1.8.0 nghttp2/1.28.0
> Platform: Linux 4.14.4-1-ARCH x86_64, 64 bit, Little endian, wxGTK
> Build Info:
> wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
> Boost: 1.65.1
> Curl: 7.57.0
> Compiler: GCC 7.2.0 with C++ ABI 1011
>
> Build settings:
> USE_WX_GRAPHICS_CONTEXT=OFF
> USE_WX_OVERLAY=OFF
> KICAD_SCRIPTING=ON
> KICAD_SCRIPTING_MODULES=ON
> KICAD_SCRIPTING_WXPYTHON=ON
> KICAD_SCRIPTING_ACTION_MENU=OFF
> BUILD_GITHUB_PLUGIN=ON
> KICAD_USE_OCE=ON
> KICAD_SPICE=ON
>
> ** Affects: kicad
> Importance: Low
> Status: New
>
>
> ** Tags: eeschema
>