Skip to content
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

Fix load time not being difference between start and now #98

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

olivernybroe
Copy link
Contributor

Here is a quickfix for the load time not being calculated as a difference anymore.

Only problem with this solution is if both LARAVEL_START and REQUEST_TIME_FLOAT is not set, than we are essentially comparing microtime(true) - microtime(true) which would prob. be 0.

Not sure if it's an actual issue, but maybe better for that case to return null instead or something like that?

@JustSteveKing JustSteveKing merged commit d3969a7 into Treblle:master Oct 10, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants