Tags: box-project/box
Tags
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.
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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
PreviousNext