Feature RTC PR-5.2-dev Pending

User tests: Successful: Unsuccessful:

avatar Denitz
Denitz
28 Sep 2023

Summary of Changes

Remove call_user_func() in favour of direct call which is faster.

Testing Instructions

Apply patch.

Actual result BEFORE applying this Pull Request

Slow call_user_func() call on form field filter.

Expected result AFTER applying this Pull Request

Fast call.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

c70a6be 28 Sep 2023 avatar Denitz fix
avatar joomla-cms-bot joomla-cms-bot - change - 28 Sep 2023
Category Libraries
avatar Denitz Denitz - open - 28 Sep 2023
avatar Denitz Denitz - change - 28 Sep 2023
Status New Pending
avatar HLeithner HLeithner - change - 30 Sep 2023
Title
[5.0] Remove call_user_func()
[5.1] Remove call_user_func()
avatar HLeithner HLeithner - edited - 30 Sep 2023
avatar HLeithner
HLeithner - comment - 30 Sep 2023

This pull request has been automatically rebased to 5.1-dev.

avatar bembelimen bembelimen - change - 14 Mar 2024
Labels Added: Feature PR-5.0-dev
avatar HLeithner
HLeithner - comment - 24 Apr 2024

This pull request has been automatically rebased to 5.2-dev.

avatar HLeithner HLeithner - change - 24 Apr 2024
Title
[5.1] Remove call_user_func()
[5.2] Remove call_user_func()
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar mabdelaziz77 mabdelaziz77 - test_item - 24 Aug 2024 - Tested successfully
avatar mabdelaziz77
mabdelaziz77 - comment - 24 Aug 2024

I have tested this item ✅ successfully on 38bed88


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

avatar pe7er pe7er - test_item - 24 Aug 2024 - Tested successfully
avatar pe7er
pe7er - comment - 24 Aug 2024

I have tested this item ✅ successfully on 38bed88

I tested the PR successfully.

I tested the speed using microtime and hrtime
microtime
Before 0.54661
After 0.060788

hrtime
Before 0.002111 miliseconds
After 0.001321 miliseconds

$start = hrtime(true);
// the statement
$end = hrtime(true);
$eta = ($end-$start) / 1e+6;

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41988.
avatar richard67
richard67 - comment - 24 Aug 2024

@pe7er For setting RTC it is not enough to just add the label on GitHub. It needs to change status in the issue tracker. I will do that now.

P.S.: And changing just the branch label is also not right as it depends on the base branch, which is still 5.2-dev here.

avatar richard67 richard67 - change - 24 Aug 2024
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 24 Aug 2024

RTC


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

avatar Hackwar Hackwar - change - 25 Aug 2024
Labels Added: RTC PR-5.2-dev
Removed: PR-5.0-dev
avatar Hackwar
Hackwar - comment - 25 Aug 2024

Thank you for this contribution! ?

avatar Hackwar Hackwar - change - 25 Aug 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-08-25 19:58:57
Closed_By Hackwar
avatar Hackwar Hackwar - close - 25 Aug 2024
avatar Hackwar Hackwar - merge - 25 Aug 2024

Add a Comment

Login with GitHub to post a comment