[Closed] Bad Slate performance
I took a look at the performance with the new profiler tool. And I am very surprised to find that Slate appears to be the culprit.
In the game thread (14ms)
In the render thread (15ms)
The part of this frame time that makes sens amounts to less than 8ms, which is very good. The Slate part howerer is a problem, or should I say two problems :
If that can help, I just uploaded a screenshot of my interface. To break it down, there are 40 button object, each button being a SButton + SBorder + SBox + SHorizontalBox + (content + SImage). The content can either be a simple Slate brush, or more complex like the bottom-left buttons.
It's not trivial but it's not unreasonable either and I plan on doing more than that. I think any editor window is drastically more complex. All of this is from PIE.
Hardware-wise I've got a i7 3770K, a GTX 660 and 16GB RAM.
Thanks for helping out !
The question has been closed Apr 28 '15 at 07:41 AM by Gwenn for the following reason:
The question is answered, right answer was accepted
At the moment, we call
Do you find that the interface is unresponsive and sluggish, or are you simply unhappy with the numbers? Keep in mind that if you are running PIE, the numbers you are likely to see include all of the editor UI, your game UI, and any profiling tools. If you run with
With all that said, we are looking to make Slate more efficient. Aside from no longer ticking the invisible widgets, we are also looking to be more frugal with game-thread CPU time. These changes are currently in progress, but they have potential to break some existing UIs in annoying ways. We have to be very careful to balance our eagerness to finalize/release the performance enhancements with the need for careful testing. It might take an extra release cycle before these are made widely available.
answered Oct 27 '14 at 02:30 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here