? Success

User tests: Successful: Unsuccessful:

avatar alikon
alikon
22 Aug 2016

Pull Request for Issue #11701 .

Summary of Changes

  • reduced the number of executed queries for impression as suggested by @mengqigu
  • reduced the number of executed queries in case of already tracked items
  • used JDatabaseExceptionExecuting instead of RuntimeException

Testing Instructions

with the debug plugin enabled
test the banners modules you'll should notice less number of exectuted queries
see #11701

avatar joomla-cms-bot joomla-cms-bot - change - 22 Aug 2016
Category Front End Components
avatar alikon alikon - open - 22 Aug 2016
avatar alikon alikon - change - 22 Aug 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 22 Aug 2016
Labels Added: ?
avatar alikon alikon - change - 22 Aug 2016
The description was changed
avatar alikon alikon - edited - 22 Aug 2016
avatar alikon alikon - change - 22 Aug 2016
The description was changed
avatar alikon alikon - edited - 22 Aug 2016
avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Aug 2016

interresting ... while testing this i discovered this query ...

image

avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Aug 2016

Reggarding the patch itself i noticed a sligh improvement (used 5 banners) in performance and memory consumption.

Before

image

After

image

Anyway this module is still the modules that takes more time to load (in the ones that i have).

Even with this patch, on my test site server (no php/joomla caching, joomla debug mode on), this module is still the module that takes more time to load (in the ones that i have). For reference:
image

avatar andrepereiradasilva andrepereiradasilva - test_item - 22 Aug 2016 - Tested successfully
avatar andrepereiradasilva
andrepereiradasilva - comment - 22 Aug 2016

I have tested this item successfully on 133a7f1

performance improved.


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

avatar alikon
alikon - comment - 22 Aug 2016

interresting ... while testing this i discovered this query ...

yes indeed room for a new PR, still need to understand how Purchase Type is supposed to work....
i don't use banners at all ;)

avatar alikon
alikon - comment - 22 Aug 2016

@yvesh more i look at banner code and more i think we need a more proof redo ;)....

avatar brianteeman
brianteeman - comment - 22 Aug 2016

@alikon there are better things to spend your time on


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

avatar truptikagathara truptikagathara - test_item - 24 Aug 2016 - Tested successfully
avatar truptikagathara
truptikagathara - comment - 24 Aug 2016

I have tested this item successfully on 133a7f1


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

avatar jeckodevelopment jeckodevelopment - change - 25 Aug 2016
Status Pending Ready to Commit
avatar jeckodevelopment
jeckodevelopment - comment - 25 Aug 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 25 Aug 2016
Labels Added: ?
avatar rdeutz rdeutz - change - 25 Aug 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-08-25 20:04:18
Closed_By rdeutz
avatar rdeutz rdeutz - close - 25 Aug 2016
avatar rdeutz rdeutz - merge - 25 Aug 2016
avatar joomla-cms-bot joomla-cms-bot - close - 25 Aug 2016
avatar joomla-cms-bot joomla-cms-bot - change - 25 Aug 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment