Bug6925410Test.java 文件源码

java
阅读 36 收藏 0 点赞 0 评论 0

项目:openjdk-jdk10 作者:
@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());
    }

}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号