-
Notifications
You must be signed in to change notification settings - Fork 80
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
Add Summary Collector #2
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a few comments, but so far it looks good. I think it'd be best to keep everything strictly typed to avoid any issues that may arise.
Bump to version 1.0.0 (API is the same, but requires php 7.1) Approved-by: Andre Ferraz <[email protected]> Approved-by: DuShaun Alderson-Claeys <[email protected]> Approved-by: Robin Shimield <[email protected]>
@danvirsen can you please update your branch to be up to date with master? |
df60bc3
to
2c826b9
Compare
Sorry for the delay. I had email notifications turned off and didn't notice the responses. |
@danvirsen tests are missing |
Yes, I'm aware. I will try to take some time to write tests, but I'm not sure when that will be. |
$summaries[] = $summary; | ||
} | ||
return $summaries; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a LOT of nested loops in here, can we reduce these to improve performance?
$quantiles = self::getDefaultQuantiles(); | ||
} | ||
|
||
if (0 === count($quantiles)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to flip these yoda statements to be consistent with the existing code base
Any updates on this? |
Hi @marcospassos, I'm afraid I no longer work at EndClothing. So one of the developers there should be maintaining this soon. |
@NoelDavies Thank you for replying! |
This is basically buffcode's code slightly tweaked to make it mergeable with this fork.
There are no tests and the only storage adapter that is implemented is Redis, so I wouldn't say it's ready for a merge just yet.
I'll try to get some time to take a look at tests and the other storage adapters, but I'm not sure when that might be. If someone else would like to take a look at it, they're more than welcome. 🙂