[0.11.16] Large map or forces.player.chart low performance.
Posted: 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.
"/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.