logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Other Software View previous topic :: View next topic
Reply to topic   Topic: Php opcache fluctuating page generation time
Author
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Tue 09 Jul '13 21:24    Post subject: Php opcache fluctuating page generation time Reply with quote

Running some tests with the new opcache in php 5.5.

Noticed that the page generation time fluctuates quite much, by refreshing the page every second:

Min: Page generation time: 0.0063s - SQL queries: 14
Max: Page generation time: 0.0166s - SQL queries: 14

With 5.2 and Wincache it is quite steady and fluctuates from 0.0062s - 0.0073s

Running same scipt under the same Apache Win32, one vhost 5.5 with opcache and one vhost 5.2 with wincache

Steffen
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 10 Jul '13 14:00    Post subject: Reply with quote

There is a hughe difference from 5.2 to 5.5. It's like Win XP to Win 8.

Does the generation time also varies with 5.5 without opcache?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Wed 10 Jul '13 14:39    Post subject: Reply with quote

No so much variations when opcache disabled:

5.5 NTS No opcache:
Min: Page generation time: 0.0204s
Max: Page generation time: 0.0214s

5.5 NTS With opcache:
Min: Page generation time: 0.0063s
Max: Page generation time: 0.0166s

5.2 NTS with wincache:
Min: Page generation time: 0.0062s
Max: Page generation time: 0.0073s

The script page generation time is a copy of the forum here with the google stuff removed. And it measures the time of the forum index page.

Steffen
Back to top


Reply to topic   Topic: Php opcache fluctuating page generation time View previous topic :: View next topic
Post new topic   Forum Index -> Other Software