Closed peter279k closed 6 years ago
Everything otherwise good, but I would not suggest ext-bcmath
It is actually slower than the pure PHP driver. I did the BCMatch thing mostly out of curiosity.
$ phpbench run benchmarks/ --report=default
+-----------------------+-----------------+----------------+
| subject | mean | diff |
+-----------------------+-----------------+----------------+
| benchGmpEncoder | 73,099.415ops/s | 0.00% |
| benchGmpEncoderCustom | 61,349.693ops/s | +19.15% |
| benchPhpEncoder | 25.192ops/s | +290,072.37% |
| benchBcmathEncoder | 7.264ops/s | +1,006,253.07% |
+-----------------------+-----------------+----------------+
Thanks!
Changed log
ext-gmp
andext-bcmath
.php-7.2
test will output some deprecated and warning message when using the PHPUnit version4.8
. See more details about the Travis build log.