-
-
Notifications
You must be signed in to change notification settings - Fork 108
Tags: box-project/box
Tags
4.6.10
perf: Improve performance of Box::collectRemainingFiles() (#1560)
The `->notPath()` filter of Symfony Finder is either accepting a "literal path"
or a regular expression and converts each literal path to a regular expression
and then filters the file stream by applying each regex individually. This
leads to O(bufferedFileNames^2) calls to `preg_match()`, well over 20 million
for PHPStan.
Fix this by performing a simple `in_array()` check on the buffered files. This
brings down the time to compile PHPStan from 2:35 to 0:25 on my machine.
I have verified that the resulting PHPStan Phar hash is identical before and
after this change.
Fixes #1551.
The `->notPath()` filter of Symfony Finder is either accepting a "literal path"
or a regular expression and converts each literal path to a regular expression
and then filters the file stream by applying each regex individually. This
leads to O(bufferedFileNames^2) calls to `preg_match()`, well over 20 million
for PHPStan.
Fix this by performing a simple `in_array()` check on the buffered files. This
brings down the time to compile PHPStan from 2:35 to 0:25 on my machine.
I have verified that the resulting PHPStan Phar hash is identical before and
after this change.
Fixes #1551.
4.6.2
build(deps): bump peaceiris/actions-gh-pages from 3 to 4 in /.github/...
...workflows in the dependencies group (#1351)
build(deps): bump peaceiris/actions-gh-pages
Bumps the dependencies group in /.github/workflows with 1 update: [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages).
Updates `peaceiris/actions-gh-pages` from 3 to 4
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](peaceiris/actions-gh-pages@v3...v4)
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
...workflows in the dependencies group (#1351)
build(deps): bump peaceiris/actions-gh-pages
Bumps the dependencies group in /.github/workflows with 1 update: [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages).
Updates `peaceiris/actions-gh-pages` from 3 to 4
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](peaceiris/actions-gh-pages@v3...v4)
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: dependencies
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4.6.1
build(deps-dev): bump the dependencies group with 2 updates (#1293)
Bumps the dependencies group with 2 updates: [ergebnis/composer-normalize](https://github.com/ergebnis/composer-normalize) and [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit).
Updates `ergebnis/composer-normalize` from 2.40.0 to 2.41.1
- [Release notes](https://github.com/ergebnis/composer-normalize/releases)
- [Changelog](https://github.com/ergebnis/composer-normalize/blob/main/CHANGELOG.md)
- [Commits](ergebnis/composer-normalize@2.40.0...2.41.1)
Updates `phpunit/phpunit` from 10.5.2 to 10.5.3
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.3/ChangeLog-10.5.md)
- [Commits](sebastianbergmann/phpunit@10.5.2...10.5.3)
---
updated-dependencies:
- dependency-name: ergebnis/composer-normalize
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the dependencies group with 2 updates: [ergebnis/composer-normalize](https://github.com/ergebnis/composer-normalize) and [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit).
Updates `ergebnis/composer-normalize` from 2.40.0 to 2.41.1
- [Release notes](https://github.com/ergebnis/composer-normalize/releases)
- [Changelog](https://github.com/ergebnis/composer-normalize/blob/main/CHANGELOG.md)
- [Commits](ergebnis/composer-normalize@2.40.0...2.41.1)
Updates `phpunit/phpunit` from 10.5.2 to 10.5.3
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.5.3/ChangeLog-10.5.md)
- [Commits](sebastianbergmann/phpunit@10.5.2...10.5.3)
---
updated-dependencies:
- dependency-name: ergebnis/composer-normalize
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: phpunit/phpunit
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dependencies
...
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext