[cairo] Regression in long random polyline rendering time

Emmanuel Pacaud emmanuel.pacaud at lapp.in2p3.fr
Sat Sep 26 01:45:31 PDT 2009


Le samedi 26 septembre 2009 à 09:45 +0200, Emmanuel Pacaud a écrit : 
> I have another example which exhibits this regression. It consists in
> drawing a noisy sinusoid y = sin (x) + rand() * noise_amplitude. You are
> right, the new rendering is nicer. But sooo slow... And unfortunately,
> in this case, it's something you may actually have to draw in real
> life. 

Here's a test code Joonas wrote that renders a noisy sinusoid. Cairo
master is slow only when CAIRO_LINE_JOIN_ROUND is used though, with
n-iterations > 50000.

Emmanuel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: raw.c
Type: text/x-csrc
Size: 1102 bytes
Desc: not available
Url : http://lists.cairographics.org/archives/cairo/attachments/20090926/f02c8b7e/attachment.c 


More information about the cairo mailing list