tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] First kcachegrind output


From: Christian Jullien
Subject: Re: [Tinycc-devel] First kcachegrind output
Date: Mon, 18 Apr 2016 08:51:30 +0200

Same file but using JPG if easier to view.

 

 

From: Tinycc-devel [mailto:address@hidden On Behalf Of Christian Jullien
Sent: lundi 18 avril 2016 08:42
To: address@hidden
Subject: [Tinycc-devel] First kcachegrind output

 

Hi,

 

I just had time to see how tcc behaves with callgrind (a valgrind tool) on Fedora.

 

1) Install required tools

$ sudo dnf install graphviz valgrind kcachegrind

 

2) run tcc on top of callgrind and collect results.

$ valgrind --tool=callgrind ./tcc -c -I include tccgen.c

 

3) See results using collected results.

kcachegrind callgrind.out.4055 &

 

This is the tool one should consider before trying to optimize tcc.

 

Enclosed is a PS export but you can get much more from kcachegrind!

 

Christian

Attachment: callgraph.jpg
Description: JPEG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]