티스토리 뷰
반응형
public class Test {
public static void main(String[] args){
int sum = 0;
long start = System.currentTimeMillis();
sum = sum++;
long end = System.currentTimeMillis();
System.out.println("duration:"+(end-start)/1000.0+"second");
}
}
반응형
'Study' 카테고리의 다른 글
Wireshark(와이어샤크) 관련 (0) | 2024.01.27 |
---|---|
wail2ban(웨일투밴) 관련 (0) | 2024.01.27 |
Database(데이터베이스) Term(용어) 관련 (1) | 2024.01.27 |
C#(씨샵) Imager(이미지) Merge(합치기) (1) | 2024.01.27 |
AWS(Amazon Web Service, 아마존웹서비스) CLI(Command Line Interface, 씨엘아이) Install(설치) 관련 (0) | 2024.01.27 |