f583f4cd2e
Add a simple benchmarking script Extreme optimization, sacrificing code style in some areas. - This is meant for discussion, since the project is in the optimization phase. This commit reduces the time needed to getDiagnostics from 0.013 to 0.007 seconds. Average time to generate diagnostics (before): 0.013... Average time to generate diagnostics (after): 0.006921 time to parse (Without diagnostics): 0.036374 (E.g. getDiagnostics previously took 36% of the time compared to generating an AST, and now it takes 19% of that time.) |
||
---|---|---|
.. | ||
BenchGetDiagnostics.php | ||
CoallesceOperatorAssociativity.php | ||
ConditionalOperatorAssociativity.php | ||
IndexingIntoStrings.php | ||
Lexer.php | ||
PhpTypeOverhead.php | ||
a.js | ||
a.php | ||
b.php | ||
c.php | ||
php7-types.txt |