Accelerates Behat using features available only for newer PHP versions. Up to 10% faster in real-world applications.
- Sylius test suite execution time was reduced by ~40s / ~8% - see the performance comparison.
-
Install it:
$ composer require friends-of-behat/performance-extension --dev
-
Enable it in your Behat configuration:
# behat.yml default: # ... extensions: FriendsOfBehat\PerformanceExtension: ~
-
Boom! 💥 Your Behat runs faster now!
Right now, it's just call_user_func_array($callable, $arguments)
replaced with $callable(...$arguments)
.