Latest zenphoto version (1.3.1.2) performance.

bic Member, Translator
Hi all,
after a long time i finally found the time to try an update. Currently I'm still using version 1.2.5_RC2. I'm aware of the security problems and all the new features that I'm missing but my layout required some changes, not only on theme side, so I really need to spend some time on it.
I'm testing the new version on my local server and I've noticed a great performance's slow down. I'm using deafult zenpage theme on both versions to compare the server load and the time needed to resolve an image (or album) link, and the difference is so great that I'm wondering if I'm missing something or if is better to keep the old version.

Don't be angry with me, I still love this software more than any other out there, so I hope it will not loose one of his strongest points: his lightness.

Regards
bic

Comments

  • Well, naturally there has been much change since then. But, do you have any details? Maybe it is just because I of course run each release in sequence, but I have not noticed a change in performance.
  • Based on your post, I did some measurements. Not, unfortunately, of 1.2.5, but of the current development stream. What I did discover is that instantiating a class often takes up to 1/2 second on my local install.

    Most plugins have options, and thus option classes. The architecture for plugins (since day one) has been such that the plugin will always instantiate this class, even for the front-end where it really is not needed. (Well, it was a means of insuring that the default options were set...)

    In tonight's nightly build this has been re-structured so that the option class is not instantiated except when dealing with options. This does mean that you may need to at least view the plugin options tab to get the defaults set for a newly installed plugin, but that seems a cost worth paying for the performance improvement that results from this change.

    I do not know that this would have been the difference you see between 1.2.5 and 1.3.1.2, but if there are many more plugins enabled now, it could be the case.
  • bic Member, Translator
    Hi, thanks for your interest in finding a solution and forgive me if I didn't answer sooner but my local server is at work place and during the week end I can't access it. I made a video screen capture to show you the difference between 1.2.5 and 1.3.2.1, you can see it here:
    http://www.antonioranesi.it/test/C40511451545.flv.php

    There are a few click, 2 form version 1.2.5 and 2 from 1.3.2.1

    I'll try the Nightly and let you know.
    bic
  • bic Member, Translator
    Great work sbillard, your changes in nightly build totally solved the performance issue. I hope this can be usefull also for other users and for the development team, to keep this software always over the top!
    Many thanks!
    bic
Sign In or Register to comment.