-
Notifications
You must be signed in to change notification settings - Fork 373
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
New time panel density graph #1557
Conversation
"27.9 B/entry, spacing: 5M", | ||
"35.5 B/entry, spacing: 8M", | ||
"23.0 B/entry, spacing: 13M", | ||
"9.6 B/entry, dense", |
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 switched to a faster but more memory-intense variant of re_int_histogram
let key = i as i64; | ||
set.increment(key, 1); | ||
#[cfg(test)] | ||
mod tests { |
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.
3ff826e
to
19e8db1
Compare
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.
Overall looks good. Couple small comment/cleanup possibilities.
Closes #619
The time panel used to be
O(N)
over the number of log messages. With this PR it is nowO(log(N))
.In order to accomplish this I decided to replace the "ball scatterer" visualization of the time panel with a brand new density graph. The end result is something that is much faster, and also looks much better.
Checklist