Hi Thomas,

I wanted to test the static path, available at http://issues.apache.org/bugzilla/show_bug.cgi?id=36627 but I am struggling to see any performance differences. Maybe I had problems applying the patch or I used the attribute wrong.

First of all, I got error messages when applying the patch. I applied the patch to the latest SVN version (fresh checkout). Here is the output of my patch command:

----
patching file sources/org/apache/batik/bridge/SVGSVGElementBridge.java
patching file sources/org/apache/batik/bridge/SVGGElementBridge.java
patching file sources/org/apache/batik/bridge/SVGUseElementBridge.java
Hunk #1 succeeded at 213 (offset 2 lines).
Hunk #2 succeeded at 451 (offset 37 lines).
patching file sources/org/apache/batik/gvt/AbstractGraphicsNode.java
Hunk #5 FAILED at 295.
Hunk #6 FAILED at 369.
Hunk #7 FAILED at 391.
Hunk #8 succeeded at 522 (offset 9 lines).
Hunk #9 succeeded at 557 (offset 9 lines).
Hunk #10 succeeded at 785 (offset 9 lines).
3 out of 10 hunks FAILED -- saving rejects to file sources/org/apache/batik/gvt/AbstractGraphicsNode.java.rej
patching file sources/org/apache/batik/gvt/CanvasGraphicsNode.java
patching file sources/org/apache/batik/gvt/filter/GraphicsNodeRed8Bit.java
patching file sources/org/apache/batik/ext/awt/image/rendered/AbstractTiledRed.java
patching file sources/org/apache/batik/ext/awt/image/GraphicsUtil.java
patching file samples/solitaire/towers.svg
patching file samples/solitaire/cards/default.svg
------

It seems like some of the Hunks failed. Is that a problem?

--------------

assuming that the patch worked correctly (I am not sure about that), I prepared an example: http://www.carto.net/papers/svg/navigationTools2/index.svg where I applied batik:static="true" to the <g> element with the id "mainMapGroup" - a group that contains a raster image and a path element. That content is not subject to change, at least not while dragging this group (with a transform), or while drawing a manaul zoom rectangle on that element.

The thing is, that on my system (SuSE Linux) I can't see any performance differences while dragging the map content or drawing the zoom rectangle.

Is that not a suitable situation for the static attribute or did simply the patching not work?

Thanks for any info on that topic,

Andreas

PS: I am now also testing on Windows, to see if there is any difference.

--
----------------------------------------------
Andreas Neumann - Institute of Cartography
Swiss Federal Institute of Technology (ETH)
ETH Hoenggerberg
CH-8093  Zurich, Switzerland
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.carto.net/neumann/
SVG.Open: http://www.svgopen.org/
Carto.net: http://www.carto.net/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to