1{**
2 * Copyright since 2007 PrestaShop SA and Contributors
3 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
4 *
5 * NOTICE OF LICENSE
6 *
7 * This source file is subject to the Open Software License (OSL 3.0)
8 * that is bundled with this package in the file LICENSE.md.
9 * It is also available through the world-wide-web at this URL:
10 * https://opensource.org/licenses/OSL-3.0
11 * If you did not receive a copy of the license and are unable to
12 * obtain it through the world-wide-web, please send an email
13 * to license@prestashop.com so we can send you a copy immediately.
14 *
15 * DISCLAIMER
16 *
17 * Do not edit or add to this file if you wish to upgrade PrestaShop to newer
18 * versions in the future. If you wish to customize PrestaShop for your
19 * needs please refer to https://devdocs.prestashop.com/ for more information.
20 *
21 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
22 * @copyright Since 2007 PrestaShop SA and Contributors
23 * @license   https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
24 *}
25<div class="col-4">
26  <table class="table table-condensed">
27    <tr>
28      <td>
29        Load Time
30      </td>
31      <td>
32        {load_time data=$summary.loadTime}
33      </td>
34    </tr>
35    <tr>
36      <td>Querying Time</td>
37      <td>
38        {total_querying_time data=$summary.queryTime} ms
39      </td>
40    </tr>
41    <tr>
42      <td>
43        Queries
44      </td>
45      <td>
46        {total_queries data=$summary.nbQueries}
47      </td>
48    </tr>
49    <tr>
50      <td>
51        Memory Peak Usage
52      </td>
53      <td>
54        {peak_memory data=$summary.peakMemoryUsage}
55      </td>
56    </tr>
57    <tr>
58      <td>
59        Included Files
60      </td>
61      <td>
62        {$summary.includedFiles} files - {memory data=$summary.totalFileSize}
63      </td>
64    </tr>
65    <tr>
66      <td>
67        PrestaShop Cache
68      </td>
69      <td>
70        {memory data=$summary.totalCacheSize}
71      </td>
72    </tr>
73    <tr>
74      <td>
75        <a href="javascript:void(0);" onclick="$('.global_vars_detail').toggle();">Global vars</a>
76      </td>
77      <td>
78        {memory data=$summary.totalGlobalVarSize}
79      </td>
80    </tr>
81
82    {foreach $summary.globalVarSize as $global=>$size}
83      <tr class="global_vars_detail" style="display:none">
84        <td>
85          - global ${$global}
86        </td>
87        <td>
88          {$size}k
89        </td>
90      </tr>
91    {/foreach}
92  </table>
93</div>
94