-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[BUG]: getTotalElapsedSeconds() - too many seconds #15822
Comments
/cc @niden I think this was already fixed. |
I believe we fixed this already with #15249 If possible can you install v5 and check if all is OK? |
I cannot install Phalcon-5.0.0alpha7. I have any error during compilation. Second in my company I would like install only more stable Phalcon like 4.1.2. The best option for me would be if you release new version of Phalcon 4 with this bug. Thank you. |
This needs to be fixed for 4.1.x because the microtime() and the hrtime() return different values.
Phalcon 4.0.x uses microtime() only. Phalcon 4.1.x uses both microtime() and hrtime(). Phalcon 5 uses hrtime() only. |
This won't be fixed in v4, please upgrade to v5. Closing. |
I have installed Phalcon 5.1.1 and this problem still exists. |
@zak-wojtek77 Thank you for this. For some reason the commits from #15249 never made it to the 5.0.x branch :/ Issuing a PR shortly to get this sorted out. |
Thank you for info. |
Resolved in #16234 |
I have installed Phalcon 5.1.2 and now is OK. |
Describe the bug
Function "getTotalElapsedSeconds()" return too many seconds.
https://docs.phalcon.io/4.0/pl-pl/db-models-events#profiling-sql-statements
To Reproduce
Expected behavior
It should be less than 1 second, show 221907 seconds.
Details
Additional context
This problem does not exist in Phalcon 4.0.6
The text was updated successfully, but these errors were encountered: