Skip to content

Commit 85151d3

Browse files
committed
Corrections for Benchmark kit 4
1 parent 2bfabcd commit 85151d3

File tree

17 files changed

+85
-183
lines changed

17 files changed

+85
-183
lines changed

.circleci/config.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@ jobs:
55
docker:
66
- image: phpbenchmarks/benchmark-kit:4
77
working_directory: /var/www/benchmark
8-
environment:
9-
NGINX_PORT: 80
108
steps:
119
- checkout
1210
- run:
1311
name: /var/entrypoint.sh
1412
command: /var/entrypoint.sh --nginx-as-service
1513
- run:
1614
name: "benchmark:validate"
17-
command: "/var/benchmark-kit/bin/console benchmark:validate"
15+
command: "/var/benchmark-kit/bin/console benchmark:validate:all"
1816

1917
workflows:
2018
version: '2.1'

.phpbenchmarks/Configuration.php

Lines changed: 0 additions & 75 deletions
This file was deleted.

.phpbenchmarks/config.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
component:
2+
id: 1
3+
benchmark:
4+
type: 3
5+
relativeUrl: /
6+
sourceCode:
7+
entryPoint: public/index.php
8+
urls:
9+
entryPoint: 'https://github.com/phpbenchmarks/php/tree/7.4.2_rest-api_0/public/index.php'
10+
randomizeLanguageDispatchEvent: 'https://github.com/phpbenchmarks/php/tree/7.4.2_rest-api_0/public/index.php#L51'
11+
randomizeLanguageEventListener: 'https://github.com/phpbenchmarks/php/tree/7.4.2_rest-api_0/src/Translation/TranslationService.php#L11'
12+
translations: 'https://github.com/phpbenchmarks/php/tree/7.4.2_rest-api_0/translations/phpbenchmarks.en_GB.php'
13+
translate: 'https://github.com/phpbenchmarks/php/tree/7.4.2_rest-api_0/public/index.php#L21'
14+
serialize: 'https://github.com/phpbenchmarks/php/tree/7.4.2_rest-api_0/public/index.php#L58'
15+
coreDependency:
16+
name: php
17+
version: 7.4.2
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
server {
2-
listen 80;
2+
listen ____PORT____;
33
server_name ____HOST____;
44
root ____INSTALLATION_PATH____/public;
55
location / {

.phpbenchmarks/composer/composer.lock.php7.4 renamed to .phpbenchmarks/php/7.4/composer.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.phpbenchmarks/php/7.4/php.ini

Whitespace-only changes.

.phpbenchmarks/php/7.4/preload.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
$rootDir = __DIR__ . '/../../..';
6+
7+
require($rootDir . '/translations/phpbenchmarks.en.php');
8+
require($rootDir . '/translations/phpbenchmarks.en_GB.php');
9+
require($rootDir . '/translations/phpbenchmarks.fr_FR.php');
10+
require($rootDir . '/public/index.php');
File renamed without changes.

.phpbenchmarks/responseBody/responseBody.en_GB.json renamed to .phpbenchmarks/php/7.4/responseBody/responseBody.en_GB.json

File renamed without changes.

0 commit comments

Comments
 (0)