Age | Commit message (Collapse) | Author |
|
This introduces a final stats print identical to the per-journals
stats, but for the running total every per-journal count
contributes to.
|
|
This also adds count/utilized members to the stats struct, so
the stats print has them available in lieu of a profile.
|
|
More preparatory work for summarized stats...
|
|
preparatory commit, the existing stats struct is really more
about the state needed to produce stats (like the hash table for
identifying duplicates)... just rename it to profile.
A future commit will introduce a new stats struct encapsulating
just the cooked stats currently simply printed per-journal as
computed and forgotten, for use both per-journal and in summary.
|
|
Udpate thunk usage througout to explicitly control thunk instance
lifecycles from calleees according to new model.
This enables discarding a bunch of the per-object dispatch
thunks, eliminates some thunk leaks, and I think generally makes
the code more expressive and clear about what's going on.
Keep in mind this is all experimental and and I'm not spending a
whole lot of time on this, it's mostly a toy and exploring some
different programming styles I'd never really consider for
production/real work.
Though it actually has some interesting properties, and produces
some surprisingly succinct and readable listings at times once
you have the cumbersome building blocks in place. Especially for
non-daemon programs where you can basically either log+ignore
errors or treat them as fatal, I think this programming style
might actually have its place.
|
|
trivial
|
|
s/quadratically/exponentially/
|
|
Take advantage of the registered fds.
|
|
The bucketized counts already have %ages, but not the overall
count.
|
|
This doesn't make use of all the parameters it inherited from
journal_iter_objects_dispatch(), so at least get rid of them if
you're not going to just bite the bullet and refactor this thing
out of the picture.
|
|
This gives some visibility into EntryArrayObject duplication and
utilization statistics.
It's not the tidiest of code, just something I slapped together
last night.
|