| File: |
src/Task.php |
| Role: |
Class source |
| Content type: |
text/plain |
| Description: |
Class source |
| Class: |
Time Warden
Measure PHP execution time and invoke callbacks |
| Author: |
By tomloprod |
| Last change: |
ref: remove duration rounding for better precision
ref: clean up documentation and improve code readability
feat!: replace microtime with hrtime for better precision
BREAKING CHANGES:
- getStartTimestamp() and getEndTimestamp() now return int (nanoseconds) instead of float (seconds)
- setTestStartTimestamp() and setTestEndTimestamp() now accept int (nanoseconds) instead of float (seconds)
- Internal timestamp storage changed from float to int for nanosecond precision
feat(TimeWardenSummary): Summary in array or json format
To be able to obtain a summary of the actions recorded by TimeWarden, both in array and JSON format.
chore: code style to comply with lint
|
| Date: |
5 months ago |
| Size: |
5,616 bytes |
|
|
|