This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

re: [PATCH] regex performance improvement


Isamu,
    I tested your proposed patch against current glibc cvs tonight
on debian ppc sid. It appears to pass make check okay and I get the
following results...

using sed built with glibc regex support before your patch....

real	1m59.282s
user	1m58.630s
sys	0m0.580s

for...

time ../sed/sed -n -f ../dc.sed < ./dc.inp >tmp.dc

using sed built with glibc regex support with your patch...

real	0m30.322s
user	0m30.130s
sys	0m0.070s

However there appears to still be some room for improvement compared
to sed built with its own regex support which gives...

real	0m10.865s
user	0m10.510s
sys	0m0.020s

It's getting close though.
                                 Jack


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]