symfony - What does the yellow color warning icon mean in Symfony2 web profiler? -
it's requests count did orm (doctrine), why it's yellow?
solution a: http://github.com/doctrine/doctrinebundle/blob/master/resources/views/collector/db.html.twig#l6-l12
yellow color mean more 50 requests , no more
my intuition "yellow" means :
notice: large amount of requests should reduce performance reasons.
and "red" mean :
warning: huge amount of requests should reduce performance reasons.
edit: exact values doctrinebundle handles choose color status db requests amount (vendor/doctrine/doctrine-bundle/doctrine/bundle/doctrinebundle/resources/views/collector/db.html.twig) :
<span class="sf-toolbar-status{% if 50 < collector.querycount %} sf-toolbar-status-yellow{% endif %}">{{ collector.querycount }}</span>
- from 0 50 => green
- from 51 => yellow
no "red status" db requests amount
Comments
Post a Comment