This release brings in major performance improvements for the Laminas\ServiceManager\ServiceManager#has() API, which is both used internally and externally, and at the core of many laminas/* components.
The rough improvements range between 30% and 80% depending on the state of initialization of your ServiceManager instance.
❯ ./vendor/bin/phpbench run --ref=before_93
PHPBench (1.0.4) running benchmarks...
with configuration file: /home/ocramius/Documents/laminas/laminas-servicemanager/phpbench.json
with PHP version 8.0.8, xdebug ❌, opcache ✔
comparing [actual vs. before_93]
\LaminasBench\ServiceManager\HasNewServicesBench
benchHasFactory1........................R1 I7 - [Mo0.203μs vs. Mo0.925μs] -78.09% (±2.08%)
benchHasInvokable1......................R9 I9 - [Mo0.277μs vs. Mo1.068μs] -74.10% (±2.14%)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps laminas/laminas-servicemanager from 3.6.4 to 3.8.0.
Release notes
Sourced from laminas/laminas-servicemanager's releases.
... (truncated)
Changelog
Sourced from laminas/laminas-servicemanager's changelog.
Commits
499a6ea
3.8.0 readinessb16c751
Merge pull request #103 from weierophinney/feature/php-8.1-supportfc07ea3
qa: resolve errors flagged by Psalm after move to PHP 7.4 minimuma291648
feat: bump minimum supported PHP version55dca8d
qa: exclude PHP 8.1 shims from psalm checks8790173
qa: omit test shims from CS checksf393f89
qa: mark PHP 8.1 shims as internal, and add todo to remove them2cac3a9
fix: allow testing against PHP 8.1438df92
qa: bump vfsstream to 1.6.10alpha seriese94c9bc
qa: update baseline fileDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)