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

This subforum contains all the issues which we already resolved.

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

Postby DRE » Mon Mar 09, 2015 1:11 pm

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
factorio-slow.png
Debug info
factorio-slow.png (388.22 KiB) Viewed 748 times
DRE
Inserter
Inserter
 
Posts: 27
Joined: Sun Jan 25, 2015 2:30 pm

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

Postby kovarex » Mon Mar 09, 2015 5:55 pm

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
kovarex
Factorio Staff
Factorio Staff
 
Posts: 5847
Joined: Wed Feb 06, 2013 12:00 am
Location: Prague

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

Postby DRE » Mon Mar 09, 2015 8:34 pm

Thank you 8-)
DRE
Inserter
Inserter
 
Posts: 27
Joined: Sun Jan 25, 2015 2:30 pm

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

Postby Alekthefirst » Tue Mar 10, 2015 7:00 am

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.
User avatar
Alekthefirst
Fast Inserter
Fast Inserter
 
Posts: 104
Joined: Sat Feb 07, 2015 7:39 pm


Return to Resolved Problems and Bugs

Who is online

Users browsing this forum: No registered users and 3 guests