dantleech

Results 216 issues of dantleech

``` /** * @return Generator */ public function testReturnsNullIfMessageIsANotification(): Generator { $dispatcher = $this->createRunner([ new ClosureHandler('foobar', function (): void { }) ]); $response = yield $dispatcher->dispatch( new NotificationMessage('foobar', []) );...

bug

In some cases performance issues may only become apparent with large data sets, it would be good to be able to scale benchmarks on demand so that CI pipelines are...

Some paths are relative to the config, while others to the CWD: ``` "$schema": "vendor/phpbench/phpbench/phpbench.schema.json", "runner.path": "../../tests/Benchmark", "runner.bootstrap": "phpbench-bootstrap.php", "runner.file_pattern": "*Bench.php", "storage.xml_storage_path": ".tools/phpbench/data/storage", "report.outputs": { "html": { "renderer": "html", "title":...

``` $ phpbench run --variant="expense is" Warning: Neither SSH agent or COMPOSER_AUTH is configured. Private repositories would not be accessible. --> DEVELOPMENT MODE TESTING MODE PHPBench (1.2.14) running benchmarks... #standwithukraine...

bug

e.g. `phpbench config:report:copy benchmark` could add the JSON configuration for the named report which can then be edited.

It would be good to be able to f.e. add the number of DB calls to the reports.

The process "/home/daniel/.nix-profile/bin/kcachegrind /home/daniel/www/php-tui/php-tui/.phpbench/xdebug-profile/77e294e9b0794885a8b7ea1c80af40a9.cachegrind" exceeded the timeout of 60 seconds.

bug

This PR adds support for streaming results via. a JSON progress logger: ``` ./bin/phpbench run --progress=json | jq ```

Currently the parser interprets the "node" at the offset indicated by `` below as a `SourceFileNode` (or `CompoundStatementNode`): ``` $container->get('foo ``` This is because the token is a `T_ENCAPSED_WHITESPACE` token....