profiler/performance tool

C++ 2013. 4. 26. 15:30

참고 : http://en.wikipedia.org/wiki/List_of_performance_analysis_tools#C_and_C.2B.2B


안해..

Visual Studio Team System Profiler : 없음

Intel Parallel Studio : 상용

AQtime : 상용. 특정 한개만 관찰됨?. 느림?. 30일 trial 가능

CodeTune : free. 볼게 없어 보이는데..

Embedded Profiler : free. 좋아보임.

You can use EmbeddedProfiler, it's free for both Linux and Windwos.

The profiler is intrusive (by functionality) but it doens't require any code modifications.

Just add a specific compiler flag (-finstrument-functios for gcc/MinGW or /GH for MSVC) and link the profiler's library. 

It can provide you a full call tree or just a funciton list. It has it's own analyzer GUI.


테스트

Very Sleepy, Luke Stackwalker 모두 심볼을 다운받으므로 개발이나 테스트시에 사용하기

Very Sleepy : http://www.codersnotes.com/sleepy

free(GPL). cpu profiling.

Functions : Debug 모드 바이너리만 소스를 보여줌.. Release 모드면 주소표시(pdb 있으면 나옴)

단순하여 가볍게 씀


Luke Stackwalker : http://lukestackwalker.sourceforge.net/

free.

꽤 잘 나옴


Proffy : http://www.pauldoo.com/proffy

ISC 라이센스(BSD 계열). freee

xml, dot 파일 떨궈줌

.dor 파일은 Graphviz 로 그래프 표시 가능(http://www.graphviz.org/)

visual studio 2010 redistributable packages 설치 필요

헤더 파일 추가해서 start, finish 가능.

메소드 count 수랑 call stack만 수집됨.

Embedded Profiler : http://embeddedprofiler.com/

좋아보이는데 유료고 프로그래밍 방식에 옵션이나 할게 좀 있는듯..

그냥 Luke Stackwalker나 Very Sleepy 쓰면 될듯...


gperftools : http://code.google.com/p/gperftools/?redir=1

윈도우랑 잘 안맞음 리눅스 환경에선 좋은듯..


결론..

   개발이나 테스트시에 Very Sleepy나 Luke StackWalker 두개로 될듯..


'C++' 카테고리의 다른 글

.cab (cabinet) 파일  (0) 2013.06.27
윈도우 서버 성능 평가  (0) 2013.06.20
event id  (0) 2013.05.03
lock free queue (MPSC)  (0) 2013.05.03
snappy  (0) 2013.04.26
cppcheck  (0) 2013.04.24
소수점 여부 판단  (0) 2013.04.03
bit 출력  (0) 2013.03.22