Perfomance issues [Reading of templates not cached in J2.5]

More
13 years 8 months ago #26346 by ggppdk
Yes it is working for J1.5 version. For J2.5, we still do not have a solution for this.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #26350 by pshoeg
That's too bad — hope you can fix it sometime. Thanks for your help so far!

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #26416 by pshoeg
Hi again,

Just wanted to ask if I should report this as an issue on Google Project Hosting — is it an error or just an enhancement? For me, it is a really important fix, as the system becomes virtually unusable because of the long loading times.

For instance, we have a knowledge base used by our call center. Some of the employees open a lot of the pages from the knowledge base in tabs, because it's quicker to change tabs than it is to wait on the page to render.

I'll be happy to help in any way I can, I'm just not a programmer. That's probably also why I don't understand that it worked in Joomla 1.5, but not in 2.5.

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #26422 by ggppdk
Problem is that the output produced by our template-reading function can not be cached, because it can not be compressed the "PHP way" of 'serialize'.

Will fix this problem somehow.
I have a couple of ideas.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #26490 by ggppdk
In r1364

# Fixed performance issue in J2.5, regarding inability to cache the parsed FLEXIcontent templates XML configuration files

This was really tricky to do. I have tested it, and it works properly. I hope nothing was broken


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #26500 by micker
impressive ;)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #26516 by mcmurdok
Hello,
I'm working too with J2.5.6 and flexicontent RC5 r1338.
I manuelly tried this fix and it works fine for afterDispatch.
But I've still performance problems within the flexicontent advanced content module (mod_flexicontent).
I build 2 modules catching relevant content and show it as a slideshow.
Is the following loading behaviour normal?
Code:
Application 0.000 seconds (+0.000); 0.45 MB (+0.447) - afterLoad Application 0.082 seconds (+0.082); 4.20 MB (+3.752) - afterInitialise Application 0.106 seconds (+0.024); 5.26 MB (+1.061) - afterRoute Application 0.328 seconds (+0.222); 11.26 MB (+5.998) - afterDispatch Application 0.671 seconds (+0.343); 12.08 MB (+0.824) - beforeRenderModule mod_menu (Fußzeilen Menü) Application 0.677 seconds (+0.005); 12.18 MB (+0.097) - afterRenderModule mod_menu (Fußzeilen Menü) Application 0.677 seconds (+0.000); 12.17 MB (-0.004) - beforeRenderModule mod_menu (Sitemap) Application 0.705 seconds (+0.028); 12.24 MB (+0.065) - afterRenderModule mod_menu (Sitemap) Application 0.705 seconds (+0.000); 12.24 MB (-0.003) - beforeRenderModule mod_menu (Main Menu) Application 0.733 seconds (+0.028); 12.25 MB (+0.012) - afterRenderModule mod_menu (Main Menu) Application 0.733 seconds (+0.000); 12.25 MB (-0.004) - beforeRenderModule mod_custom (Header Rechts Grundschule) Application 0.735 seconds (+0.002); 12.25 MB (+0.006) - afterRenderModule mod_custom (Header Rechts Grundschule) Application 0.736 seconds (+0.000); 12.26 MB (+0.011) - beforeRenderModule mod_flexicontent (Topteaser Fade Grundschule) Application 4.635 seconds (+3.900); 14.49 MB (+2.231) - afterRenderModule mod_flexicontent (Topteaser Fade Grundschule) Application 4.636 seconds (+0.001); 14.47 MB (-0.024) - beforeRenderModule mod_flexicontent (Topteaser Slide Grundschule) Application 8.109 seconds (+3.473); 14.51 MB (+0.044) - afterRenderModule mod_flexicontent (Topteaser Slide Grundschule) Application 8.109 seconds (+0.000); 14.48 MB (-0.036) - beforeRenderModule mod_custom (PostIt In Kürze Grundschule) Application 8.118 seconds (+0.008); 14.52 MB (+0.039) - afterRenderModule mod_custom (PostIt In Kürze Grundschule) Application 8.118 seconds (+0.000); 14.51 MB (-0.001) - beforeRenderModule mod_login (Login Form) Application 8.122 seconds (+0.004); 14.54 MB (+0.026) - afterRenderModule mod_login (Login Form) Application 8.122 seconds (+0.000); 14.54 MB (-0.002) - beforeRenderModule mod_breadcrumbs (Breadcrumbs) Application 8.126 seconds (+0.003); 14.56 MB (+0.020) - afterRenderModule mod_breadcrumbs (Breadcrumbs) Application 8.126 seconds (+0.000); 14.56 MB (-0.004) - beforeRenderModule mod_custom (Kreide Grundschule) Application 8.126 seconds (+0.000); 14.56 MB (+0.004) - afterRenderModule mod_custom (Kreide Grundschule) Application 8.126 seconds (+0.000); 14.56 MB (-0.002) - beforeRenderModule mod_menu (Assistenzmenü) Application 8.131 seconds (+0.004); 14.60 MB (+0.040) - afterRenderModule mod_menu (Assistenzmenü) Application 8.138 seconds (+0.007); 14.67 MB (+0.075) - afterRender
Or could this be a similar problem like caching the XML?

To get an impression of the performance of the site visit: www.montessori-leipzig.de

Regards

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #26531 by ggppdk
Please enable goto flexicontent configuration and enable "Print performance and other Information"
Just to verify these times.

Have you enabled skip empty fields parameter in flexicontent module?
Do you have fields in flexicontent module that trigger some heavy content plugin?

Please answer the above and then you can you can install extplorer extension and enable FTP mode in your site and send me a PM to review if there is some performance issue with FLEXIcontent module that we can improve.

Please note that FLEXIcontent module has many SCOPING parameters and without examining the particular case i cannot say for sure.


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #26545 by ggppdk
I have commit a working version r1365

Test with this one, which includes the performance caching fix, for views that use template info.

NOTE, there has been ITEM Model and ITEM edit form changes so be sure to test Item Edit Form

Consider this version test only, although it has various bug fixes and improvements, something may have been broken


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star review. Thanks!

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #26568 by mcmurdok
Hello,
I tried your performance fix and it works well. Thank you.

Concerning my performance issue with mod_flexicontent, I noticed that the delay is caused by the rendering of the fc-image-fields, used by the items.
If I use the build-in image-renderer of phpThumb, the page is rendered very quick, but the processing of image-resizing of phpThumb is too slow.
If I use "Field HTML as Image" the rendering of the page is too slow, but with the advantage, that the images are still there in the right size (they then come from the image-cache folders)

ggppdk, if you want to take a look, I pm you the login-data of the test environment.

Regards

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save