History log of /PHP-8.4/benchmark/benchmark.php (Results 1 – 8 of 8)
Revision Date Author Comments
# ae2abcf3 16-Jul-2024 Julien Voisin

Add a check for required extensions in benchmark.php (#14811)

This should prevent people from being disappointed by
an unexpected error message when running the benchmark,
namely:

Add a check for required extensions in benchmark.php (#14811)

This should prevent people from being disappointed by
an unexpected error message when running the benchmark,
namely:

```
jvoisin@chernabog 21:54 (master) ~/dev/php-src php ./benchmark/benchmark.php false sapi/cgi/php-cgi
> 'valgrind' '--tool=callgrind' '--dump-instr=yes' '--callgrind-out-file=/home/jvoisin/dev/php-src/benchmark/profiles/callgrind.out.bench' '--' 'sapi/cgi/php-cgi' '-T1' '-d max_execution_time=0' '-d opcache.enable=1' '-d opcache.jit=disable' '-d opcache.jit_buffer_size=128M' '-d opcache.validate_timestamps=0' '/home/jvoisin/dev/php-src/Zend/bench.php'
> 'valgrind' '--tool=callgrind' '--dump-instr=yes' '--callgrind-out-file=/home/jvoisin/dev/php-src/benchmark/profiles/callgrind.out.bench.jit' '--' 'sapi/cgi/php-cgi' '-T1' '-d max_execution_time=0' '-d opcache.enable=1' '-d opcache.jit=tracing' '-d opcache.jit_buffer_size=128M' '-d opcache.validate_timestamps=0' '/home/jvoisin/dev/php-src/Zend/bench.php'
> '/usr/bin/php' '/home/jvoisin/dev/php-src/benchmark/repos/symfony-demo-2.2.3/bin/console' 'cache:clear'
> '/usr/bin/php' '/home/jvoisin/dev/php-src/benchmark/repos/symfony-demo-2.2.3/bin/console' 'cache:warmup'
> 'valgrind' '--tool=callgrind' '--dump-instr=yes' '--callgrind-out-file=/home/jvoisin/dev/php-src/benchmark/profiles/callgrind.out.symfony-demo' '--' 'sapi/cgi/php-cgi' '-T50,50' '-d max_execution_time=0' '-d opcache.enable=1' '-d opcache.jit=disable' '-d opcache.jit_buffer_size=128M' '-d opcache.validate_timestamps=0' '/home/jvoisin/dev/php-src/benchmark/repos/symfony-demo-2.2.3/public/index.php'
PHP Fatal error: Uncaught Error: Call to undefined function gmp_strval() in /home/jvoisin/dev/php-src/benchmark/benchmark.php:128
Stack trace:
thrown in /home/jvoisin/dev/php-src/benchmark/benchmark.php on line 128
[255]
jvoisin@chernabog 12:05 (master) ~/dev/php-src
```

show more ...


# c16ad918 28-Nov-2023 Daniil Gentili

Change default method of disabling JIT

https://wiki.php.net/rfc/jit_config_defaults
Closes GH-12678


# d45f4cef 02-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Drop Laravel from benchmark CI (#12595)

Two issues:
- The demo page does not seem to be doing much, so the value is limited.
- The benchmark instruction count has too much variance t

Drop Laravel from benchmark CI (#12595)

Two issues:
- The demo page does not seem to be doing much, so the value is limited.
- The benchmark instruction count has too much variance to be useful.

show more ...


# 1c9c3af1 17-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Add Laravel demo page to benchmark CI

The demo page doesn't do a lot, but might still be useful.
100 runs is enough to get rid of any prominent compilation overhead
in the profiles.

Add Laravel demo page to benchmark CI

The demo page doesn't do a lot, but might still be useful.
100 runs is enough to get rid of any prominent compilation overhead
in the profiles.

Closes GH-12466.

show more ...


# 6349b293 14-Sep-2023 Ilija Tovilo

Upload callgrind profile to GA (#12212)


# ee6f9e29 01-Sep-2023 Ilija Tovilo

Include branch in benchmarking information

This allows https://nielsdos.github.io/php-benchmark-visualisation/ to only
show commits from master (or a specific branch). Otherwise we get c

Include branch in benchmarking information

This allows https://nielsdos.github.io/php-benchmark-visualisation/ to only
show commits from master (or a specific branch). Otherwise we get confusing,
undulating commits from different branches, with potentially wildly different
performance.

Closes GH-12101

show more ...


# 24cc4020 15-Apr-2023 Ilija Tovilo

Benchmarking mean (#11085)

* Use 50 runs and calculate mean

* Don't validate timestamps

* Don't profile PHP startup and shutdown in cgi with valgrind


# afbc71d8 06-Apr-2023 Ilija Tovilo

Add benchmarking to CI

Closes GH-11068