/
usr
/
share
/
phpmyadmin
/
templates
/
sql
/
/usr/share/phpmyadmin/templates/sql
mkdir
upload
Name
Size
Mode
Actions
bookmark.twig
1376
0644
edit
dl
rm
enum_column_dropdown.twig
194
0644
edit
dl
rm
no_results_returned.twig
506
0644
edit
dl
rm
profiling_chart.twig
2815
0644
edit
dl
rm
query.twig
9992
0644
edit
dl
rm
relational_column_dropdown.twig
207
0644
edit
dl
rm
set_column.twig
315
0644
edit
dl
rm
sql_query_results.twig
242
0644
edit
dl
rm
Edit:
/usr/share/phpmyadmin/templates/sql/profiling_chart.twig
(2815B)
<fieldset> <legend>{% trans 'Profiling' %}</legend> <div class="floatleft"> <h3>{% trans 'Detailed profile' %}</h3> <table class="pma-table" id="profiletable"> <thead> <tr> <th> {% trans 'Order' %} <div class="sorticon"></div> </th> <th> {% trans 'State' %} <div class="sorticon"></div> </th> <th> {% trans 'Time' %} <div class="sorticon"></div> </th> </tr> </thead> <tbody> {% for state in profiling.profile %} <tr> <td>{{ loop.index }}</td> <td>{{ state.status }}</td> <td class="text-right"> {{ state.duration }}s <span class="rawvalue hide">{{ state.duration_raw }}</span> </td> </tr> {% endfor %} </tbody> </table> </div> <div class="floatleft"> <h3>{% trans 'Summary by state' %}{{ show_mysql_docu('general-thread-states') }}</h3> <table class="pma-table" id="profilesummarytable"> <thead> <tr> <th> {% trans 'State' %} <div class="sorticon"></div> </th> <th> {% trans 'Total Time' %} <div class="sorticon"></div> </th> <th> {% trans '% Time' %} <div class="sorticon"></div> </th> <th> {% trans 'Calls' %} <div class="sorticon"></div> </th> <th> {% trans 'ø Time' %} <div class="sorticon"></div> </th> </tr> </thead> <tbody> {% for name, stats in profiling.states %} <tr> <td>{{ name }}</td> <td class="text-right"> {{ format_number(stats.total_time, 3, 1) }}s <span class="rawvalue hide">{{ stats.total_time }}</span> </td> <td class="text-right"> {{ format_number(100 * (stats.total_time / profiling.total_time), 0, 2) }}% </td> <td class="text-right">{{ stats.calls }}</td> <td class="text-right"> {{ format_number(stats.total_time / stats.calls, 3, 1) }}s <span class="rawvalue hide"> {{ (stats.total_time / stats.calls)|number_format(8, '.', '') }} </span> </td> </tr> {% endfor %} </tbody> </table> </div> <div class='clearfloat'></div> <div id="profilingChartData" class="hide"> {{- profiling.chart|json_encode() -}} </div> <div id="profilingchart" class="hide"></div> <script type="text/javascript"> AJAX.registerOnload('sql.js', function () { Sql.makeProfilingChart(); Sql.initProfilingTables(); }); </script> </fieldset>
Save
{% trans 'Profiling' %}
{% trans 'Detailed profile' %}
{% trans 'Order' %}
{% trans 'State' %}
{% trans 'Time' %}
{% for state in profiling.profile %}
{{ loop.index }}
{{ state.status }}
{{ state.duration }}s
{{ state.duration_raw }}
{% endfor %}
{% trans 'Summary by state' %}{{ show_mysql_docu('general-thread-states') }}
{% trans 'State' %}
{% trans 'Total Time' %}
{% trans '% Time' %}
{% trans 'Calls' %}
{% trans 'ø Time' %}
{% for name, stats in profiling.states %}
{{ name }}
{{ format_number(stats.total_time, 3, 1) }}s
{{ stats.total_time }}
{{ format_number(100 * (stats.total_time / profiling.total_time), 0, 2) }}%
{{ stats.calls }}
{{ format_number(stats.total_time / stats.calls, 3, 1) }}s
{{ (stats.total_time / stats.calls)|number_format(8, '.', '') }}
{% endfor %}
{{- profiling.chart|json_encode() -}}