parsica-php / parsica

Parsica - PHP Parser Combinators - The easiest way to build robust parsers.
https://parsica-php.github.io/
MIT License
405 stars 18 forks source link

phpbench: added composer scripts for recording/comparing a baseline #38

Open staabm opened 3 years ago

staabm commented 3 years ago

I am in the process of building a phpbench baseline compare feature as a github action workflow.

to get it running, we need this composer scripts merged into the main branch firsts.

could you please squash and merge this commits.

in the end the goal is to have a github annotation at pull request level which indicates the perf impact of a given PR like

grafik

staabm commented 3 years ago

@turanct could you squash and merge this PR. after this PR have been merged, I could built the corresponding github action in https://github.com/parsica-php/parsica/pull/37 on top of it.

the composer scripts as defined here are even usefull without the github action style changes, to ease perf compare new changes as they come in