Page 1 of 1
[0.17.59] Using --output-perf-stats FILE does not create FILE
Posted: Fri Jul 26, 2019 4:57 pm
by Uthrom
When trying to run some benchmarks on MacOS, I'm launching factorio with the following command:
Code: Select all
$ /Applications/factorio-0-17-58.app/Contents/MacOS/factorio --benchmark solo-17.zip --benchmark-ticks 100 --benchmark-verbose tick,timestamp --output-perf-stats perf.log
I would expect the data to be stored to perf.log, but instead it is sent to console (specifically stdout, not even stderr to be logged separately).
See attached file for stdout output.
Re: [0.17.59] Using --output-perf-stats FILE does not create FILE
Posted: Fri Jul 26, 2019 5:28 pm
by posila
Hello, --output-perf-stats modifies path of output file for rendering performance stats collected durin --benchmark-graphics or --benchmark-frame,
OR turns on frame performance stats collecting for normal game run and dumps stats of last 1000 frames on game exit.
Since --benchmark doesn't run rendering, --output-perf-stats does nothing
Re: [0.17.59] Using --output-perf-stats FILE does not create FILE
Posted: Fri Jul 26, 2019 5:52 pm
by Uthrom
Urk.
The wiki said
Code: Select all
path of file to which performance statistics measurements should be saved. Special tags {api}, {hw}, {time} and {tag} will be replaced.
, with no reference to rendering, implying that it allows for saving of benchmark data.
Re: [0.17.59] Using --output-perf-stats FILE does not create FILE
Posted: Fri Jul 26, 2019 6:02 pm
by Bilka
Fixed.
Re: [0.17.59] Using --output-perf-stats FILE does not create FILE
Posted: Fri Jul 26, 2019 6:22 pm
by posila
In the description, I tried to stay away from "benchmark data" as far as possible
