@Test
public void test() throws DatatypeConfigurationException {
try {
int times = 100;
long start = System.currentTimeMillis();
for (int i = 0; i < times; i++) {
XMLReaderFactory.createXMLReader();
}
long end = System.currentTimeMillis();
double speed = ((end - start));
System.out.println(speed + "ms");
} catch (Throwable e) {
e.printStackTrace();
Assert.fail(e.toString());
}
}
Bug6925410Test.java 文件源码
java
阅读 36
收藏 0
点赞 0
评论 0
项目:openjdk-jdk10
作者:
评论列表
文章目录