Changes between Initial Version and Version 1 of Ticket #4379


Ignore:
Timestamp:
Mar 17, 2021, 6:54:35 PM (5 years ago)
Author:
Tom Goddard
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4379

    • Property Component UnassignedUI
    • Property Owner set to Tom Goddard
    • Property Platformall
    • Property ProjectChimeraX
    • Property Status newassigned
    • Property Summary ChimeraX bug report submissionMeasurements of ChimeraX startup-time
    • Property Type defectenhancement
  • Ticket #4379 – Description

    initial v1  
    66Testing how fast ChimeraX starts on this Mac laptop.
    77Here are some results.
     8
     9All tests are with splash screen turned off in preferences.
     10
    811I use time.time() to record times, with the start time recorded at the first line of ChimeraX_main.py (so python has already started and is not included), and the end time when the first exposeEvent() call on the graphics window is made.  I am not sure this perfectly captures the time to when the GUI is fully drawn, but it looks close.
    912
    10 Typical ChimeraX start: 1.4 seconds.
    11 
    12 In about 10 tries maybe 1 or 2 will randomly take about 2.1 seconds and the rest around 1.35-1.45.
     13Typical ChimeraX start: 1.35 seconds.
     14
     15In about 10 tries maybe 1 or 2 will randomly take about 2.1 seconds and the rest around 1.33-1.4
    1316
    1417After "sudo purge" to clear the disk cache: 2.8 seconds.
    1518
    16 With no tools at startup (Log, Model Panel, Command Line, Toolbar not autostarted) and file history commented out in code:  0.95 seconds
    17 
    18 Toolbar and File history each appeared to contribute 0.2 seconds to startup time when I individually enabled those.  Makes some sense because both read a ton of icon images.
    19 
     19With no tools at startup (Log, Model Panel, Command Line, Toolbar not autostarted) and file history commented out in code:  0.95 seconds with one in 10 starts taking up to 2 seconds.
     20
     21Just disabling file history and all usual panels shown: 1.04 seconds
     22So it looks like file history adds about 0.3 seconds, probably from reading the 100 thumbnail images.
     23
     24Just not auto-starting toolbar with other panels and file history shown: 1.33 seconds
     25So toolbar has negligible effect.
     26
     27Just not auto-starting log panel: 1.34 seconds
     28So log has negligible effect on startup time.
     29
     30Just not auto-starting model panel: 1.34 seconds
     31No effect.
     32
     33Just not auto-starting command-line: 1.35 seeconds
     34No effect
    2035
    2136Log: