The Factorio Benchmark Website

test-000022 : Are trains moving north more UPS efficient than other directions?

Factorio Version 0.16.51
Mysterious red rectange or 101 trains travelling to a far away land?

The TLDR

Yes, trains travelling north (orientation 0) do have higher performance.

The Question

Previous tests showed that cars travelling north were more UPS efficient. For the sake of completeness, it is important to check trains as well. We fully expect that any moving entity with orientation 0 will perform better than any other orientation.

The Test

For our test we will have 101 trains, consisting of 23 locomotives each. Each train will have its own track, travelling to a far away station. Each track will be thousands of tiles long, which means for our specified duration of 5,000 ticks, no train will reach the end. We will have two sets of tracks, one in the northward direction, and one in the eastward direction. We will set all trains to manual mode with command in the same tick and then take our test save shortly after.

The Data

Data here is the average ms per tick of a 5,000 tick benchmark. As usual, the benchmarks were ran 3 times and results averaged. There is a clear victory for the configuration where trains are moving north.

Closing

The result is exactly the result we expected, but it is important to record the result regardless. This data further reinforces the findings of test-000015 and test-000016. Test-000015 is reinforced by showing that orientation 0 is the most efficient once again. Test-000016 is further reinforced by showing that the collision checks are cheaper in orientation 0. If rolling stock did not perform collision checks on their directly connected neighbour, there would have been no or marginal difference between the orientations.

One annoying thing indicated by these results is the idea that having trains move quite some distance is more optimal in the north/south direction. This ends up being annoying because screens are almost always wider than they are tall, which means north/south is a bit more cumbersome to work with.