Changes between Initial Version and Version 1 of Ticket #4379
- Timestamp:
- Mar 17, 2021, 6:54:35 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4379
- Property Component Unassigned → UI
- Property Owner set to
- Property Platform → all
- Property Project → ChimeraX
- Property Status new → assigned
- Property Summary ChimeraX bug report submission → Measurements of ChimeraX startup-time
- Property Type defect → enhancement
-
Ticket #4379 – Description
initial v1 6 6 Testing how fast ChimeraX starts on this Mac laptop. 7 7 Here are some results. 8 9 All tests are with splash screen turned off in preferences. 10 8 11 I 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. 9 12 10 Typical ChimeraX start: 1. 4seconds.11 12 In about 10 tries maybe 1 or 2 will randomly take about 2.1 seconds and the rest around 1.3 5-1.45.13 Typical ChimeraX start: 1.35 seconds. 14 15 In about 10 tries maybe 1 or 2 will randomly take about 2.1 seconds and the rest around 1.33-1.4 13 16 14 17 After "sudo purge" to clear the disk cache: 2.8 seconds. 15 18 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 19 With 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 21 Just disabling file history and all usual panels shown: 1.04 seconds 22 So it looks like file history adds about 0.3 seconds, probably from reading the 100 thumbnail images. 23 24 Just not auto-starting toolbar with other panels and file history shown: 1.33 seconds 25 So toolbar has negligible effect. 26 27 Just not auto-starting log panel: 1.34 seconds 28 So log has negligible effect on startup time. 29 30 Just not auto-starting model panel: 1.34 seconds 31 No effect. 32 33 Just not auto-starting command-line: 1.35 seeconds 34 No effect 20 35 21 36 Log: