[Koha-devel] Deprecating the Non-XSLT display on Detail and Search/List Results

Jonathan Druart jonathan.druart at biblibre.com
Thu May 15 16:05:58 CEST 2014


I tried to compare the load time difference between the 2 views:

1/ OPACXSLTDetailsDisplay empty

for i in {1..10}; wget "http://opac.koha.vm/cgi-bin/koha/opac-search.pl?q=d"

2/ OPACXSLTDetailsDisplay set to default

for i in {1..10}; wget "http://opac.koha.vm/cgi-bin/koha/opac-search.pl?q=d"

Retrieve the time from the Apache access log:

sum_empty=`tail -n 20 koha-opac-access.log | head -n 10 | sed
's/.*time=\(.*\)/\1/g' | tr -s "\n" "+"`"0"; echo $sum_empty | bc

sum_default=`tail -n 10 koha-opac-access.log | sed
's/.*time=\(.*\)/\1/g' | tr -s "\n" "+"`"0"; echo $sum_default | bc

And I got the same values: 11812116 vs 11800376 ~ 1.1s per page loaded

I expected a more important load time with XSLT enabled.


2014-04-29 21:29 GMT+02:00 Galen Charlton <gmc at esilibrary.com>:
> Hi,
>
> On Tue, Apr 29, 2014 at 12:40 AM, Magnus Enger <magnus at enger.priv.no> wrote:
>> On 24 April 2014 05:12, David Cook <dcook at prosentient.com.au> wrote:
>>> What do people think about deprecating the non-XSLT display on detail and
>>> search/list results pages?
>>
>> +1.
>>
>> I'm not overly fond of XSLT as such, but reducing complexity is good.
>
> I really want to hear from current users on this one.
>
> I've sent out a tweet, but I suggest that somebody who is strongly in
> favor of the deprecation also raise the question on the mailing list
> -- in particular, whether there are folks who intentionally do not use
> the XSLT option. If the consensus is to announce a deprecation, we may
> as well do so upon the release of 3.16.0.
>
> Of course, because of bug 10134, somebody who started with 3.12.0 or
> later would have had to intentionally turn the XSLT option off.
>
> Regards,
>
> Galen
> --
> Galen Charlton
> Manager of Implementation
> Equinox Software, Inc. / The Open Source Experts
> email:  gmc at esilibrary.com
> direct: +1 770-709-5581
> cell:   +1 404-984-4366
> skype:  gmcharlt
> web:    http://www.esilibrary.com/
> Supporting Koha and Evergreen: http://koha-community.org &
> http://evergreen-ils.org
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/


More information about the Koha-devel mailing list