Skip to content

[Console] optimisation getting the command when finding #31420

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

Merged

Conversation

Simperfit
Copy link
Contributor

Q A
Branch? master
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets none
License MIT
Doc PR

Following discussion with @chalasr in here #31261 (comment), first commit will be deleted when the other PR is merged.

@Simperfit Simperfit changed the title Feature/optiisation getting the command [Console] optimisation getting the command when finding May 8, 2019
@nicolas-grekas nicolas-grekas added this to the 4.3 milestone May 9, 2019
@nicolas-grekas nicolas-grekas changed the base branch from master to 4.3 May 9, 2019 08:00
@nicolas-grekas
Copy link
Member

Time for rebase :)

@fabpot fabpot modified the milestones: 4.3, next May 10, 2019
@Simperfit Simperfit force-pushed the feature/optiisation-getting-the-command branch 3 times, most recently from 995f25c to abe9d57 Compare May 12, 2019 05:33
@Simperfit
Copy link
Contributor Author

@nicolas-grekas rebased

@Simperfit Simperfit force-pushed the feature/optiisation-getting-the-command branch from abe9d57 to 2989a05 Compare May 12, 2019 06:04
@Simperfit
Copy link
Contributor Author

Status: Needs Review

Copy link
Member

@chalasr chalasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking merge for now, I realize that calling has() involves to instantiate some lazy commands which might be a problem even for the related bugfix, I'm going to double-check the behavior tonight.

@chalasr chalasr changed the base branch from 4.3 to master May 14, 2019 12:53
@chalasr chalasr force-pushed the feature/optiisation-getting-the-command branch from 2989a05 to 3d6b303 Compare May 14, 2019 12:53
@chalasr
Copy link
Member

chalasr commented May 14, 2019

Thank you @Simperfit.

@chalasr chalasr merged commit 3d6b303 into symfony:master May 14, 2019
chalasr pushed a commit that referenced this pull request May 14, 2019
…(Simperfit)

This PR was submitted for the 4.3 branch but it was merged into the 4.4-dev branch instead (closes #31420).

Discussion
----------

[Console] optimisation getting the command when finding

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | no
| New feature?  | no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks?    | no     <!-- see https://symfony.com/bc -->
| Deprecations? | no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass?   | yes    <!-- please add some, will be required by reviewers -->
| Fixed tickets | none  <!-- #-prefixed issue number(s), if any -->
| License       | MIT
| Doc PR        |
<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
 - Bug fixes must be submitted against the lowest branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too).
 - Features and deprecations must be submitted against the master branch.
-->

Following discussion with @chalasr in here #31261 (comment), first commit will be deleted  when the other PR is merged.

Commits
-------

3d6b303 [Console] Optimisation on getting the command
@Simperfit Simperfit deleted the feature/optiisation-getting-the-command branch May 14, 2019 17:33
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants