[0.11.16] Large map or forces.player.chart low performance.

This subforum contains all the issues which we already resolved.
Post Reply
DRE
Inserter
Inserter
Posts: 41
Joined: Sun Jan 25, 2015 2:30 pm
Contact:

[0.11.16] Large map or forces.player.chart low performance.

Post by DRE »

I explored some part of map manually and later typed
"/c game.forces.player.chart({lefttop = {x = -3024, y = -3024}, rightbottom = {x = 3024, y = 3024}})" In console.

This really slowed down the frame rate.
I have powerful CPU and GPU, so the problem is not about PC performance.
I don`t know, is this "game.forces.player.chart()" function bug, or it is the result of the size of explored area.

Looked at debug info - the is some work of map generator, but fps remains low even after map generator completed it`s job,
seems that "Chart update" consumes the most of time.

Task manager shows one CPU core fully loaded.

[Added after]
As always after I post the problem - I figure out more about it.
It is the endless work of game.forces.player.chart function, I doesn`t open required area fully, and just comsumes CPU.
Attachments
Debug info
Debug info
factorio-slow.png (388.22 KiB) Viewed 4047 times

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.16] Large map or forces.player.chart low performance.

Post by kovarex »

Yes, I knew about the problem, as I encountered it myself, but I said to myself, I will not bother fixing it until someone asks for it :)

So it is fixed for 0.11.18

DRE
Inserter
Inserter
Posts: 41
Joined: Sun Jan 25, 2015 2:30 pm
Contact:

Re: [0.11.16] Large map or forces.player.chart low performance.

Post by DRE »

Thank you 8-)

User avatar
Alekthefirst
Fast Inserter
Fast Inserter
Posts: 104
Joined: Sat Feb 07, 2015 7:39 pm
Contact:

Re: [0.11.16] Large map or forces.player.chart low performance.

Post by Alekthefirst »

kovarex wrote:So it is fixed for 0.11.18
You are my hero now!
Factorio is a game about automating everything. One day, i hope i can automate shitty signatures just like this one.

Post Reply

Return to “Resolved Problems and Bugs”