[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 24/107: Debug : Add memory info
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 24/107: Debug : Add memory info |
Date: |
Mon, 26 Aug 2019 10:31:49 -0400 (EDT) |
sparkyx pushed a commit to branch master
in repository noalyss.
commit a53c63c76e24df5bf49f9840f46b3dbfe5401f85
Author: Dany De Bontridder <address@hidden>
Date: Sun Apr 14 18:22:50 2019 +0200
Debug : Add memory info
---
html/do.php | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/html/do.php b/html/do.php
index be77861..c8ea494 100644
--- a/html/do.php
+++ b/html/do.php
@@ -110,6 +110,10 @@ html_page_start($style_user);
if ( DEBUG ) {
?>
<div id="debug_div" style="border:slategray solid 1px;margin-left:
0px;position:absolute;background:white;display:fixed;top:2px;left:25px;z-index:1000;display:none">
+ <h2 style="margin-top:100px"> Memory Usage </h2>
+ <?php echo memory_get_usage()/1024.0 . " kb \n"; ?>
+
+
<h2>$_POST</h2>
<pre>
<?php
@@ -139,6 +143,7 @@ if ( DEBUG ) {
<h2>$GLOBALS</h2>
<pre>
<?php
+ // Use much of memory
print_r($GLOBALS);
?>
</pre>
- [Noalyss-commit] [noalyss] branch master updated (513424f -> a68b6a8), Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 02/107: Fix bug with payment method, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 07/107: mantis #1690: Bug : impossible d'utiliser < dans Inplace_Edit Replace strip_tags , add a space before the "<", Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 08/107: Mantis #1693: CA - problème avec la balance croisée double, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 11/107: Security : replace $_GET by Http_Input + translate, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 13/107: Icon_Action : add icon for menu, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 16/107: Icon_Action add icon for locking , unlocking, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 24/107: Debug : Add memory info,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 18/107: Mantis #0001651: Problème avec totaux en CA, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 09/107: translation, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 04/107: Php7.2 incompatibility, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 10/107: Security : replace $_GET by Http_Input, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 06/107: TEST : fix some little bugs, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 14/107: Accounting : Cosmetic change icon more by arrow, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 17/107: Mantis #0001651: Problème avec totaux en CA, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 12/107: Code cleaning replace $start and $end by $periode_...>value to avoid to get it several times, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 23/107: Bug javascript mispelled function show_tab, Dany De Bontridder, 2019/08/26
- [Noalyss-commit] [noalyss] 21/107: Merge branch 'master' of gitlab.noalyss.eu:noalyss/noalyss into dev7016, Dany De Bontridder, 2019/08/26