Page 1 of 1

Absolute game tick/time in performance monitor log thing

Posted: Sat Dec 28, 2019 12:44 pm
by Honktown
Adding an absolute game time would make it easier to know more precisely when there might have been a performance discrepancy (and could match prints in the log if there were any).

Re: Absolute game tick/time in performance monitor log thing

Posted: Sat Dec 28, 2019 5:29 pm
by PyroFire
realtime is not deterministic and therefore not possible.
You only got game ticks, and you cannot know how long a tick took to render.

In logs - maybe, and i agree this would give us a way to benchmark scripts that is not currently possible.

+1 (log realtime timestamps)

Re: Absolute game tick/time in performance monitor log thing

Posted: Sat Dec 28, 2019 7:09 pm
by Honktown
PyroFire wrote:
Sat Dec 28, 2019 5:29 pm
realtime is not deterministic and therefore not possible.
You only got game ticks, and you cannot know how long a tick took to render.

In logs - maybe, and i agree this would give us a way to benchmark scripts that is not currently possible.

+1 (log realtime timestamps)
Yeah, I'm talking about "factorio-perf" thingies, not anything accessible in-game:
performance log
factorio-current
In factorio-current we get timestamps, but in the performance log there's no tick/timestamp. A name is like: Factorio-perf-01779_20191225-170529<hardware>, from which I can discern the date, and presumably hour, minute, second, but is the first number the tick? I'd have to test, vs having it in a cell in the performance log. (I didn't notice the number sequence in the name before, so this might be kind-of moot).

Re: Absolute game tick/time in performance monitor log thing

Posted: Sat Dec 28, 2019 7:18 pm
by PyroFire
That's the build number. 0.17.79.
And yes the last number is the time in 24 hour time. 170529 = 17h:05m:29s (5pm)

Re: Absolute game tick/time in performance monitor log thing

Posted: Sat Dec 28, 2019 7:26 pm
by Honktown
PyroFire wrote:
Sat Dec 28, 2019 7:18 pm
That's the build number. 0.17.79.
And yes the last number is the time in 24 hour time. 170529 = 17h:05m:29s (5pm)
Hah, clever catch on the version number. That does mean there's no tick-stamp in the log.

Re: Absolute game tick/time in performance monitor log thing

Posted: Sat Dec 28, 2019 9:30 pm
by PyroFire
Honktown wrote:
Sat Dec 28, 2019 7:26 pm
clever catch on the version number.
No, putting the build number in there like that is fairly typical.
Knowing that comes with experience.