> Date: Thu, 6 Jan 2005 00:47:39 -0000
> From: "Matthew J. Dovey" <[log in to unmask]>
>
> > > Average response time for the queries is 445ms.
> > > [...]
> > > I then tried making the SRW message by hand, similar to building the
> > > SRU URL. [...] Average response time is 46ms.
> >
> > Woah! Dude!
> >
> > You're saying that the toolkit you were using to build your SRW XML
> > packets was taking ten times as long as everything else you're doing
> > _including network overhead_? Man, that is one deeply
> > doo-dooey toolkit.
>
> This is probably Axis. Axis is not a particularly efficient engine,
> not least of all since they got carried away with the class
> injection pattern...
I think that "not particularly efficient" is a rather charitable
description here, rather along the lines of describing the Pacific
Ocean as "not particularly dry".
What, in the name of all that is holy, is it _doing_? Remember that
the 46ms elapsed-time for the SRU version of the test includes time
to _parse_ the returned XML, which tends to be _much_ more demanding
than building a structure. I am truly staggered. I can't begin to
imagine what uber-bogus code they must have in there that can lead to
such astonishing wastefulness. I am reminded of the mythical
bogo-sort --
http://catb.org/~esr/jargon/html/B/bogo-sort.html
_/|_ _______________________________________________________________
/o ) \/ Mike Taylor <[log in to unmask]> http://www.miketaylor.org.uk
)_v__/\ "We pay too high a price for Unity if it costs us the Truth"
-- Arthur Wallis.
--
Listen to free demos of soundtrack music for film, TV and radio
http://www.pipedreaming.org.uk/soundtrack/