Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add micro-benchmarks to JMH #159
There is a README.md file that describes how to execute these benchmarks.
I don't have then running automatically as part of the build because they take some time to run - a few minutes each one.
You can either package them up and run them all at once or you can run them individually in an IDE. Running them individually in an IDE is pretty cool because in your IDE (at least in IntelliJ) you can open the togglz project, make changes to something, and then run just the one benchmark you are interested in to see if your new tweaks made things any better or not.
I added a baseline one that compares the performance of the togglz vs a boolean if flag, another one that looks at how it performs when you use an activation strategy, and another one that tests how it performs when you use a ScriptEngine.
referenced this pull request
May 13, 2016
Awesome! Thank you soooo much for contributing this.
Just a side note. I think I'll rename the module from
Again: Thanks so much for this...