symfony - What does the yellow color warning icon mean in Symfony2 web profiler? -


it's requests count did orm (doctrine), why it's yellow?

screenshot

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

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -