2025-07-19 16:52 CEST

View Revisions: Issue #4316

Summary 0004316: perf drop between 96.0 and 96.0.1-260
Revision 2014-02-22 18:03 by abma
Description See videos - they are of a stress test I use (which was designed as a way to look for bugs in unit/lua scripts).

Both videos are the current BA svn, with an extra gadget that runs the stress test. It places many units and gives them move/fight/patrol orders, causing a huge battle and a deliberately high lua load. One video is 96.0 and the other is 96.0.1-260.

In 96.0 the test runs smoothly, fps consistently high, game speed 1.0. In 96.0.1-260, there are constant 0.5-1 sec jitters, game speed varies wildly between 0.5 and 0.8, fps also varies wildly between 1 and 60. My video capture is far from perfect, but it is easily enough to see the difference.

In both videos I turned on /debug mode after about 30 secs.
Revision 2014-02-22 01:09 by silentwings
Description See videos - they are of a stress test I use (which was designed as a way to look for bugs in unit/lua scripts).

Both videos are the current BA svn, with an extra gadget that runs the stress test. It places many units and gives them move/fight/patrol orders, causing a huge battle and a deliberately high lua load. One video is 96.0 and the other is 96.0.1.

In 96.0 the test runs smoothly, fps consistently high, game speed 1.0. In 96.0.1, there are constant 0.5-1 sec jitters, game speed varies wildly between 0.5 and 0.8, fps also varies wildly between 1 and 60. My video capture is far from perfect, but it is easily enough to see the difference.

In both videos I turned on /debug mode after about 30 secs.