Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce again getId calls #2699

Merged
merged 1 commit into from
Nov 8, 2022
Merged

Reduce again getId calls #2699

merged 1 commit into from
Nov 8, 2022

Conversation

luigifab
Copy link
Contributor

@luigifab luigifab commented Nov 8, 2022

Description

In #2677, this is a good change, but not complete.
I found (again) with Blackfire that I can do a better work:

before
b

after
a

I think I have changed other things to display again theses getId.
To check the PR, I added if ($id != $node->getId()) exit;.

OpenMage 20.0.16 / PHP 8.0.25

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)

@github-actions github-actions bot added the Component: Catalog Relates to Mage_Catalog label Nov 8, 2022
@fballiano fballiano merged commit f7694d3 into OpenMage:1.9.4.x Nov 8, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2022

Unit Test Results

1 files  ±0  1 suites  ±0   0s ⏱️ ±0s
0 tests ±0  0 ✔️ ±0  0 💤 ±0  0 ❌ ±0 
7 runs  ±0  5 ✔️ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit f7694d3. ± Comparison against base commit a47f2d5.

@luigifab luigifab deleted the less-getid2 branch November 10, 2022 12:23
@luigifab luigifab mentioned this pull request Jan 17, 2023
4 tasks
@luigifab luigifab mentioned this pull request Feb 2, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Catalog Relates to Mage_Catalog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants