Skip to content

Commit 312a8fa

Browse files
Новая версия-исправление 1.0.52.1
1 parent 61edfa1 commit 312a8fa

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# ChangeLog
22

3+
@ 2023-06-05, v1.0.52.1
4+
5+
* Исправлен вывод даты звершения работы скрипта - выравнивание даты
6+
37
@ 2023-05-11, v1.0.52
48

59
* Вывод названия сервера, даты-времени завершения работы,

bench.php

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@
99
# Company : Code24 BV, The Netherlands #
1010
# Author : Sergey Dryabzhinsky #
1111
# Company : Rusoft Ltd, Russia #
12-
# Date : May 11, 2023 #
13-
# Version : 1.0.52 #
12+
# Date : Jun 05, 2023 #
13+
# Version : 1.0.52.1 #
1414
# License : Creative Commons CC-BY license #
1515
# Website : https://github.com/rusoft/php-simple-benchmark-script #
1616
# Website : https://git.rusoft.ru/open-source/php-simple-benchmark-script #
1717
# #
1818
################################################################################
1919
*/
2020

21-
$scriptVersion = '1.0.52';
21+
$scriptVersion = '1.0.52.1';
2222

2323
// Special string to flush buffers, nginx for example
2424
$flushStr = '<!-- '.str_repeat(" ", 8192).' -->';
@@ -1589,10 +1589,13 @@ function print_results_common()
15891589
: ''
15901590
);
15911591

1592-
} // show only system info?
1592+
echo "$line\n";
1593+
echo str_pad("End", $padLabel) . " : " . date("Y-m-d H:i:s") . "\n";
15931594

1594-
echo "$line\n";
1595-
echo str_pad("End", $padInfo) . " : " . date("Y-m-d H:i:s") . "\n";
1595+
} // show only system info?
1596+
else {
1597+
echo str_pad("End", $padInfo) . " : " . date("Y-m-d H:i:s") . "\n";
1598+
}
15961599

15971600
if (php_sapi_name() != 'cli')
15981601
echo "</pre>\n";

0 commit comments

Comments
 (0)