Repository navigation
6.1.0
This release was possible thanks to a Psalm support contract!
This release greatly improves multithreaded mode, fixing some nasty issues and greatly improving efficiency, thanks to efficient task scheduling powered by amphp/parallel (& some custom code to allow usage of copy-on-write optimizations with forks instead of spawning new processes).
This release also adds a runtime check to prevent Psalm from running on Linux systems where VM overcommitting is disabled: Psalm makes heavy use of VM overcommitting (specifically during forking in multithreaded mode) to greatly reduce RAM usage and improve performance.
Note that in the vast majority of Linux systems, VM overcommitting is already enabled by default.
What's Changed
Features
- Refactor Pool for much more efficient multithreaded parallelism by @danog in vimeo#11219
- Add support for --scan-threads CLI and config flag by @danog in vimeo#11216
- Log files being processed for too long by @danog in vimeo#11225
- Add VM overcommit warning by @danog in vimeo#1121
Fixes
- Fix language server by @danog in vimeo#11221
Internal changes
- Improve default opcache options by @danog in vimeo#11222
Other changes
Full Changelog: vimeo/psalm@6.0.0...6.1.0