MantisBT - VCMI
View Issue Details
0000644VCMIOtherpublic2010-11-15 01:092016-09-28 18:18
ruppertus 
 
lowmajoralways
closedno change required 
Intel (Core i5, NVidia Quadro)Linux Debian 64 bittesting (amd64)
0.83 
 
0000644: The game's performance is terrible
I have tested the performance using "top" tool in my linux environment.
I've compared H3 Platinum (Gold) + VCMI vs H3 (linux version created by Loki).
The result is terrible. Testing configuration: I have Core i5 M520 2.4 GHz (ondemand gavorner) + 4GB RAM + NVidia Quadro 512 MB (3100M?).
The VCMI engine is much slower (when I move the hero or during the bottle) and needs much more power. The CPU usage is like 50% when doing an action (moving hero or clicking some options). In (native Loki's H3) the usage is like 10% max.
Run top in the background console

1. Start the game
2. Start new scenario
3. Just move the hero or attack someone
Personally that's very important issue for me because I travel a lot and like to play Heroes during that time. But my battery won't live long time when the CPU usage would be so big.
No tags attached.
Issue History
2010-11-15 01:09ruppertusNew Issue
2010-11-15 06:16WarmongerNote Added: 0001387
2010-11-16 00:19ZamolxisNote Added: 0001407
2010-11-16 00:19ZamolxisPriorityurgent => normal
2010-11-16 00:23ZamolxisNote Edited: 0001407bug_revision_view_page.php?bugnote_id=1407#r1171
2011-02-23 17:25Tow dragonNote Added: 0001537
2011-02-23 23:27ZamolxisNote Added: 0001542
2011-02-23 23:34ZamolxisPrioritynormal => low
2011-02-28 05:03AVSNote Added: 0001555
2011-02-28 06:07AVSNote Deleted: 0001555
2016-09-24 15:02ruppertusNote Added: 0006741
2016-09-25 14:21PovelitelNote Added: 0006742
2016-09-28 16:36ruppertusNote Added: 0006756
2016-09-28 18:18WarmongerNote Added: 0006757
2016-09-28 18:18WarmongerStatusnew => closed
2016-09-28 18:18WarmongerResolutionopen => no change required

Notes
(0001387)
Warmonger   
2010-11-15 06:16   
Some optimization for the pathfinder (hashing) would come in handy, as it becomes really slow on huge maps. It's also vital for acceptable AI performance.

As to graphics, there are already few topics on our board that target this problem.
(0001407)
Zamolxis   
2010-11-16 00:19   
(edited on: 2010-11-16 00:23)
I agree with severity as Major. The final product should not eat more resources than the original (and certainly not as many as reported here). But I changed the priority to Normal. Urgent reports are rather for crash/blocking issues noticed around new releases, which may notably affect that release if not urgently fixed.

(0001537)
Tow dragon   
2011-02-23 17:25   
The problem is that we can either fix normal bugs and add new features or optimize the engine. You can't have everything. I think getting original performance is at least 1 year of working on it *exclusively* by me and Tow. I really doubt it's necessary to care so much about performance ATM.
(0001542)
Zamolxis   
2011-02-23 23:27   
If performance can always be improved afterwards, I fully agree it's not a priority.

Not being a coder, I didn't know if it's something that should be considered from the beginning (that cannot be "undone"), or on the contrary, something that can always be notably improved in the end. I'm glad to hear it's the latter. :)
(0006741)
ruppertus   
2016-09-24 15:02   
I agree.
(0006742)
Povelitel   
2016-09-25 14:21   
What version you use? I remember used 0.94 it was very slow. Now 0.98g noticeably faster.
(0006756)
ruppertus   
2016-09-28 16:36   
You may close this defect. I don't even have the same hardware to retest it. Any number was registered.
(0006757)
Warmonger   
2016-09-28 18:18   
Closing then.