diff options
| author | xXx-caillou-xXx | 2018-07-13 10:36:50 +0200 |
|---|---|---|
| committer | jvoisin | 2018-07-13 08:36:50 +0000 |
| commit | 7963580d72a358975133f86f01de2d2eab08ba38 (patch) | |
| tree | 4bec345d70f687a2a6002b36e2f2fc79318959f6 /Makefile | |
| parent | 12b740bc7bb01ffe397cecc5b6fa25b136304911 (diff) | |
Massively optimize how rules are handled
This commit does a lot of things:
- Use hashtables instead of lists to store the rules
- Rules that can be applied at launch time won't be tried at runtime
- Improve feedback when writing nonsensical rules
- Make intensive use of `zend_string` instead of `char*`
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -45,9 +45,9 @@ joomla: | |||
| 45 | fi | 45 | fi |
| 46 | cd joomla-cms; composer install >/dev/null 2>/dev/null | 46 | cd joomla-cms; composer install >/dev/null 2>/dev/null |
| 47 | echo "\nWith snuffleupagus:" | 47 | echo "\nWith snuffleupagus:" |
| 48 | cd joomla-cms; time libraries/vendor/phpunit/phpunit/phpunit -d "extension=./src/modules/snuffleupagus.so" -d "sp.configuration_file=config/default.rules" --no-coverage >/dev/null | 48 | cd joomla-cms; time php -d "extension=../src/modules/snuffleupagus.so" -d "sp.configuration_file=../config/default.rules" libraries/vendor/phpunit/phpunit/phpunit --no-coverage >/dev/null |
| 49 | echo "\nWithout snuffleupagus:" | 49 | echo "\nWithout snuffleupagus:" |
| 50 | cd joomla-cms; time libraries/vendor/phpunit/phpunit/phpunit --no-coverage >/dev/null | 50 | cd joomla-cms; time php libraries/vendor/phpunit/phpunit/phpunit --no-coverage >/dev/null |
| 51 | 51 | ||
| 52 | packages: debian ## produce packages | 52 | packages: debian ## produce packages |
| 53 | 53 | ||
