diff options
Diffstat (limited to 'core/test/com/google/inject/PerformanceComparison.java')
-rw-r--r-- | core/test/com/google/inject/PerformanceComparison.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/test/com/google/inject/PerformanceComparison.java b/core/test/com/google/inject/PerformanceComparison.java index 825c2a8f..a6351a30 100644 --- a/core/test/com/google/inject/PerformanceComparison.java +++ b/core/test/com/google/inject/PerformanceComparison.java @@ -16,18 +16,20 @@ package com.google.inject; -import java.lang.annotation.Retention; import static java.lang.annotation.RetentionPolicy.RUNTIME; -import java.text.DecimalFormat; -import java.util.concurrent.Callable; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertSame; + import org.springframework.beans.MutablePropertyValues; import org.springframework.beans.factory.config.ConstructorArgumentValues; import org.springframework.beans.factory.config.RuntimeBeanReference; import org.springframework.beans.factory.support.DefaultListableBeanFactory; import org.springframework.beans.factory.support.RootBeanDefinition; +import java.lang.annotation.Retention; +import java.text.DecimalFormat; +import java.util.concurrent.Callable; + /** * A semi-useless microbenchmark. Spring and Guice constuct the same object * graph a bunch of times, and we see who can construct the most per second. |