Hey folks,

Is there a reason we're manually creating the ellipses in Path::createEllipse() instead of using the port-specific Path::addEllipse()?

For the SVG version of the benchmark at http://www.themaninblue.com/writing/perspective/2010/03/22/ we're spending roughly 25% of runtime in Path::createEllipse(), whereas if I let it use Qt's Path::addEllipse() it drops to 2.5%.

(Qt is also much better at rendering the paths generated by QPainterPath::addEllipse() instead of the 100x LineTo paths from Path::createEllipse - time spent filling paths goes down from 30% to 25%.)

All in all, these are 15 additional FPS that I'd love to get if possible. So lay it on me :-)

Curiously yours,
-Kling
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to