Test.java
553 Bytes
package com.thinkgem.jeesite.test;
import java.util.Date;
import com.thinkgem.jeesite.common.config.Global;
import com.thinkgem.jeesite.common.utils.DateUtils;
public class Test {
public static void main(String[] args) {
for(int i = 0 ;i<1000;i++) {
Long start = new Date().getTime();
Boolean title = Global.isTitle();
Boolean ycsl = Global.isYcsl();
Long end = new Date().getTime();
System.out.println("开始==="+start+",结束==="+end+",耗时"+(end-start)+",title==="+title+",ycsl==="+ycsl);
}
}
}