Skip to content

Commit cc0090b

Browse files
committed
Restructure results per year
1 parent 3f31401 commit cc0090b

File tree

26 files changed

+8
-9
lines changed

26 files changed

+8
-9
lines changed

benchmark.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ if [[ "$1" == "run" ]]; then
4949
RESULT_ROOT_DIR="${NOW//-/_}"
5050
RESULT_ROOT_DIR="${RESULT_ROOT_DIR// /_}"
5151
RESULT_ROOT_DIR="${RESULT_ROOT_DIR//:/_}"
52+
RESULT_ROOT_DIR="$(echo "$NOW" | cut -c1-4)/$RESULT_ROOT_DIR"
5253
export RESULT_ROOT_DIR
5354
export INFRA_ENVIRONMENT
5455

bin/generate_results.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,32 @@
22
set -e
33

44
if [ ! -d "$1" ]; then
5-
exit
5+
exit 1
66
fi
77

88
if [ -z "$(ls -A $1)" ]; then
9-
exit
9+
exit 1
1010
fi
1111

1212
for dir in $1/*/
1313
do
1414
dir=${dir%*/}
1515
dirname="${dir##*/}"
1616

17-
mkdir -p "$2_$dirname"
17+
mkdir -p "${2}_$dirname"
1818

19-
cp "$1/$dirname/environment.tsv" "$2_$dirname/environment.tsv"
19+
cp "$1/$dirname/environment.tsv" "${2}_$dirname/environment.tsv"
2020

21-
cp "$1/$dirname/result.md" "$2_$dirname/result.md"
22-
cp "$1/$dirname/result.tsv" "$2_$dirname/result.tsv"
21+
cp "$1/$dirname/result.md" "${2}_$dirname/result.md"
22+
cp "$1/$dirname/result.tsv" "${2}_$dirname/result.tsv"
2323
done
2424

2525
database_dir="$PROJECT_ROOT/docs/results"
2626
database_file="$database_dir/database.tsv"
2727

2828
: > "$database_file"
2929

30-
for dir in $database_dir/*/
30+
for dir in $database_dir/*/*/
3131
do
3232
dir=${dir%*/}
3333

docs/results/database.tsv

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ micro_bench.php 5 15 0 PHP 8.3 05989e9e2cfbc11a6bde3063a6be9ede22ee983e https://
149149
micro_bench.php 5 15 0 PHP 8.4 e1630381b75c960cdc2ba83836be39fed88e211d https://github.com/php/php-src/commit/e1630381b75c960cdc2ba83836be39fed88e211d 1.34916 1.37571 0.00650 1.36250 -0.06 1.36216 -0.03 20.06
150150
micro_bench.php 5 15 0 PHP 8.4 (JIT) e1630381b75c960cdc2ba83836be39fed88e211d https://github.com/php/php-src/commit/e1630381b75c960cdc2ba83836be39fed88e211d 1.34396 1.37058 0.00726 1.35965 -0.27 1.36165 -0.07 20.06
151151

152-
153-
154152
URI ID Name Environment Runner Instance type Architecture CPU CPU cores RAM Kernel OS GCC Dedicated instance Disabled deeper C-states Disabled turbo boost Disabled hyper-threading Time
155153
2024_06_23_09_39_1_aws_x86_64_c7i_metal_24xl aws_x86_64_c7i_metal_24xl AWS x86_64 (c7i.24xl) aws host c7i.metal-24xl x86_64 48 188 GB 6.1.92-99.174.amzn2023.x86_64 Amazon Linux 2023.4.20240611 11.4.1 0 0 0 0 2024-06-23 09:39:00
156154
Test name Test warmup Test iterations Test requests PHP PHP Commit hash PHP Commit URL Min Max Std dev Average Average diff % Median Median diff % Memory usage

0 commit comments

Comments
 (0)