? ? Pending

User tests: Successful: Unsuccessful:

avatar ggppdk
ggppdk
6 Sep 2017

Pull Request for Issue #17889

This should fix a considerable part of the performance problem reported in #17889

e.g. 25% or 50% or 75% (please note that i have not tested the performance improvement)

Also the above performance improvement is when having --zero-- textareas / editor fields, since these also include a different performance issue which is that of triggering content plugins, in which case you have performance that depends on slow content plugins !!!

Summary of Changes

If you have 10 or more fields per record (e.g. per article)

Then the layouts of fields are checked several thousands of times (in category view) if they exist
and a few hundrends of times in single record view

With this PR every layou is checked only once

Testing Instructions

Custom fields display in frontend works as before

Expected result

The layouts of fields are checked only once if they exist

Actual result

The layouts of fields are checked several thousands of time if they exist

Documentation Changes Required

None

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar joomla-cms-bot joomla-cms-bot - change - 6 Sep 2017
Category Administration com_fields
avatar ggppdk ggppdk - open - 6 Sep 2017
avatar ggppdk ggppdk - change - 6 Sep 2017
Status New Pending
avatar ggppdk ggppdk - change - 6 Sep 2017
The description was changed
avatar ggppdk ggppdk - edited - 6 Sep 2017
avatar ggppdk ggppdk - change - 7 Sep 2017
Labels Added: ?
avatar ggppdk ggppdk - change - 7 Sep 2017
The description was changed
avatar ggppdk ggppdk - edited - 7 Sep 2017
avatar ggppdk ggppdk - change - 7 Sep 2017
The description was changed
avatar ggppdk ggppdk - edited - 7 Sep 2017
avatar ggppdk ggppdk - change - 7 Sep 2017
The description was changed
avatar ggppdk ggppdk - edited - 7 Sep 2017
avatar Hackwar Hackwar - test_item - 18 Oct 2017 - Tested successfully
avatar Hackwar
Hackwar - comment - 18 Oct 2017

I have tested this item successfully on a88108d

I have tested this successfully, however please split up the assignment to the cache and the return statement. For a customer of mine, this was a gigantic speed improvement.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17893.

avatar Hackwar Hackwar - test_item - 18 Oct 2017 - Tested successfully
avatar Hackwar
Hackwar - comment - 18 Oct 2017

I have tested this item successfully on 6d59695


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17893.

avatar HLeithner HLeithner - test_item - 18 Oct 2017 - Tested successfully
avatar HLeithner
HLeithner - comment - 18 Oct 2017

I have tested this item successfully on 6d59695


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/17893.

avatar franz-wohlkoenig franz-wohlkoenig - change - 18 Oct 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 18 Oct 2017

RTC after two successful tests.

avatar mbabker mbabker - change - 18 Oct 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-10-18 13:44:26
Closed_By mbabker
Labels Added: ?
avatar mbabker mbabker - close - 18 Oct 2017
avatar mbabker mbabker - merge - 18 Oct 2017
avatar Hackwar
Hackwar - comment - 18 Oct 2017

Thank you!

Add a Comment

Login with GitHub to post a comment