Menu

#246 Project loading/layout speedup

Next_Nightly
open
Patch
2016-01-30
2015-11-07
Bat
No

Small patch to speed up Layout loading / apply (create a cache for tab ref)
Patch is to be applied in src folder

1 Attachments

Discussion

  • Teodor Petrov

    Teodor Petrov - 2015-11-08
    • assigned_to: Jens Lody
     
  • Teodor Petrov

    Teodor Petrov - 2015-11-08

    Can you write a commit message, that explains what the patch does?
    Can you describe the situation where this patch help with performance?

     
  • Bat

    Bat - 2015-11-08

    What patch does :

    Create a "cache" to store hashed ID for each Tab control opened, help to speed process when loading a full layout. Hasing is done via UniqueIdFromTooltip() that use File functions that can take some time to execute. Here hash is created when tab is opened and after that reused from cache. Updated when tab is changed

    Concrete situation :
    Workspace with 55 project and 42 opened files (about 35 from 2 projects). Without (Win 7/ 64bits) : loading codeblocks from scratch - workspace is default worskpace and automatically opened - take about 35s, with patch, take about 15s

     
  • Bat

    Bat - 2015-11-08

    As a side note, before r10551, (and without patch) same workspace took 180s to load (from scratch) r10551 and/or r10552 helped by cutting down to 35s

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.