-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
- Laravel-mongodb Version: 5.2
- PHP Version: 8.3
- Database Driver & Version:
Description:
Laravel ecosystem assumes reported query time to be in milliseconds, but MongoDB package returns the time in microseconds.
Why is it an issue?
Telescope report query time is 1000x higher than what they are.
Nightwatch report query time is 1000x higher than what they are.
And basically any tool that uses query time will get the time 1000x of what it actually is because they all assume the returned time of DB::getQueryLog()
to be in milliseconds.
Steps to reproduce
- Just enable query log
- Then get the query log.
Expected behaviour
returned time should be in milliseconds
Actual behaviour
returned time is in microseconds
Metadata
Metadata
Assignees
Labels
No labels