Hello Miller et al.
Here is something I've been noticeing during this series of pd releases.
When I am passing the array graph (the graphic array box inside a normal pd window) with a mouse, there are lots of glitches in the output sound eventhough I am using -rt. I guess it started with test5. I just tested and it doesn't happen in test4 yet.
The same thing was going on till test9. Not only it happens in boxed graph but also in the newly introduced windowed graph and the drawing feature.
The test10 is even worse: the slugish mouse motion and the output "static" is present while passing any pd patch.
The drawing inside graphic arrays is very CPU intensive on my Celeron 450 the load is between 1 and 2.
using debian woody Linux
Miha...
Miha Tomšič --- C. na postajo 55 -- SI-1351 Brezovica pri Lj. --- SLOVENIA -
hi,
the primary suspect is the graph_getrect() routine...
I will try to measure this one tomorrow. How much does this depend on the number of objects, and the number of graphs in a patch?
Krzysztof
Miha Tomšič wrote: ...
The test10 is even worse: the slugish mouse motion and the output "static" is present while passing any pd patch.
hi,
not a real profiling, just a simple measurement of a graph_getrect() execution time. If there is a graph in a patch, this routine is called once for every mouse movement message from the gui.
The figures below are for a test patch with nothing but a single 100000-element (~2.5s) array in it, measured on an 866Mhz linux box (with -rt flag):
0.35-test10: avg. 49 mili(sic)sec, peak 71ms
0.35-test4: avg. 1.9 micro(sic)sec, peak 3us
This gives ratio of 25789. For a 100-element array this is 57us vs 1.5us, giving the ratio of 38.
The (apparent, not measured) variance is pretty small in both cases. I did not measured graph_getrect() in test9, because of its recursive nature.
Krzysztof
Krzysztof Czaja wrote: ...
the primary suspect is the graph_getrect() routine...
...
Miha Tomšič wrote: ...
The test10 is even worse: the slugish mouse motion and the output "static" is present while passing any pd patch.