It seems rendering blueprints is needlessly slow as they are probably drawn even if they are offscreen
When rendering 1310 blueprints of Wind Generators I get 25 FPS. https://imgur.com/2j3IjIz.png
Without rendering blueprints I get like 211 FPS. https://imgur.com/6bj35dz.png
Even when the camera is not near the blueprints, I get about 25 FPS. https://imgur.com/zJADkKt.png
I tried turning off the minimap and still got about 25 FPS. https://imgur.com/NFTrdi6.png
Once the wind generators have been finished I get like 120 FPS with icons. https://imgur.com/3PyL8X3.png
And I get about 33 FPS when all wind generators are rendered in view. https://imgur.com/GNE7D5a.png
From the perspective of the enemy I get about 26 FPS when all the Wind Generators are rendered. https://imgur.com/dRzg8Aj.png
And about 32 FPS when the Wind Generators are ghosted. https://imgur.com/8X3MCl1.png
And I get about 68 FPS from my enemies perspective when the Wind Generators are icons in LoS https://imgur.com/mcCKa2D.png
You're drawing a lot of green lines. How is this not just that rendering models is slow and that blueprints and ghosts do not have radar icon LOD?
Well I should have highlighted this more but when wrecks and units aren't actually in the view, they don't decrease the FPS nearly as much. For some reason, blueprints decrease the FPS drastically even when they aren't even in the view.
Here are like 5000 move command lines and 1340 Swifts with Icons and I still get 37 FPS. https://imgur.com/NV2RwnH.png 1310 blueprints with some additional 1310 lines between them shouldn't really decrease the FPS as much as they do, especially when they aren't even rendered on the screen. My guess is that the blueprints are actually rendered even if they are off screen.
Being off screen shouldn't be very expensive. I suspect it's too do with traversing queues