๋ฐ์ํ
long start = System.currentTimeMillis(); //์ฝ๋ ์คํ ์ ์ ์๊ฐ ๋ฐ์์ค๊ธฐ
//์คํํ ์ฝ๋ ์ถ๊ฐ
long end = System.currentTimeMillis(); // ์ฝ๋ ์คํ ํ์ ์๊ฐ ๋ฐ์์ค๊ธฐ
System.out.println("์๊ฐ์ฐจ์ด(m) : "+ (end-start)/1000 );
[์ถ์ฒ : hijuworld.tistory.com/2 ]
๋ฐ์ํ