Hi all,
i have a bad sceneView performance when i load a scene server in my project (let's call it project A ), the model rendered slowly and when i tried to adjust the tilt or zoom, all operations tend to be jagged.
the image below shows the slowest frame has taken more than 450ms to render. (record from chrome performance tool )
then i created a simplified project (let's call it project B ) and load exactly the same scene server and same basemap; and everything went smoothly fast.
each frame takes less than 120ms
i compared those two and discovered the difference occurred at function *update*, in which project A repeatedly called the function *_updateNodeFeatureEstimate*
*_updateNodeFeatureEstimate* - * _getSphereScale *
while the project B has a lighter function stack in here.
the thing is, project A has many extra codes to meet the needs and i have no idea which piece of code lead to this problem. validating every piece could be cumbersome.
so i hope maybe any function name keywords above could ring a bell?
any help would be appreciated.
--------------------------------------------------------------------------------------
i finally tracked down the troublemaker:
Solved! Go to Solution.
hi!
thank you for trying to help me.
the problem has been solved! there is nothing wrong with the service, it's all about a mistake in ""layer.maxScale " setting.
thanks for your time.
Hi
Despite the (impressive) analysis we unfortunately can't see an obvious culprit. We would need to have access to the service in question to do deeper performance investigations.
Hence the question: is it possible to share the service with us? If so please DM me for details.
hi!
thank you for trying to help me.
the problem has been solved! there is nothing wrong with the service, it's all about a mistake in ""layer.maxScale " setting.
thanks for your time.