#3460 closed enhancement (duplicate)
New command line argument - ooslog and serializationtest only after a given turn
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Must Have | Milestone: | |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description
If commands.txt files of actual games are reported, the error can often occur at a very late turn. It would be nice if you could give a turn number via commandline in order to start the serializationtest or oosdump after that. Thus you can fast forward some thousand turns and then do the slow checks. Computing a turn takes less than a second, but dumping the simulation state takes many seconds, so it would be a great performance advantage when debugging out-of-sync errors.
Refs #3339
Attachments (1)
Change History (6)
by , 9 years ago
Attachment: | t3460_preview_wip_v0.1.patch added |
---|
comment:1 by , 8 years ago
This patch does this, but it also makes it so the state is conserved over multiple turns. This actually has its uses, since you can see if the OOS comes from the deserialization or from something imperceptible going wrong earlier (in some cases).
comment:2 by , 8 years ago
Keywords: | simple added |
---|---|
Priority: | Nice to Have → Must Have |
It's frustrating having to modify the engine code again and again to skip the first N turns of this command line option.
comment:3 by , 8 years ago
Keywords: | simple removed |
---|---|
Milestone: | Backlog |
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #4242
Something like that. It has helped me a lot with #3271. Finishes the run in some seconds instead of hours.