forked from https://github.com/symfony/symfony
This PR was squashed before being merged into the 3.3-dev branch (closes #22272).
Discussion
----------
[WebProfilerBundle] Tweaked the Cache profiler panel
| Q | A
| ------------- | ---
| Branch? | master
| Bug fix? | no
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | -
| License | MIT
| Doc PR | -
Main changes:
---
1) When there are no calls in a cache pool, now we display less information:
| Before / After
| ---
| ![before-empty-pool](https://cloud.githubusercontent.com/assets/73419/24652670/fdaa22f6-1932-11e7-8075-1fbcb8f333e2.png)
| ![after-empty-pool](https://cloud.githubusercontent.com/assets/73419/24652672/ffbe3816-1932-11e7-920f-5e0fdd880953.png)
---
2) The "call list" is now displayed in a more compact way:
![after-compact-call-list](https://cloud.githubusercontent.com/assets/73419/24652706/1dfed9fc-1933-11e7-9b56-b453bf87a2ea.png)
Comparison:
| Before | After
| --- | ---
| ![before-call-list](https://cloud.githubusercontent.com/assets/73419/24652721/2935a3d2-1933-11e7-96a5-3bffb93807a1.png) | ![after-call-list](https://cloud.githubusercontent.com/assets/73419/24652723/2aa77466-1933-11e7-9e41-70656b42f086.png)
---
@ro0NL I know that you had a discussion about showing 0% or n/a for the ratio when there are no calls. You settled for `n/a` ... but as you can see, using `0%` allows to simplify templates ... and is still technically correct. I hope you understand it.
Commits
-------
|
||
---|---|---|
.composer | ||
.github | ||
src/Symfony | ||
.editorconfig | ||
.gitignore | ||
.php_cs.dist | ||
.travis.yml | ||
appveyor.yml | ||
CHANGELOG-3.0.md | ||
CHANGELOG-3.1.md | ||
CHANGELOG-3.2.md | ||
composer.json | ||
CONTRIBUTING.md | ||
CONTRIBUTORS.md | ||
LICENSE | ||
phpunit | ||
phpunit.xml.dist | ||
README.md | ||
UPGRADE-3.0.md | ||
UPGRADE-3.1.md | ||
UPGRADE-3.2.md | ||
UPGRADE-3.3.md | ||
UPGRADE-4.0.md |
Symfony is a PHP framework for web applications and a set of reusable PHP components. Symfony is used by thousands of web applications (including BlaBlaCar.com and Spotify.com) and most of the popular PHP projects (including Drupal and Magento).
Installation
- Install Symfony with Composer or with our own installer (see requirements details).
- Symfony follows the semantic versioning strictly, publishes "Long Term Support" (LTS) versions and has a release process that is predictable and business-friendly.
Documentation
- Read the Getting Started guide if you are new to Symfony.
- Try the Symfony Demo application to learn Symfony in practice.
- Master Symfony with the Guides and Tutorials, the Components docs and the Best Practices reference.
Community
- Join the Symfony Community and meet other members at the Symfony events.
- Get Symfony support on Stack Overflow, Slack, IRC, etc.
- Follow us on GitHub, Twitter and Facebook.
Contributing
Symfony is an Open Source, community-driven project with thousands of contributors. Join them contributing code or contributing documentation.
Security Issues
If you discover a security vulnerability within Symfony, please follow our disclosure procedure.
About Us
Symfony development is sponsored by SensioLabs, lead by the Symfony Core Team and supported by Symfony contributors.