View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003460 | MMW v4 | Other | public | 2007-09-01 13:59 | 2009-03-11 21:22 |
Reporter | jiri | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.0 | ||||
Fixed in Version | 3.1 | ||||
Summary | 0003460: Optimize performance of some parts of MM | ||||
Description | By profiling MM I found several bottlenecks that should be resolved before release: 1. One of the most time consuming is theme_se3objects.pas TSeSkinSource.GetObjectByName() - it's called very often and goes through all available strings. We should: 1a. Add there a hash table (like we have in Structs.pas, but this one for AnsiString) and thus make the look up much faster. 1b. Cache objects between calls in various places, so that GetObjectByName() isn't called that often. However, since this could cause problems on changing of skins or so, implementing of 1a. should be enough. 2. Change FLock in VistaNavBar from TGTMREWSync to a CriticalSection - it seems to consume too much time. 3. Even though I don't play anything, TSkinVisualization.VisTimer() takes a lot of time (almost the most of all other methods) - I guess that it could be optimized. | ||||
Tags | No tags attached. | ||||
Fixed in build | 1185 | ||||