$context["has_time_events"]=(twig_length_filter($this->env,twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',6,$this->source);})()),"events",[],"any",false,false,false,6))>0);
// line 7
echo"";
$context["total_time"]=(((isset($context["has_time_events"])||array_key_exists("has_time_events",$context)?$context["has_time_events"]:(function(){thrownewRuntimeError('Variable "has_time_events" does not exist.',7,$this->source);})()))?(twig_sprintf("%.0f",twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',7,$this->source);})()),"duration",[],"any",false,false,false,7))):("n/a"));
// line 8
echo"";
$context["initialization_time"]=((twig_length_filter($this->env,twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',8,$this->source);})()),"events",[],"any",false,false,false,8)))?(twig_sprintf("%.0f",twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',8,$this->source);})()),"inittime",[],"any",false,false,false,8))):("n/a"));
// line 9
echo"";
$context["status_color"]=((((isset($context["has_time_events"])||array_key_exists("has_time_events",$context)?$context["has_time_events"]:(function(){thrownewRuntimeError('Variable "has_time_events" does not exist.',9,$this->source);})())&&(twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',9,$this->source);})()),"duration",[],"any",false,false,false,9)>1000)))?("yellow"):(""));
echotwig_escape_filter($this->env,(isset($context["total_time"])||array_key_exists("total_time",$context)?$context["total_time"]:(function(){thrownewRuntimeError('Variable "total_time" does not exist.',13,$this->source);})()),"html",null,true);
echotwig_escape_filter($this->env,(isset($context["total_time"])||array_key_exists("total_time",$context)?$context["total_time"]:(function(){thrownewRuntimeError('Variable "total_time" does not exist.',20,$this->source);})()),"html",null,true);
echo" ms</span>
</div>
<divclass=\"sf-toolbar-info-piece\">
<b>Initializationtime</b>
<span>";
// line 24
echotwig_escape_filter($this->env,(isset($context["initialization_time"])||array_key_exists("initialization_time",$context)?$context["initialization_time"]:(function(){thrownewRuntimeError('Variable "initialization_time" does not exist.',24,$this->source);})()),"html",null,true);
echotwig_include($this->env,$context,"@WebProfiler/Profiler/toolbar_item.html.twig",["link"=>(isset($context["profiler_url"])||array_key_exists("profiler_url",$context)?$context["profiler_url"]:(function(){thrownewRuntimeError('Variable "profiler_url" does not exist.',28,$this->source);})()),"status"=>(isset($context["status_color"])||array_key_exists("status_color",$context)?$context["status_color"]:(function(){thrownewRuntimeError('Variable "status_color" does not exist.',28,$this->source);})())]);
$context["has_time_events"]=(twig_length_filter($this->env,twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',39,$this->source);})()),"events",[],"any",false,false,false,39))>0);
// line 40
echo" <h2>Performance metrics</h2>
<divclass=\"metrics\">
<divclass=\"metric\">
<spanclass=\"value\">";
// line 44
echotwig_escape_filter($this->env,twig_sprintf("%.0f",twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',44,$this->source);})()),"duration",[],"any",false,false,false,44)),"html",null,true);
echo" <span class=\"unit\">ms</span></span>
<spanclass=\"label\">Total execution time</span>
</div>
<divclass=\"metric\">
<spanclass=\"value\">";
// line 49
echotwig_escape_filter($this->env,twig_sprintf("%.0f",twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',49,$this->source);})()),"inittime",[],"any",false,false,false,49)),"html",null,true);
if(twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',53,$this->source);})()),"collectors",[],"any",false,false,false,53),"memory",[],"any",false,false,false,53)){
// line 54
echo" <div class=\"metric\">
<spanclass=\"value\">";
// line 55
echotwig_escape_filter($this->env,twig_sprintf("%.2f",((twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',55,$this->source);})()),"collectors",[],"any",false,false,false,55),"memory",[],"any",false,false,false,55),"memory",[],"any",false,false,false,55)/1024)/1024)),"html",null,true);
echo" <span class=\"unit\">MiB</span></span>
<spanclass=\"label\">Peak memory usage</span>
</div>
";
}
// line 59
echo"
";
// line 60
if((twig_length_filter($this->env,twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',60,$this->source);})()),"children",[],"any",false,false,false,60))>0)){
// line 61
echo" <div class=\"metric-divider\"></div>
<divclass=\"metric\">
<spanclass=\"value\">";
// line 64
echotwig_escape_filter($this->env,twig_length_filter($this->env,twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',64,$this->source);})()),"children",[],"any",false,false,false,64)),"html",null,true);
echo"</span>
<spanclass=\"label\">Sub-Request";
// line 65
echo(((twig_length_filter($this->env,twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',65,$this->source);})()),"children",[],"any",false,false,false,65))>1))?("s"):(""));
echo"</span>
</div>
";
// line 68
if((isset($context["has_time_events"])||array_key_exists("has_time_events",$context)?$context["has_time_events"]:(function(){thrownewRuntimeError('Variable "has_time_events" does not exist.',68,$this->source);})())){
// line 69
echo"";
$context["subrequests_time"]=0;
// line 70
echo"";
$context['_parent']=$context;
$context['_seq']=twig_ensure_traversable(twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',70,$this->source);})()),"children",[],"any",false,false,false,70));
$context["subrequests_time"]=((isset($context["subrequests_time"])||array_key_exists("subrequests_time",$context)?$context["subrequests_time"]:(function(){thrownewRuntimeError('Variable "subrequests_time" does not exist.',71,$this->source);})())+twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,$context["child"],"getcollector",[0=>"time"],"method",false,false,false,71),"events",[],"any",false,false,false,71),"__section__",[],"any",false,false,false,71),"duration",[],"any",false,false,false,71));
echotwig_escape_filter($this->env,(isset($context["subrequests_time"])||array_key_exists("subrequests_time",$context)?$context["subrequests_time"]:(function(){thrownewRuntimeError('Variable "subrequests_time" does not exist.',78,$this->source);})()),"html",null,true);
echo" <span class=\"unit\">ms</span></span>
<spanclass=\"label\">Sub-Request";
// line 79
echo(((twig_length_filter($this->env,twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',79,$this->source);})()),"children",[],"any",false,false,false,79))>1))?("s"):(""));
echo" time</span>
</div>
";
}
// line 82
echo" </div>
<h2>Executiontimeline</h2>
";
// line 86
if(!twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',86,$this->source);})()),"isStopwatchInstalled",[],"method",false,false,false,86)){
}elseif(twig_test_empty(twig_get_attribute($this->env,$this->source,// line 90
(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',90,$this->source);})()),"events",[],"any",false,false,false,90))){
<inputtype=\"number\" name=\"threshold\" id=\"threshold\" value=\"1\" min=\"0\" placeholder=\"1.1\"> ms
<spanclass=\"help\">(timeline only displays events with a duration longer than this threshold)</span>
</form>
";
// line 107
if(twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',107,$this->source);})()),"parent",[],"any",false,false,false,107)){
// line 108
echo" <h3 class=\"dump-inline\">
Sub-Request";
// line 109
echo$this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->env,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',109,$this->source);})()),"getcollector",[0=>"request"],"method",false,false,false,109),"requestattributes",[],"any",false,false,false,109),"get",[0=>"_controller"],"method",false,false,false,109));
echo"
<small>
";
// line 111
echotwig_escape_filter($this->env,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',111,$this->source);})()),"events",[],"any",false,false,false,111),"__section__",[],"any",false,false,false,111),"duration",[],"any",false,false,false,111),"html",null,true);
echo" ms
<aclass=\"newline\" href=\"";
// line 112
echotwig_escape_filter($this->env,$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler",["token"=>twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',112,$this->source);})()),"parent",[],"any",false,false,false,112),"token",[],"any",false,false,false,112),"panel"=>"time"]),"html",null,true);
echo"\">Return to parent request</a>
</small>
</h3>
";
}elseif((twig_length_filter($this->env,twig_get_attribute($this->env,$this->source,// line 115
(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',115,$this->source);})()),"children",[],"any",false,false,false,115))>0)){
// line 116
echo" <h3>
MainRequest<small>";
// line 117
echotwig_escape_filter($this->env,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',117,$this->source);})()),"events",[],"any",false,false,false,117),"__section__",[],"any",false,false,false,117),"duration",[],"any",false,false,false,117),"html",null,true);
echo" ms</small>
</h3>
";
}
// line 120
echo"
";
// line 121
echotwig_call_macro($macros["helper"],"macro_display_timeline",[(isset($context["token"])||array_key_exists("token",$context)?$context["token"]:(function(){thrownewRuntimeError('Variable "token" does not exist.',121,$this->source);})()),twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',121,$this->source);})()),"events",[],"any",false,false,false,121),twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',121,$this->source);})()),"events",[],"any",false,false,false,121),"__section__",[],"any",false,false,false,121),"origin",[],"any",false,false,false,121)],121,$context,$this->getSourceContext());
echo"
";
// line 123
if(twig_length_filter($this->env,twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',123,$this->source);})()),"children",[],"any",false,false,false,123))){
// line 124
echo" <p class=\"help\">Note: sections with a striped background correspond to sub-requests.</p>
<h3>Sub-requests<small>(";
// line 126
echotwig_escape_filter($this->env,twig_length_filter($this->env,twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',126,$this->source);})()),"children",[],"any",false,false,false,126)),"html",null,true);
echo")</small></h3>
";
// line 128
$context['_parent']=$context;
$context['_seq']=twig_ensure_traversable(twig_get_attribute($this->env,$this->source,(isset($context["profile"])||array_key_exists("profile",$context)?$context["profile"]:(function(){thrownewRuntimeError('Variable "profile" does not exist.',128,$this->source);})()),"children",[],"any",false,false,false,128));
echotwig_escape_filter($this->env,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["events"])||array_key_exists("events",$context)?$context["events"]:(function(){thrownewRuntimeError('Variable "events" does not exist.',132,$this->source);})()),"__section__",[],"any",false,false,false,132),"duration",[],"any",false,false,false,132),"html",null,true);
echo" ms</small>
</h4>
";
// line 135
echotwig_call_macro($macros["helper"],"macro_display_timeline",[twig_get_attribute($this->env,$this->source,$context["child"],"token",[],"any",false,false,false,135),(isset($context["events"])||array_key_exists("events",$context)?$context["events"]:(function(){thrownewRuntimeError('Variable "events" does not exist.',135,$this->source);})()),twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["collector"])||array_key_exists("collector",$context)?$context["collector"]:(function(){thrownewRuntimeError('Variable "collector" does not exist.',135,$this->source);})()),"events",[],"any",false,false,false,135),"__section__",[],"any",false,false,false,135),"origin",[],"any",false,false,false,135)],135,$context,$this->getSourceContext());
echotwig_escape_filter($this->env,(isset($context["token"])||array_key_exists("token",$context)?$context["token"]:(function(){thrownewRuntimeError('Variable "token" does not exist.',158,$this->source);})()),"js",null,true);
echo"\",
left:";
// line 159
echotwig_escape_filter($this->env,twig_sprintf("%F",(twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["events"])||array_key_exists("events",$context)?$context["events"]:(function(){thrownewRuntimeError('Variable "events" does not exist.',159,$this->source);})()),"__section__",[],"any",false,false,false,159),"origin",[],"any",false,false,false,159)-(isset($context["origin"])||array_key_exists("origin",$context)?$context["origin"]:(function(){thrownewRuntimeError('Variable "origin" does not exist.',159,$this->source);})()))),"js",null,true);
echo",
end:\"";
// line 160
echotwig_escape_filter($this->env,twig_sprintf("%F",twig_get_attribute($this->env,$this->source,twig_get_attribute($this->env,$this->source,(isset($context["events"])||array_key_exists("events",$context)?$context["events"]:(function(){thrownewRuntimeError('Variable "events" does not exist.',160,$this->source);})()),"__section__",[],"any",false,false,false,160),"endtime",[],"any",false,false,false,160)),"js",null,true);
echotwig_call_macro($macros["__internal_parse_1"],"macro_dump_events",[(isset($context["events"])||array_key_exists("events",$context)?$context["events"]:(function(){thrownewRuntimeError('Variable "events" does not exist.',161,$this->source);})())],161,$context,$this->getSourceContext());
$context['_seq']=twig_ensure_traversable((isset($context["events"])||array_key_exists("events",$context)?$context["events"]:(function(){thrownewRuntimeError('Variable "events" does not exist.',168,$this->source);})()));
echotwig_escape_filter($this->env,(isset($context["token"])||array_key_exists("token",$context)?$context["token"]:(function(){thrownewRuntimeError('Variable "token" does not exist.',198,$this->source);})()),"html",null,true);
echo"\" class=\"legends\"></div>
<svgid=\"timeline-";
// line 199
echotwig_escape_filter($this->env,(isset($context["token"])||array_key_exists("token",$context)?$context["token"]:(function(){thrownewRuntimeError('Variable "token" does not exist.',199,$this->source);})()),"html",null,true);
echo"\" class=\"timeline-graph\"></svg>
<script>";
// line 201
echo" window.addEventListener('load', function onLoad() {
echotwig_escape_filter($this->env,(isset($context["token"])||array_key_exists("token",$context)?$context["token"]:(function(){thrownewRuntimeError('Variable "token" does not exist.',206,$this->source);})()),"js",null,true);
echo"')),
newLegend(document.getElementById('legend-";
// line 207
echotwig_escape_filter($this->env,(isset($context["token"])||array_key_exists("token",$context)?$context["token"]:(function(){thrownewRuntimeError('Variable "token" does not exist.',207,$this->source);})()),"js",null,true);
echo"'), theme),
document.getElementById('threshold'),
";
// line 209
echotwig_call_macro($macros["helper"],"macro_dump_request_data",[(isset($context["token"])||array_key_exists("token",$context)?$context["token"]:(function(){thrownewRuntimeError('Variable "token" does not exist.',209,$this->source);})()),(isset($context["events"])||array_key_exists("events",$context)?$context["events"]:(function(){thrownewRuntimeError('Variable "events" does not exist.',209,$this->source);})()),(isset($context["origin"])||array_key_exists("origin",$context)?$context["origin"]:(function(){thrownewRuntimeError('Variable "origin" does not exist.',209,$this->source);})())],209,$context,$this->getSourceContext());