[0.17.59] Using --output-perf-stats FILE does not create FILE

Bugs that are actually features.
Uthrom
Inserter
Inserter
Posts: 33
Joined: Fri Jan 11, 2019 4:01 pm
Contact:

[0.17.59] Using --output-perf-stats FILE does not create FILE

Post 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.
Attachments
test.log
(2.96 KiB) Downloaded 68 times
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.59] Using --output-perf-stats FILE does not create FILE

Post 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
Uthrom
Inserter
Inserter
Posts: 33
Joined: Fri Jan 11, 2019 4:01 pm
Contact:

Re: [0.17.59] Using --output-perf-stats FILE does not create FILE

Post 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.
Bilka
Factorio Staff
Factorio Staff
Posts: 3618
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.17.59] Using --output-perf-stats FILE does not create FILE

Post by Bilka »

Fixed.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.59] Using --output-perf-stats FILE does not create FILE

Post by posila »

In the description, I tried to stay away from "benchmark data" as far as possible :)
Post Reply

Return to “Not a bug”