[Koha-bugs] [Bug 7170] Remove use of XML::Simple
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 8 15:18:55 CET 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7170
--- Comment #7 from Paul Poulain <paul.poulain at biblibre.com> 2011-12-08 14:18:55 UTC ---
(In reply to comment #6)
> I also checked with NYTProf
> * with YAML = Profile of mainpage.pl for 1.97s (of 2.58s), executing 201727
> statements and 52079 subroutine calls in 253 source files and 63 string evals.
> * with XML = Profile of mainpage.pl for 1.97s (of 2.60s), executing 201727
> statements and 52079 subroutine calls in 253 source files and 63 string evals.
>
> still investigating, there must be something wrong...
OK, I was testing twice with XML (forgot to update env variable)
Here is the result:
* with YAML: Profile of mainpage.pl for 1.92s (of 2.37s), executing 144420
statements and 33523 subroutine calls in 246 source files and 62 string evals.
* with XML = Profile of mainpage.pl for 1.97s (of 2.60s), executing 201727
statements and 52079 subroutine calls in 253 source files and 63 string evals.
it result in a *big* lowering of the number of statements executed, but not a
big change in the duration of the page.
If someone has an idea why...
Looking at the details of NYTProf, I see:
* 262ms is spent in XMLin (XML version)
* 1.20ms is spent in YAML::Syck::LoadFile (YAML version)
That's a 260ms difference, why don't we see it in the benchmark and/or in the
total duration of mainpage reported by NYTProf
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the Koha-bugs
mailing list