Integration of libcairo in pvbrowser
Backward Content Forward

Measurements with SVG Graphics

meas_svg1.png
This snapshot shows the CPU load when a pvserver (process pvs) in an infinite loop draws the graph as SVG once per second.
meas_svg2.png
This snapshot shows the CPU usage when a pvbrowser client is added to the display. The pvserver uses little CPU compared with the client
meas_svg3.png
This snapshot shows the CPU usage when a firefox client is added. Firefox displays the SVG correctly. It looks as Firefox renders the graphic with less CPU load than pvbrowser with the underlying QSvgRenderer but the process "Web Content" also belongs to Firefox.
meas_svg4.png
This snapshot shows the CPU usage when a chromium client is added. Chromium only represents the ALT text of the SVG. You can right-click on it and you will see the SVG graphic. See also the note below.

One can see from the measurements that the CPU load of the pvserver with 3 simultaneous clients is twice as high with PNG graphics as with SVG. However, SVG has a much larger file size in the example, which has to be invoiced for a communication between client and server.


Backward Content Forward