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

More
12 years 4 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
12 years 4 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...

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

More
12 years 4 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...

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

More
12 years 4 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.

More
12 years 4 months ago #26580 by ggppdk
mmm, images created by image field are cached have you made any changes to the image field that could cause the images not be cached?

Can you temporarily use the most recent image field to test?


I have made a nightly build of r1367 because r1365 had a couple of important bugs in item model

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

For J1.5:
flexicontent.googlecode.com/file ... ild.tar.gz
For J2.5:
flexicontent.googlecode.com/file ... ybuild.zip

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...

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

More
12 years 4 months ago #26610 by pshoeg
Wow, this works perfectly. Page load went from about 3.5-4 second to 1-1.5 seconds. Thank you so much for your help :)

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.449 seconds
Save
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