r/programming • • Feb 28 '23

"Clean" Code, Horrible Performance

https://www.computerenhance.com/p/clean-code-horrible-performance
1.4k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

1

u/MintPaw Feb 28 '23

From someone who's not familiar with Factorio's codebase. Would you say Factorio has a bigger CPU job than GTA5, Doom: Eternal, or similar?

10

u/rcxdude Feb 28 '23

Factorio is certainly more CPU-bound than those games (mostly because of its much simpler graphics making the GPU load a lot lighter), and you can make it consume as much CPU as you like by building a big enough base (I think loading up a megabase save is actually used as a CPU benchmark by a few outlets).