Merge lp:~widelands-dev/widelands/bug-1786613-10s-return-skipped into lp:widelands
Status: | Superseded | ||||
---|---|---|---|---|---|
Proposed branch: | lp:~widelands-dev/widelands/bug-1786613-10s-return-skipped | ||||
Merge into: | lp:widelands | ||||
Diff against target: |
12 lines (+1/-1) 1 file modified
src/logic/map_objects/tribes/productionsite.cc (+1/-1) |
||||
To merge this branch: | bzr merge lp:~widelands-dev/widelands/bug-1786613-10s-return-skipped | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
hessenfarmer | Needs Fixing | ||
Review via email: mp+352967@code.launchpad.net |
This proposal has been superseded by a proposal from 2018-08-13.
Commit message
reduce waiting time to 10ms for skipped programs
Description of the change
That "penalty" is reduced to 10ms. Which means there is no measurable effect. After 1000 produced wares it would be 10 seconds. For a ware that would be produced constantly every 60 seconds it would take 16.6 in-game hours to result in a loss of 1 product due to the time penalty. Currently this happens very 6 minutes.
I couldn't see any slowdowns or higher CPU usage. My test scenario:
The Nil map, 8 AIs, 2 Teams with all 4 tribes assigned to each team.
My System:
MacBook 7,1
Intel Core2Duo@2.4GHz
16GB Ram
macOS 10.13.6
Continuous integration builds have changed state:
Travis build 3782. State: failed. Details: https:/ /travis- ci.org/ widelands/ widelands/ builds/ 415390227. /ci.appveyor. com/project/ widelands- dev/widelands/ build/_ widelands_ dev_widelands_ bug_1786613_ 10s_return_ skipped- 3581.
Appveyor build 3581. State: success. Details: https:/