Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[FrameworkBundle] Wire ArrayCache for annotation reader at bootstrap#21556

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:3.2fromnicolas-grekas:fwb-boot-annot
Feb 12, 2017

Conversation

@nicolas-grekas
Copy link
Member

QA
Branch?3.2
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets#21549
LicenseMIT
Doc PR-

Related to#21381 which disabled any cache at bootstrap.
Instead, this wires ArrayCache during bootstrapping, then swaps the cache provider for the real one.

if ($container->hasAlias($provider =$tags['annotations.cached_reader'][0]['provider'])) {
$provider = (string)$container->getAlias($provider);
}
$container->set('annotations.cached_reader',null);
Copy link
Member

Choose a reason for hiding this comment

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

aren't we deprecating this ?

Copy link
MemberAuthor

@nicolas-grekasnicolas-grekasFeb 7, 2017
edited
Loading

Choose a reason for hiding this comment

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

not in#21533 (methodMap is empty in ContainerBuilder), but in#19668 yes - yet I think we should not merge itas explained implicitly :)

@tristanbes
Copy link
Contributor

tristanbes commentedFeb 8, 2017
edited
Loading

This patch seems to fix this issue:#21559 that is present on v3.2.3

As you can see on blackfire:
v3.2.2 to v3.2.3 patched
and
v3.2.3 not patched to v3.2.3 patched

This patch still have a +2,39% negative impact on performance, but it's still better than +2020% of negative impact :-)

tarlepp and Remiii reacted with thumbs up emoji

@lubomir-haralampiev
Copy link

also fixes the#21576

Thanks

@fabpot
Copy link
Member

Thank you@nicolas-grekas.

@fabpotfabpot merged commitf90f53e intosymfony:3.2Feb 12, 2017
fabpot added a commit that referenced this pull requestFeb 12, 2017
… bootstrap (nicolas-grekas)This PR was merged into the 3.2 branch.Discussion----------[FrameworkBundle] Wire ArrayCache for annotation reader at bootstrap| Q             | A| ------------- | ---| Branch?       | 3.2| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#21549| License       | MIT| Doc PR        | -Related to#21381 which disabled any cache at bootstrap.Instead, this wires ArrayCache during bootstrapping, then swaps the cache provider for the real one.Commits-------f90f53e [FrameworkBundle] Wire ArrayCache for annotation reader at bootstrap
@nicolas-grekasnicolas-grekas deleted the fwb-boot-annot branchFebruary 16, 2017 22:45
@fabpotfabpot mentioned this pull requestFeb 17, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof left review comments

Assignees

No one assigned

Projects

None yet

Milestone

3.2

Development

Successfully merging this pull request may close these issues.

6 participants

@nicolas-grekas@tristanbes@lubomir-haralampiev@fabpot@stof@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp