
Christopher Casilli raised the point that block rendering times were exponentially nasty for large programs
Rendering times for Blockly have improved significantly over the past week. Loading blocks from XML now happens headlessly, then a single render pass displays everything (as opposed to the recursive O(n^2) approach used earlier). The graph is still not linear, and further investigation is needed to determine where this curve is coming from. None the less, this represents a significant improvement.
--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Neil, I've tried a lot to reach you through other social media but unfortunately I couldn't find any. I wanted to seek your help on:
1. Making Blockly rendering asynchronous for each block.
2. Know if Blockly supports binary XML instead of XML for performance benefits.
We're facing a critical bug. Felt that you'd be the best man to ask about Blockly. Kindly help. Thanks.
--
You received this message because you are subscribed to a topic in the Google Groups "Blockly" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/blockly/klkra6Z66e4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to blockly+unsubscribe@googlegroups.com.
Hi Kartheek,I'm a current member of the Blockly team. If possible, we prefer to discuss issues on this public list so that other developers can find a solution if they have the same issue. If you can't discuss publicly for business reasons let me know and we'll figure something out.As for the performance issue you're having, 400 blocks in a workspace is not too many. Blockly shouldn't have any trouble loading and rendering a workspace of that size in a few seconds. If you load up the Playground and click the airstrike button it adds ~600 blocks to the workspace in one giant stack which is the worst case for rendering.Have you dug into the timing at all to see how much of those scripting and rendering portions are happening in Blockly? Is there something else that's triggering a full rerender on every change? Also, does the time increase linearly with the number of blocks or even faster?Cheers,Erik
2. Picture #2
3. Picture #3


