Skip to content

Conversation

@driedfruit
Copy link

The theme of this push is 'extensibility'. My use case for your benchmark is "pitting hash table you just wrote against common contenders". Therefore, I needed more flexibility in terms of rebuilding, adding/removing hash programs from the lists, quickly changing the scales, etc.

Commit messages are pretty extensive, but here's a quick overview:

  • axis auto-adjust to provided data
  • Makefile has some new useful targets (for rebuild some hashes separately)
  • proper_names array replaced with "identify" benchmark method
  • programs and program_slugs array replaced with external file (also used by Makefile)

Sorry for the useless back-and-forth commits regarding auto-adjusting axises, took several iterations to get it right, but I'm pretty happy with the final result.

cosimo and others added 15 commits April 1, 2010 18:03
 Makefile.rules now contains all the build rules from the old Makefile.
 Targets is an external list of targets to build when 'make all' is invoked.
 YourTargets is an external list of *your* targets.
 Makefile unifies it all with some sugar on top.

*Your* programs don't have anything different from the regular ones,
but have their own build targets ('make mine', 'make my-benchmark').
Thus, it is possible to separate all programs into two groups: ones that
are only built once or rarely ('their hashes') and ones you actively
work on and that require constant rebuild ('your hashes', ahha!). This
'feature' is completely optional.
…ay, each program now has a method to identify itself.
…ay, each program now has a method to identify itself.
@mackstann
Copy link
Owner

Just glancing at the changes and your comments, this looks like good stuff! I will give your version a whirl within (hopefully) a few days and barring any unexpected issues I will merge your changes. Thanks!

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.

4 participants