-
Notifications
You must be signed in to change notification settings - Fork 26
Comparing changes
Open a pull request
base repository: carrotsearch/junit-benchmarks
base: master
head repository: scijava/junit-benchmarks
compare: master
- 11 commits
- 42 files changed
- 3 contributors
Commits on Mar 16, 2014
-
Add a workaround for JUNITBENCH-54
Reflection is often not the correct way to do things, but sometimes it cannot be helped, for example when JUnit does not give us a chance to measure the time the original test statement without including the runtime of the methods annotated with @before and @after. The problem is that JUnit wraps statements into, say, a RunAfter statement that ensures that not only the test statement in question is executed but also the @After-annotated methods. The same is done for @before methods, and for a couple of other things, so that eventually the test statement about which we want to gather statistics is wrapped into multiple layers of wrapping statements like an onion into its seven skins. With this commit, we cheat and access the private fields of RunAfter and friends, and inject our own BenchmarkStatement (wrapping the statement we desire to wrap) into the inner-most 'onion skin'. We also handle the other statements JUnit 4.11 might wrap around our desired test statement: https://github.com/junit-team/junit/blob/r4.11/src/main/java/org/junit/runners/BlockJUnit4ClassRunner.java#L251 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 3e762c3 - Browse repository at this point
Copy the full SHA 3e762c3View commit details
Commits on Mar 17, 2014
-
Fix handling of ExecutionException
We should not unwrap the cause one time too many. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 6386876 - Browse repository at this point
Copy the full SHA 6386876View commit details
Commits on Mar 20, 2014
-
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for ab6aedf - Browse repository at this point
Copy the full SHA ab6aedfView commit details -
We want to have a deployed version of junit-benchmarks with the JUNITBENCH-54 workaround. The best way to get this is to deploy ourselves. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for b23deee - Browse repository at this point
Copy the full SHA b23deeeView commit details -
Add a workaround for JUNITBENCH-54 Reflection is often not the correct way to do things, but sometimes it cannot be helped, for example when JUnit does not give us a chance to measure the time the original test statement without including the runtime of the methods annotated with @before and @after. The problem is that JUnit wraps statements into, say, a RunAfter statement that ensures that not only the test statement in question is executed but also the @After-annotated methods. The same is done for @before methods, and for a couple of other things, so that eventually the test statement about which we want to gather statistics is wrapped into multiple layers of wrapping statements like an onion into its seven skins. With this commit, we cheat and access the private fields of RunAfter and friends, and inject our own BenchmarkStatement (wrapping the statement we desire to wrap) into the inner-most 'onion skin'. We also handle the other statements JUnit 4.11 might wrap around our desired test statement: https://github.com/junit-team/junit/blob/r4.11/src/main/java/org/junit/runners/BlockJUnit4ClassRunner.java#L251 Signed-off-by: Johannes Schindelin johannes.schindelin@gmx.de
Configuration menu - View commit details
-
Copy full SHA for 1d0a3ef - Browse repository at this point
Copy the full SHA 1d0a3efView commit details -
Bump to next development cycle
Signed-off-by: Jenkins <jenkins@dev.loci.wisc.edu>
Configuration menu - View commit details
-
Copy full SHA for e42a6bb - Browse repository at this point
Copy the full SHA e42a6bbView commit details -
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for c206454 - Browse repository at this point
Copy the full SHA c206454View commit details -
Avoid the need to call nexus-staging:release after deploy
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Configuration menu - View commit details
-
Copy full SHA for 5c6b813 - Browse repository at this point
Copy the full SHA 5c6b813View commit details
Commits on Aug 12, 2016
-
Fix bug that was introduced with JUnit 4.12
A field name was changed from fNext to next in JUnit 4.12 breaking the benchmarks that are accessing this field. This commit also modifies a test to reflect new behavior in JUnit 4.12. Signed-off-by: Curtis Rueden <ctrueden@wisc.edu>
Configuration menu - View commit details
-
Copy full SHA for d6bbadc - Browse repository at this point
Copy the full SHA d6bbadcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ca786b - Browse repository at this point
Copy the full SHA 6ca786bView commit details
Commits on Aug 22, 2016
-
Bump to next development cycle
Signed-off-by: Jenkins <jenkins@imagej.net>
Configuration menu - View commit details
-
Copy full SHA for e1ef6d0 - Browse repository at this point
Copy the full SHA e1ef6d0View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...master