-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Huge speed boost compared to monolog #9
Labels
Comments
Slightly updated the test with regular flushing intervals for apix (every 200 logs). It decreases the advantage of apix over monolog, but it's still very present: -----------------------------------
platform : WINNT x64
php version : 8.1.9
xdebug : on
memory limit : 512M
max execution : 0
time per iteration : 50ms
iterations : 250
-----------------------------------
---------------------------------------------------------------
0 : logger_monolog logger_apix
mean : 107 2373 +2108.6%
median : 111 2496 +2148.2%
mode : 82 2600 +3070.7%
minimum : 3 499 +16533.3%
maximum : 175 3000 +1614.3%
quartile 1 : 82 2203 +2586.6%
quartile 3 : 136 2694 +1880.9%
IQ range : 54 491 +809.3%
std deviation : 36 476 +1234.2%
normality : 3.2% 3.2%
--------------------------------------------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Franck,
Did some speed tests comparing Apix vs. Monolog, it turns out in deferred mode, the speed gains are huge.
And respective code
The text was updated successfully, but these errors were encountered: