Factorio performance testing process

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
beltscientist
Manual Inserter
Manual Inserter
Posts: 4
Joined: Sun Aug 29, 2021 11:44 am
Contact:

Factorio performance testing process

Post by beltscientist »

Hi Everyone,

I'm testing factorio on my new Macbook Pro M1 Pro.

I'm using the baseline from here:
https://factoriobox.1au.us/map/info/4c5 ... e161705504
ie "flame_Sla 10k - 10x1000spm Belt Module"
which seems to have lots of performance data on the site.

I have downloaded the map, and I'm running it using the following process:
/Applications/factorio.app/Contents/MacOS/factorio --benchmark "FlameSla10k.zip" --benchmark-ticks 18000

This gives output like (redacted):

Code: Select all

Running update 17900
  Performed 18000 updates in XXXXXX ms
  avg: XXXXX ms, min: 5.538 ms, max: 24.041 ms
  checksum: 4141161264
XXXXX Goodbye
My numbers seem to be not quite right. Can you please check that I have the process correct before I post the numbers?

Cheers

azesmbog
Filter Inserter
Filter Inserter
Posts: 252
Joined: Mon Jan 28, 2019 12:05 pm
Contact:

Re: Factorio performance testing process

Post by azesmbog »

Your numbers are quite correct, but they need to be converted from milliseconds to the usual UPS.
My terminal line looks like this:

Code: Select all

 ./factorio --benchmark "flame_Sla_10k.zip" --benchmark-ticks 1000 --disable-audio --mod-directory /dev/null --benchmark-runs 5 
Ticks - 1000 (but you can also 10,000 - then the result is more accurate, but it counts longer)
the test is repeated 5 times
Then we recalculate the resulting result into the usual UPS:
Image
I also recommend checking the flame_30k test - in my opinion, it more accurately determines the alignment of forces :)
Image

User avatar
jodokus31
Smart Inserter
Smart Inserter
Posts: 1604
Joined: Sun Feb 26, 2017 4:13 pm
Contact:

Re: Factorio performance testing process

Post by jodokus31 »

I don't think that factorio runs natively on M1 Pro Processors?
Then, it will be emulated, so the numbers might be lower than expected

I wonder, how much effort it would be to build a native version for M1

Post Reply

Return to “Technical Help”