[Debug] RoundCorner slow performance
-
NOTE:
This thread is dedicated to find out the cause of the very slow performance of RoundCorner pluginwhich has been reported by some Mac users on SU8.The method relies on kind users to make some test with an updated code including some traces and report back.
If you are NOT having performance problems with RoundCorner, you can safely ignore this thread.
Thanks in advance
Fredo
-
ROUND #1
Just use a simple model, like a cube.- Drop the attached file RoundCorner_tool.rb in the ROUNDCORNER_Dir_21 folder.
- Restart Sketchup
- Launch the RoundCorner plugin, with or without selection
- A file Fredo6Trace.txt will be created in the SU plugin directory.
- Just post it on the forum within this thread, possibly with some explanation on what you did.
Thanks
Fredo
-
Fredo: might it be related to Sketchup.status_text = ?
See this thread: http://forums.sketchucation.com/viewtopic.php?f=180&t=34584&start=15#p305247
We found that under OSX, updating the statusbar is taxing performance significantly compared to Windows. -
@thomthom said:
Fredo: might it be related to Sketchup.status_text = ?
See this thread: http://forums.sketchucation.com/viewtopic.php?f=180&t=34584&start=15#p305247
We found that under OSX, updating the statusbar is taxing performance significantly compared to Windows.I wish it were, but the users affected with the problem were all mentioing endless waiting. So it must be something else, probably the synchronization of the opengl drawing (this is why I need the traces).
Fredo
-
Round corner runs very slowly for me but I use Windows Xp. It hangs on anything much more complicated than some boxes. Then SketchUp eventually crashes. It's probably my old machine. I don't know. Any other PC users having this problem?
-
@unknownuser said:
Round corner runs very slowly for me but I use Windows Xp. It hangs on anything much more complicated than some boxes. Then SketchUp eventually crashes. It's probably my old machine. I don't know. Any other PC users having this problem?
Do you mean it is slow when you perform the calculation of the rounding shape (the performance problem on Mac is related to opening the plugin).
By the way, can you check the number of segments you use for the rounding (by default it is '6s'). This is the number that drives perfromance, as the computing time is related to it exponentially.
Fredo
-
I can open the plugin fine. It just executes slowly. I usually have the segments set to 4 but sometimes that doesn't work and I have to bump it down to two for it to even work without crashing.
-
@unknownuser said:
I can open the plugin fine. It just executes slowly. I usually have the segments set to 4 but sometimes that doesn't work and I have to bump it down to two for it to even work without crashing.
Got a sample model?
-
I just came across this thread today when browsing through the "normal" Round Corner thread.
I had posted about the sluggish behavior on my first iMac 2.4 GHz Core2Duo several months ago and then needed to divert my attention to other things.
The problem was not related to opening it but to using it. Selecting edges, changing fillet dimensions and number of segments took several seconds for the tool to react to.
Now with my newer 27" i7 quad core at 2.93GHz things are a bit quicker and I can use the tool, but performance is still sluggish and not even remotely comparable to the WinXP installation that I have running on VMware Fusion on this same machine.
I followed the instructions and a trace file is attached. I hope it provides you with useful information. Anyway, great plugin and very useful (in Windows
-
@headroom said:
The problem was not related to opening it but to using it. Selecting edges, changing fillet dimensions and number of segments took several seconds for the tool to react to.
At least, I see from the trace file that this is not related to the generation of the rounding (it took 3.67 seconds on your model, with 10 corners and 12 edges).
I still don't see where it could come from. I may have to modify the traces to understand it better.By the way, if you open the Ruby console while selecting edges or changing the offset, do you see any message?
Fredo
-
Headroom
Here is an updated version with complementary traces
Just drop the two attached files into ROUNDCORNER_Dir_22.
Thanks to post back the trace fileFredo
Note: please do NOT install these files if you are not concerned by slow perfromance on Mac
To drop into subfolder ROUNDCORNER_Dir_22
Advertisement