Re: [xml] 2.9.0 performance regression



On Tue, Sep 18, 2012 at 10:35:17AM +0800, Daniel Veillard wrote:
  Well that's a switch to new buffer structures which should be 64bit
clean, the only extra processing would be related to the UPDATE_COMPAT
and CHECK_COMPAT macros used on entry and exit of the new buffer calls
to ensure ABI compatibility with the old buffers. One way to test if
this is indeed the case would be to comment off
  #define WITH_BUFFER_COMPAT
at the top of buf.c and recheck, can you do that and report ?

This extra processing causes about a 6% performance regression.

w/  WITH_BUFFER_COMPAT: 200903.4 +/- 149.1469 (5 Runs)
w/o WITH_BUFFER_COMPAT: 188117.0 +/- 354.6548 (5 Runs)

Same setup as before.

Thanks.

-- 
Jim Kukunas
Intel Open Source Technology Center

Attachment: pgpRZ_cKWyfUP.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]