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

Qf Stats #22

Closed
wants to merge 12 commits into from
Closed

Qf Stats #22

wants to merge 12 commits into from

Conversation

nishihatapalmer
Copy link
Contributor

This PR adds stats to the QF family of algorithms. It is branched off the main stats PR, so has everything required to test it.

  * Outputs summary stats to the console during running.
  * Outputs stats to a .stats.txt file for algorithms with statistics.
  * Writes the stats into the HTML report under each algo graph that has stats.
    The table support dynamically showing or hiding best or worst stats,
    similarly to the time comparison table.

Also includes utility headers, shiftstats.h and bitstats.h that define
common stat names that many algorithms use.
   * A few search algorithms have more than one main
     index, e.g. Boyer Moore.
   * This just provides a convenient place to capture
     those stats without having to resort to
     algo-specific values.
  * If there's a few algorithm defined stats, they tend to run over a line
    in a console, even with reasonably long lines.
  * Keep the names as short as possible, to keep things as neat as possible.
  * A few algorithms maintain more than one table, this header
    can be used to define the basic bit stats for two tables.
  * We don't record this anymore, as we store a stat
    per pattern length anyway.
@nishihatapalmer nishihatapalmer closed this by deleting the head repository Nov 4, 2022
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.

1 participant