tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] i just can't get over how farging fast tcc is...


From: Stanley Steel
Subject: Re: [Tinycc-devel] i just can't get over how farging fast tcc is...
Date: Wed, 2 Feb 2011 08:58:47 -0700

For the curious:
I have been compiling several of my projects with both tcc and gcc for awhile now.  Specifically, I've been compiling an ANTLR C project that consist of about 60,000 lines of ANLTR generated code that translates another language to C.  As you would expect, the compilation with tcc is noticeably faster.  The runtime performance of scanning, parsing, and translating a ~100 line file is:  

gcc= ~.000850 sec 
tcc=  ~.001050 sec 

I've done other test as well (microbenchmarks), but in those test there was no noticeable difference.  The state of my machine seemed to be the biggest variable even for long running loops. 


On Wed, Feb 2, 2011 at 3:53 AM, Gary Birkett <address@hidden> wrote:


On Wed, Feb 2, 2011 at 3:20 AM, Stephan Beal <address@hidden> wrote:
On Wed, Feb 2, 2011 at 4:09 AM, Gary Birkett <address@hidden> wrote:
:)


Why not test it? :)

The milliseconds won't matter for what i'm doing - the database access times swamp any overhead introduced by a non-optimizing compiler.

:)

(You're not going to convince me to not be impressed with tcc's speed ;)

I am already impressed with its reported build speed, though I am curious at just how much of a difference the optimisation steps in gcc actually make.
I would test myself, but most of the things I build are for ARM, hence my asking you to try some tests since you are using it :)

Regards,

Gary Birkett

_______________________________________________
Tinycc-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tinycc-devel



_______________________________________________
Tinycc-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tinycc-devel



reply via email to

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