I have been looking at the performance of the latest version of the Apache
XML-RPC system when transferring 1Mb byte arrays via base64 encoding. That
is to say I have been running the TestBase64 benchmark.

On my test system (Sun 1.3 JVM on Win2K) here the "old Helma" XML-RPC system
runs the TestBase64 benchmark (from the current CVS tree) in ~54 seconds.
The latest version from CVS runs the same benchmark in ~77 seconds. I have
replaced the Base64 implementation with a version of the Base64
encode/decoding from MinML-RPC and tidied up the interfacing of this to the
rest of the code (avoiding converting from StringBuffer to String, returning
a char array rather than a byte array and the consequential changes).  This
now runs the benchmark in ~26 seconds.

Are you interested in having these patches?

John Wilson
The Wilson Partnership
http://www.wilson.co.uk

Reply via email to