[%- IF tc.config.QueryProfiler.stacktrace %]
[%- END %]
Time (ms) | [% |loc_html %]Stacktrace[% END %] | [% |loc_html %]Query[% END %]
--- | --- | ---
[%- FOR query_data IN queries_db %]
[%- IF tc.config.QueryProfiler.stacktrace %]

[%- USE elapsed = String( query_data.1 ) -%][% elapsed.format( "%.05fs" ) | html %]

Toggle Stacktrace

[% |loc_html %]Line[% END %] | [% |loc_html %]Method[% END %] | [% |loc_html %]File[% END %]
--- | --- | ---
[%- trace = query_data.2 -%] [%- WHILE ( frame = trace.next_frame ) %]
[% frame.line | html %] | [% frame.subroutine | html %] | [% frame.filename | html %]
[%- END %]

[%- END %]
[% query_data.0 | html %]

[% END %]