Skip to content

Commit

Permalink
merge #9: fix parser performance on large files
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed Jan 27, 2022
2 parents 3a3a7cf + c2cf8a4 commit 3cf173f
Show file tree
Hide file tree
Showing 11 changed files with 1,647 additions and 125 deletions.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"jrmajor/cs": "^0.3.3",
"nunomaduro/collision": "^5.10",
"php-standard-library/psalm-plugin": "^1.1",
"phpbench/phpbench": "^1.2",
"phpunit/phpunit": "10.0.x-dev",
"psalm/plugin-phpunit": "^0.16.1",
"sebastian/diff": "5.0.x-dev as 4.0.4",
Expand Down
255 changes: 254 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions phpbench.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "vendor/phpbench/phpbench/phpbench.schema.json",
"runner.annotations": false,
"runner.bootstrap": "vendor/autoload.php",
"runner.path": "tests/Benchmark",
"runner.retry_threshold": 3
}
5 changes: 5 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@
<directory name="*"/>
</errorLevel>
</MissingClosureReturnType>
<MissingConstructor>
<errorLevel type="suppress">
<directory name="tests"/>
</errorLevel>
</MissingConstructor>
<MoreSpecificReturnType>
<errorLevel type="suppress">
<directory name="tests/Formatters/Number"/>
Expand Down

0 comments on commit 3cf173f

Please sign in to comment.