Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[OptionsResolver] Micro optimizations and simplifications #29065

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
merged 1 commit into from
Nov 10, 2018

Conversation

yceruto
Copy link
Member

@yceruto yceruto commented Nov 2, 2018

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

As we know, this component has a big impact on the workflow of the Form component. I'm a newcomer in Blackfire, so there could be other optimizations that I can't able to see, but here we go.

For now, we've less code to maintain commit-changes and a micro-optimizacion of performance. It'd be great if someone could try these changes in a real project to see their real value.

orbf
metrics

https://blackfire.io/profiles/compare/a04a13d3-7f60-4434-a2b8-0762efb8fbd6/graph
https://github.com/yceruto/orbf The sample takes into account only the core extensions.

Cheers!

@yceruto
Copy link
Member Author

yceruto commented Nov 2, 2018

Maybe improving this #29055

@yceruto yceruto force-pushed the optionsresolver_optimization branch from 52d60c7 to 4340c4e Compare November 2, 2018 14:00
@nicolas-grekas nicolas-grekas added this to the 4.2 milestone Nov 6, 2018
@yceruto yceruto force-pushed the optionsresolver_optimization branch from 4340c4e to 24c2213 Compare November 6, 2018 16:23
@yceruto
Copy link
Member Author

yceruto commented Nov 6, 2018

@nicolas-grekas
Copy link
Member

Thank you @yceruto.

@nicolas-grekas nicolas-grekas merged commit 24c2213 into symfony:master Nov 10, 2018
nicolas-grekas added a commit that referenced this pull request Nov 10, 2018
…s (yceruto)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[OptionsResolver] Micro optimizations and simplifications

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

As we know, this component has a big impact on the workflow of the `Form` component. I'm a newcomer in Blackfire, so there could be other optimizations that I can't able to see, but here we go.

For now, we've less code to maintain ![commit-changes](https://user-images.githubusercontent.com/2028198/47917083-c3619d00-de7e-11e8-826a-0c3009948d93.png) and a micro-optimizacion of performance. It'd be great if someone could try these changes in a real project to see their real value.

![orbf](https://user-images.githubusercontent.com/2028198/47915644-e2116500-de79-11e8-8648-a5e619fcd3eb.png)
![metrics](https://user-images.githubusercontent.com/2028198/47917598-61a23280-de80-11e8-9153-3ea60317f1a5.png)

https://blackfire.io/profiles/compare/a04a13d3-7f60-4434-a2b8-0762efb8fbd6/graph
https://github.com/yceruto/orbf The sample takes into account only the core extensions.

Cheers!

Commits
-------

24c2213 Optimizations and simplifications OMG Blackfire!
@yceruto yceruto deleted the optionsresolver_optimization branch November 10, 2018 12:28
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.

3 participants