Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/PhpVersion/PhpVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ public static function getAll(): PhpVersionArray
new static(7, 2),
new static(7, 3),
new static(7, 4),
new static(8, 0)
new static(8, 0),
new static(8, 1)
]
);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

set -e

# add commands to initialize benchmark: clear cache and logs, warm up cache etc
composer install --no-dev --classmap-authoritative --ansi
31 changes: 31 additions & 0 deletions templates/benchmark/default/.phpbenchmarks/php/8.1/php.ini.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
; ----------------------------------------------------------------------------------------------------------------------
; This file will be added to PHP ini files loaded before benchmarking.
; Configure what you need here.
;
; /!\ Do NOT configure opcache.enable: it will be configured automatically.
; /!\ Do NOT configure opcache.preload and opcache.preload_user: it will be configured automatically. /!\
; ----------------------------------------------------------------------------------------------------------------------

; Examples of configuration you could change for your needs.

; The maximum number of keys (scripts) in the OPcache hash table.
; Only numbers between 200 and 1000000 are allowed.
;opcache.max_accelerated_files=10000

; If disabled, all PHPDoc comments are dropped from the code to reduce the
; size of the optimized code.
;opcache.save_comments=1

; A bitmask, where each bit enables or disables the appropriate OPcache
; passes
;opcache.optimization_level=0x7FFFBFFF

; Allows exclusion of large files from being cached. By default all files
; are cached.
;opcache.max_file_size=0

; Enables or disables opcode caching in shared memory.
;opcache.file_cache_only=0

; The OPcache shared memory storage size.
;opcache.memory_consumption=128
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?php

// You can configure PHP preload in this file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"aa_BB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"aa_BB 2,000","type":{"id":1,"name":"Type","translated":"aa_BB 3,000"}}]}]
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]},{"id":1,"login":"phpbenchmarks","createdAt":"2017-10-30 18:03:00","translated":"en_GB 1,000","comments":[{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}},{"id":1,"message":"http:\/\/www.php-benchmarks.com","translated":"en_GB 2,000","type":{"id":1,"name":"Type","translated":"en_GB 3,000"}}]}]
Loading