SlideShare a Scribd company logo
Java 성능에대한 오해와 편견
최영목
2015-05
1. Java는 정말 느린가?
2. 무엇 때문에 느린가?
3. 느리지 않게 하기
4. 다시 한번 질문하기 : Java는 정말 느린가?
1. Java는 정말 느린가?
4
대외비
1. Java는 정말 느린가?
네, 느립니다.
5
대외비
1. Java는 정말 느린가?
출처 : http://benchmarksgame.alioth.debian.org/
x64
 Ubuntu™
 Intel®
 Q6600®
 quad-core
6
대외비
1. Java는 정말 느린가?
Java의 생각
7
대외비
1. Java는 정말 느린가?
이미지 출처 : http://www.yes24.com/24/goods/8262373?scode=032OzSrank=1
8
대외비
1. Java는 정말 느린가?
좀 더 구체적으로…⋯
9
대외비
1. Java는 정말 느린가?
그러니까…⋯ 음…⋯
이미지 출처 : https://goo.gl/C3aIZx
10
대외비
1. Java는 정말 느린가?
Web
 Framework
 Benchmarks
TechEmpower Round
 10
(2015-04-21)
11
대외비
1. Java는 정말 느린가?
HTTP/1.1
 200
 OK
 
Content-Type:
 application/json;
  charset=UTF-8
 
Content-Length:
  28
 
Server:
 Example
 Date:
 Wed,
 17
 Apr
 2013
 12:00:00
  GMT
 
{message:Hello,
 World!}
출처 : http://www.techempower.com/benchmarks/#section=data-r10hw=peaktest=json
- Top
 10
 :
 JSON
12
대외비
1. Java는 정말 느린가?
HTTP/1.1
 200
 OK
 
Content-Length:
  32
 
Content-Type:
 application/json;
  charset=UTF-8
 
Server:
 Example
 Date:
 Wed,
 17
 Apr
 2013
 12:00:00
  GMT
 
{id:3217,randomNumber:2149}
출처 : http://www.techempower.com/benchmarks/#section=data-r10hw=peaktest=db
- Top
 10
 :
 Single
 Query
13
대외비
1. Java는 정말 느린가?
HTTP/1.1
 200
 OK
 
Content-Length:
  315
 
Content-Type:
 application/json;
  charset=UTF-8
 
Server:
 Example
 Date:
 Wed,
 17
 Apr
 2013
 12:00:00
  GMT
 
[{id:4174,randomNumber:331},{id:51,randomNumber:6544},{id:4462,randomNumber:952},{id:2221,randomNumber:532},
{id:9276,randomNumber:3097},{id:3056,randomNumber:7293},{id:6964,randomNumber:620},{id:675,randomNumber:6601},
{id:8414,randomNumber:6569},{id:2753,randomNumber:4065}]
출처 : http://www.techempower.com/benchmarks/#section=data-r10hw=peaktest=query
- Top
 10
 :
 Multiple
 Queries
14
대외비
1. Java는 정말 느린가?
HTTP/1.1
 200
 OK
 
Content-Length:
  1196
 
Content-Type:
 text/html;
 charset=UTF-8
 
Server:
 Example
 Date:
 Wed,
 17
 Apr
 2013
 12:00:00
  GMT
!DOCTYPE
 htmlhtml
…⋯
/html
출처 : http://www.techempower.com/benchmarks/#section=data-r10hw=peaktest=fortune
- Top
 10
 :
 Fortunes
15
대외비
1. Java는 정말 느린가?
HTTP/1.1
 200
 OK
 
Content-Length:
  315
 
Content-Type:
 application/json;
  charset=UTF-8
 
Server:
 Example
 Date:
 Wed,
 17
 Apr
 2013
 12:00:00
  GMT
 
[{id:4174,randomNumber:331},{id:51,randomNumber:6544},{id:4462,randomNumber:952},{id:2221,randomNumber:532},
{id:9276,randomNumber:3097},{id:3056,randomNumber:7293},{id:6964,randomNumber:620},{id:675,randomNumber:6601},
{id:8414,randomNumber:6569},{id:2753,randomNumber:4065}]
출처 : http://www.techempower.com/benchmarks/#section=data-r10hw=peaktest=update
- Top
 10
 :
 Data
 updates
16
대외비
1. Java는 정말 느린가?
HTTP/1.1
 200
 OK
 
Content-Length:
  15
 
Content-Type:
 text/plain;

More Related Content

[D2]java 성능에 대한 오해와 편견