View Issue Details

IDProjectCategoryView StatusLast Update
0010450MMW v4Otherpublic2013-09-15 22:36
Reporterpeke Assigned To 
PriorityurgentSeveritytrivialReproducibilityN/A
Status closedResolutionfixed 
Product Version4.1 
Target Version4.1Fixed in Version4.1 
Summary0010450: Optimize startup time
DescriptionRecently I have noticed that some plugins can slowdown MMW startup considerably, even to the annoying levels of several tens of seconds.

Based on results main Testing Apple product plugins take most of times.

It would be nice to include inter startup timer in logs so that for example It is shown how much seconds took MMW to start from Double click on Icon till Full MMW GUI is shown.
TagsNo tags attached.
Attached Files
AppTimer.exe (126,976 bytes)
Fixed in build1623

Relationships

parent of 0011858 closedLudek Exit while minimized to tray fails to show tray icon on start (regression in 4.1) 

Activities

peke

2013-01-24 02:50

developer   ~0034652

Added measuring Application.

Ludek

2013-01-24 13:52

developer   ~0034657

Last edited: 2013-01-24 14:40

Assigned to me to review and optimize the startup time.

Something is bad, in my case MM starts in 4 or 5 seconds, but init of d_USBMass1.dll takes about 1 second, this is really bad.

Another _significant_ delay (2 seconds) is when loading tray icon.

Ludek

2013-01-24 14:35

developer   ~0034659

Last edited: 2013-01-24 16:12

The problem when loading d_USBMass.dll was just random, i.e. it is rather HDD I/O cause.

But the delay when loading tray icon is consistent, it is caused by this settings:
Options -> Generel -> [x] Enable mouse gestures for tray icon

If I disable the checkbox then MM is able to start in 2.5 seconds, but if I enable the checkbox then MM always starts in 4.5 seconds or more.

Tested Windows 7 / MM 4.1.0.1622 debug, skinned (pulse skin)

Ludek

2013-01-24 22:42

developer   ~0034667

Last edited: 2013-01-25 12:14

Fixed in build 1623.

Reduced startup time from 5 seconds to 2 seconds on my laptop (i7 core / SSD disk / MM skinned / Win7) + fixed debug messaging to see more in case others will still slow observe start.

peke

2013-02-20 23:02

developer   ~0035018

Re assigning to me to do more in depth logs, this was reoccurring for me today.

peke

2013-09-15 22:33

developer   ~0037542

It was HDD and windows caching.

First MMW start after windows startup could take longer but then any next start-ups takes few seconds.

peke

2013-09-15 22:36

developer   ~0037543

Using 1657 I've found out that Microsoft Security Essentials checks all loading DLLs first time they are loaded on Windows Restart that delay initial MMW startup and afterwards only cached CRCs are checked so MMW loading fast