Skip to content
This repository has been archived by the owner on Jul 7, 2020. It is now read-only.

add benchmarks sub-module (not as multi-module) #4

Merged
merged 8 commits into from
Jun 11, 2014
Merged

Conversation

tea-dragon
Copy link
Contributor

adds the 'bench' module for running jmh benchmarks, jol analysis,
and other performance toys. It is in the bench directory, and has
a dependency on basis, but this commit does not change basis into
a multi-module project. This means that the bench module must be
compiled separately, and may be a little confusing, but this was
the simplest and most non-destructive method we found.

this setup may be improved upon in the future. In the meantime, the
pom file for the bench module is intentionally minimalist and
template-like for easy re-use in adding similar modules to other
projects.

a single benchmark is included mostly as an example. It is a
cleaned up version of some tests I ran on a basis method from my
local java-test project. It has some interesting results, but not
terribly important ones.

adds the 'bench' module for running jmh benchmarks, jol analysis,
and other performance toys. It is in the bench directory, and has
a dependency on basis, but this commit does not change basis into
a multi-module project. This means that the bench module must be
compiled separately, and may be a little confusing, but this was
the simplest and most non-destructive method we found.

this setup may be improved upon in the future. In the meantime, the
pom file for the bench module is intentionally minimalist and
template-like for easy re-use in adding similar modules to other
projects.

a single benchmark is included mostly as an example. It is a
cleaned up version of some tests I ran on a basis method from my
local java-test project. It has some interesting results, but not
terribly important ones.
intellij had frozen when I tried to rename a class and let it
try to rename generated classes as well. Ended up sigkilling it,
and I guess it ate some documentation I had written.
re: benchy -- how could i not..?
re: readme -- has some general info that would otherwise be lost
to commit notes or changing example classes
@cburroughs
Copy link
Contributor

I like the sub-module after seeing it in practice and running benchmarks Just Worked. Since I don't think I ever actually got Caliper working I view that as a very nice development. LGTM.

I played with a few warnup/iteration and other settings and c.a.b.u.BitReversals.reverseBasis consistently came out on top, so go team!

LGTM

tea-dragon added a commit that referenced this pull request Jun 11, 2014
add benchmarks sub-module (not as multi-module)
@tea-dragon tea-dragon merged commit 701ee29 into master Jun 11, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants