library loop-block
Detect blocking ticks in the Amp event loop.
kelunik/loop-block
Detect blocking ticks in the Amp event loop.
- Thursday, June 15, 2017
- by kelunik
- Repository
- 1 Watchers
- 15 Stars
- 46 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 15 % Grown
loop-block
Detect blocking ticks in an event loop based on the PHP event loop standard., (*1)
Installation
$ composer install kelunik/loop-block
Usage
You can instantiate a new BlockDetector. Its constructor takes a callback to be executed on blocks, a threshold in milliseconds, and an interval to configure how often the check is executed., (*2)
Once the loop runs, you can call BlockDetector::start to start the detection. BlockDetector::stop stops the detection again., (*3)
License
MIT., (*4)
dev-master
9999999-dev
Detect blocking ticks in the Amp event loop.
Sources
Download
MIT
The Requires
The Development Requires
v1.0.0
1.0.0.0
Detect blocking ticks in the Amp event loop.
Sources
Download
MIT
The Requires
The Development Requires
v0.1.0
0.1.0.0
Detect blocking ticks in event loops.
Sources
Download
MIT
The Requires
The Development Requires