You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenNERO is currently somewhat of a hog for CPU resources - it only uses one
core, but it uses it fairly heavily. This can lead to low frame rate on some
systems and for some tasks/mods.
One possible place where things could be improved is the main game loop from
Irrlicht engine, another is the Python embedding framework. We should profile
these components to determine where the inefficiencies are.
Original issue reported on code.google.com by ikarpov on 1 Sep 2013 at 6:43
Are there specific cases that cause low FPS? I'm asking because Irrlicht seems
to be doing good on its own. I have a slow (by modern standards: i5 3570k with
integrated HD 4000) GPU and I get 200+ FPS on maps before adding any agents.
One thing that I've noticed from profiling is that mIrrDevice->yield() in
ProcessTick() takes up 25% of the CPU time (without agents present). This is a
complete waste of time on multi-core systems.
Great, do you see improvement? Is it good enough to add collisions into
the game? In any case, we need to make another build for the final
homework so that people will get this improvement.
[email protected] writes:
>Comment #3 on issue 145 by ikarpov: Increase frame rate and use resources
>better
>http://code.google.com/p/opennero/issues/detail?id=145
>Good suggestion - I removed the yield from the main game loop on trunk.
Original issue reported on code.google.com by
ikarpov
on 1 Sep 2013 at 6:43The text was updated successfully, but these errors were encountered: