phpBB 3.1 load

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The current feature release of phpBB 3 is 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.3.x. If you need support for phpBB 3.3.x please visit the 3.3.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 299
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: phpBB 3.1 load

Post by Nicofuma »

actually you are not talking about the same thing because Google speed measure the user loading time which is mostly dependent on the assets where opcache works only on the php side.

So about Google speed the main issue is with the browser cache and that's can't be fixed on phpBB side without having to pipe all the files through php to set the right header.
Member of the phpBB Development-Team
No Support via PM

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1904
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: phpBB 3.1 load

Post by DavidIQ »

mrgtb wrote:I've run 3.0 and 3.1 now. Without a doubt 3.1 is slower than 3.0. Also, if you run a 3.1 forum through Google Speed test site as a benchmark, it'll usually come back with pretty bad results for speed, and no matter which 3.1 forum you run through it. They all tend to get poor results on speed.

https://developers.google.com/speed/pag ... tab=mobile
Same "poor" results for Xenforo (paid software):
https://developers.google.com/speed/pag ... ab=desktop
And MyBB (open source software):
https://developers.google.com/speed/pag ... ab=desktop

Also the results against a 3.0 site are more or less the same as you posted. Not saying the information isn't useful but seeing it compared against other sites makes it apparent that getting to the "green" on Google's own criteria seems to be quite difficult and maybe even unrealistic (plus it's their own criteria...they're not the czars of the internet...). Even one of their own sites rates "poor" against their own ratings:
https://developers.google.com/speed/pag ... mythbox%2F

This is all quite different from what is being discussed anyways.
Image

User avatar
JoshyPHP
Registered User
Posts: 381
Joined: Fri Jul 08, 2011 9:43 pm

Re: phpBB 3.1 load

Post by JoshyPHP »

VSE wrote:I'm talking about PHP plugins like http://php.net/manual/en/intro.opcache.php
Ok, so you're talking about opcode caches. I didn't know that memory_get_usage() included the memory used by opcodes. I guess it makes sense to include it after all.
VSE wrote:it's useless in a dev environment since any code changes won't show (because it's using whatever was cached :x )
If you set opcache.revalidate_freq to 0 it should show immediately.

Nicofuma
3.2 Release Manager
3.2 Release Manager
Posts: 299
Joined: Sun Apr 13, 2014 1:40 am
Location: Paris

Re: phpBB 3.1 load

Post by Nicofuma »

JoshyPHP wrote:
VSE wrote:I'm talking about PHP plugins like http://php.net/manual/en/intro.opcache.php
Ok, so you're talking about opcode caches. I didn't know that memory_get_usage() included the memory used by opcodes. I guess it makes sense to include it after all.
Actually memory_get_usage() show the memory allocated by the zend allocator and everything in php (the php core and the extensions) should use the zend allocator except in some rare case (when you want to use shared memory per example :) or when you are using a third party library which is relying to another allocator (the native mysql library provided by Oracle per example))
Member of the phpBB Development-Team
No Support via PM

User avatar
Volksdevil
Registered User
Posts: 84
Joined: Tue Sep 04, 2012 2:17 pm
Contact:

Re: phpBB 3.1 load

Post by Volksdevil »

A lot of this is way over my head, but I certainly found 3.1.x to be a lot slower than 3.0.12 as soon as I upgraded. It only got worse with extensions etc, but I think I'm definitely back down to an acceptable speed now with lots of tweaking/better host/cloudflare. If the coming updates speed things up a bit more then great.

Post Reply