We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1e0802 commit 4cb5e5cCopy full SHA for 4cb5e5c
__test/src/test/java/benchmark/SpeetTest.java
@@ -17,7 +17,6 @@
17
18
import features._model.UserModel;
19
import org.junit.jupiter.api.Test;
20
-import org.noear.solon.core.wrap.ClassWrap;
21
22
import java.lang.reflect.Method;
23
import java.lang.reflect.Parameter;
@@ -39,21 +38,4 @@ public void demo1() {
39
38
40
System.out.println("用时:" + times);
41
}
42
-
43
- @Test
44
- public void demo2() {
45
- long start = System.currentTimeMillis();
46
47
- for (int i = 0; i < 100000; i++) {
48
- for(Method m: ClassWrap.get(UserModel.class).getDeclaredMethods()){
49
- for(Parameter p : m.getParameters()){
50
51
- }
52
53
54
55
- long times = System.currentTimeMillis() - start;
56
57
- System.out.println("用时:" + times);
58
59
0 commit comments