Opened 18 years ago
Last modified 12 years ago
#129 closed task
Opportunities for optimization (startup) — at Initial Version
Reported by: | Jan Wassenberg | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 1 |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
- tc_CalculateVariationKey: 1.72362 s (8010x): graphics/objectmanager.cpp
TODO (for some efficiency): use the pre-calculated choices for this object, which has already worked out what to do for props, instead of passing the selections into BuildVariation and having it recalculate the props' choices.
- Gamesetup/config.cpp: 300ms
g_ConfigDB.Reload(CFG_SYSTEM); 216ms LoadGlobals(); 64ms
- plain_transform: 500ms flipping font texture files vertically. fix: convert them to e.g. DDS (possibly compressed, if that looks ok?!) same thing for art/textures/particles/sprite cursors also require runtime conversion. ironically enough, being DDS means they have to be converted back to TGA's BGR ordering (required by Windows for cursors)
- CSimulation init: 5000ms
[more will be added as they are found]
Note:
See TracTickets
for help on using tickets.