[XML-SIG] Pyana 0.2.0 released

Uche Ogbuji uche.ogbuji@fourthought.com
Tue, 18 Dec 2001 12:27:29 -0700


> This is a multi-part message in MIME format.
> 
> ------=_NextPart_000_0036_01C1872A.6648D570
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> 
> Uche Ogbuji wrote:
> 
> > > PIRXX is focused on providing Xerces XML services to Python. The
> current
> > > release of PIRXX provides SAX2 interfaces but I believe that =
> J=FCrgen
> is
> > > working on DOM support.
> > >
> > > So, right now, Pyana is probably your best bet for high-performance
> XSLT
> > > processing in Python while PIRXX offers Xerces SAX2 interfaces.
> >=20
> > Are you basing this on actual benchmarks?  In particular, I'd be
> surprised
> > if Pyana was faster overall than current CVS of 4XSLT, Since Xalan
> isn't,
> > as I measure it.
> 
> I am basing this on the timings of largish transformations that I was
> doing around 2 months ago. Since then I haven't really compared them and
> I have never run any formal benchmarks.=20
> 
> Note that one of the big problems with timing Xalan from the command
> line is that it is very slow to load, especially on windows. I just
> timed "import Pyana" on my PIV 1.7GHz and it took 0.74s. But the beauty
> of using Pyana instead of something like "popen('xalan ..." is that the
> load time becomes a one-time cost for the application.
> 
> For fun, I just downloaded:
> http://www.datapower.com/XSLTMark/download/XSLTMark_2_1_0.zip
> 
> And wrote the attached script. I did this without expending any effort
> trying to understand the benchmark suite; I just test each .xml/.xsl
> pair. Notice that all of the source/stylesheet documents are small so
> the advantage should go to 4suite.
> 
> I don't want to get 4suite from CVS so why don't you get Pyana:

No.  I'm no more interested in running a benchmark between the two than you 
are.  I have much better things to do, like actually working to improve 
4suite.  Therefore, I know better than to make such unsubstantiated comments 
as "foo is your best bet for high-performance XSLT processing".

I'm sure we can all just get along: multiple XSLT implementations for Python 
is a Good Thing.


-- 
Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.com               +1 303 583 9900 x 101
Fourthought, Inc.                         http://Fourthought.com 
4735 East Walnut St, Boulder, CO 80301-2537, USA
XML strategy, XML tools (http://4Suite.org), knowledge management