Support ⇒ Dragonfly CMS v10 ⇒ The Need for Speed ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum IndexDragonfly CMS v10

The Need for Speed Reply to topic


I'm not talking about the game (although i have it and play using a playseat with Logitech G25).
I'm talking about forums code.

I have no idea how much faster it is then the v9 code but for now i will post this website's current one and will have a whack on the v9 later on.
Attachment: forums-speed.png
Description Left side logged in, right side anonymous
Filesize 16.69 KiB
Viewed 19 Time(s)
You are not allowed to view/download this attachment

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial

Last edited by DJ Maze on Mon Sep 14, 2015 7:16 pm; edited 1 time in total


Without any test, v9 and v10 forums are visually faster then any other PHPBB forum. At least this is my opinion.

Marco

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


No idea what has happened but speed increased from 50ms to 25 ms since 2015
The server has no new hardware, only new PHP and latest v10 source Smile

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


v 9.4 (Upgraded to work with PHP 7.2.2 ) is faster than v10

Dragonfly 9.4 Running on PHP 7.x + MariaDB
dragonfly9php7support.com/

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
PHP Version 7.0.6 + MariaDB + Dragonfly 9.4 Modified


Great to hear that bulldog500, then i wonder what makes v10 slower 😞

edit:
Found a few with xdebug.
The TAL::path() resolver first checked for methods and then properties. Switching them made it faster.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial

Last edited by DJ Maze on Sun Mar 25, 2018 1:19 pm; edited 1 time in total


I bet is because PHP updates, php > 7 is way faster for many reasons like heap allocation changes for example.

Yes, with PHP > 7 v9 could be potentially be faster then v10 probably because it creates fewer zvals, and each with less refcounts, but v9 does obviously give you less then v10 for just few ticks more.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


v9 themes in v10 do give more zvals and more ticks (makes it slower).
v10 themes give less zvals and less ticks then v9.
That's because the system has to assign more properties to a v9 template (that are not needed in v10).
See for example: bitbucket.org/dragonfl...at=default

In theory:
  • v10 website with v10 theme should be faster then
  • v9 website with v9 theme should be faster then
  • v10 website with v9 theme

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


DJ Maze wrote
Found a few with xdebug.
The TAL::path() resolver first checked for methods and then properties. Switching them made it faster.


Made another test today, seems we went from 50ms to 36 ms.
Anonymous: 1.64 MiB | 22.7 ms | 4 in 3.1 ms | 14 in 4.5 ms | 92 | 66 | 3 Member: 1.85 MiB | 28.3 ms | 4 in 3.8 ms | 18 in 6.8 ms | 92 | 66 | 3 Administrator: 2.67 MiB | 36.2 ms | 4 in 6.4 ms | 15 in 6.8 ms | 108 | 66 | 3
I don't think it can be made faster as admins need more files loaded.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial

All times are UTC


Jump to: