Attached is a modifed example of the Pipe sample from: xalan-j_2_7_1\samples\Pipe\Pipe.javaWe started looking at piped transforms using TransformerHandlers to do exactly the the same operation but found the performance was no better - in fact it was a little worse.Hi,For a long time we've been using sequential transforms (with intermediate results in byte arrays) that use one Transformer after another.
We have a chain of transforms that we need to send our XML through.
Even with this trivial example, the sequential transforms outperform their piped equivalents.
This raises the following questions:
- what are the scenarios where a piped transform is expected to outperform a sequential transform?
- are there any techniques to get better performance out of piped transforms?