-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Slow performance in dev mode since "Use VarDumper in the profiler" #19978
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
Comments
The memory usage difference is also remarkable: +501% (see blackfire comparison) |
ping @nicolas-grekas |
Symfony Demo with two additional fields (blackfire) |
Can you try changing the |
my real world form with.. |
So, should we stop here? Is 50 OK or should be lower it? To me it's OK if we're slower than before: this time is added only to |
Let us go with 50. 👍 Imo it is not worth to decrease the number. Also: I think my real world form has an unusual amount of checkboxes etc.
Didn't pay attention to it until now, only had a look to the performance difference. ;) |
PR updated, not to 50, but to limit to the 2nd depth level. |
…f regression (nicolas-grekas) This PR was merged into the 3.2-dev branch. Discussion ---------- [Form][EventDispatcher] Fix VarDumper usage related to perf regression | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #19978 | License | MIT | Doc PR | - Commits ------- 294868e [Form][EventDispatcher] Fix VarDumper usage related to perf regression
@nicolas-grekas updated to current master. It is much slower than your pr 2 days ago. commit before 41a7649: ~ 180 ms |
See #20022, |
Since 41a7649 forms are very slow in dev mode.
Example: Symfony-Demo,
PostType
(/de/admin/post/1/edit
), added these two fields:Blackfire comparison (from commit before 41a7649 to current master): +645%, 227 ms → 1.69 s
In a real-world form in a project it is: 180 ms → 4.2 s
ping @wouterj
The text was updated successfully, but these errors were encountered: