Discussion:
[joke] One way to make ShoeBot run faster...
Dave Crossland
2009-09-02 16:04:05 UTC
Permalink
:)
Stuart Axon
2009-09-02 16:06:59 UTC
Permalink
In all seriousness though, the lib2geom longterm plan seems fine...

I've been vaguely thinking of making a benchmark bot...
I did some initial testing and for some reason 'rotate' seems to really slow things down - from about 30fps to about 8fps on my computer IRCC



----- Original Message ----
From: Dave Crossland <dave-***@public.gmane.org>
To: shoebot-devel-***@public.gmane.org
Sent: Wednesday, September 2, 2009 5:04:05 PM
Subject: [shoebot-devel] [joke] One way to make ShoeBot run faster...

http://youtu.be/96dWOEa4Djs :)
ricardo lafuente
2009-09-03 11:17:21 UTC
Permalink
Post by Stuart Axon
In all seriousness though, the lib2geom longterm plan seems fine...
I've been vaguely thinking of making a benchmark bot...
I did some initial testing and for some reason 'rotate' seems to really slow things down - from about 30fps to about 8fps on my computer IRCC
yeah, that's the transform issue we've been having since the beginning
and that the 0.3 branch was supposed to solve.

In the end the old transform approach had to go back in because of paths
with draw=False.
The main issue is that having the transform data included in each path
(through the Mixin class) really takes its toll on the CPU -- would be
good to have a smart way to have it work only when the path is not being
drawn immediately to the context... i wonder.
Stuart Axon
2009-09-04 16:35:09 UTC
Permalink
I've had more of a look @ the transforms - the main problem would seem to be iterating through the whole transform stack every time an object is drawn, surely we could do some caching ?


I guess I need to have a look at the older branch that didn't do that to understand how that worked...



What would be really useful when messing with the transforms would be a bot that tests transforms/rotations etc, so it is easy to visually check everything is in the right place.


----- Original Message ----
From: ricardo lafuente <***@sollec.org>
To: shoebot-devel-***@public.gmane.org
Sent: Thursday, September 3, 2009 12:17:21 PM
Subject: Re: [shoebot-devel] [joke] One way to make ShoeBot run faster...
Post by Stuart Axon
In all seriousness though, the lib2geom longterm plan seems fine...
I've been vaguely thinking of making a benchmark bot... I did some initial testing and for some reason 'rotate' seems to really slow things down - from about 30fps to about 8fps on my computer IRCC
yeah, that's the transform issue we've been having since the beginning and that the 0.3 branch was supposed to solve.

In the end the old transform approach had to go back in because of paths with draw=False.
The main issue is that having the transform data included in each path (through the Mixin class) really takes its toll on the CPU -- would be good to have a smart way to have it work only when the path is not being drawn immediately to the context... i wonder.
Continue reading on narkive:
Search results for '[joke] One way to make ShoeBot run faster...' (Questions and Answers)
36
replies
Anything you'd like to get off your chest?
started 2009-07-31 08:49:36 UTC
polls & surveys
Loading...