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: Rick Hodgin
Subject: Re: [Tinycc-devel] i just can't get over how farging fast tcc is...
Date: Tue, 1 Feb 2011 18:35:16 -0800 (PST)

Stephan,

Bear in mind that while the compile time is fast, and the executable code is small and tight, the execution times may still be notably slower as there aren't optimizations like gcc has.

- Rick C. Hodgin

--- On Tue, 2/1/11, Stephan Beal <address@hidden> wrote:

From: Stephan Beal <address@hidden>
Subject: [Tinycc-devel] i just can't get over how farging fast tcc is...
To: address@hidden
Date: Tuesday, February 1, 2011, 7:50 PM

Hiya!

i know this is old news to you guys, but this never ceases to impress me...

address@hidden:~/cvs/fossil/cpdo$ ls -la cpdo_amalgamation.[ch]
-rw-r--r-- 1 stephan stephan 94648 Feb  2 01:38 cpdo_amalgamation.c
-rw-r--r-- 1 stephan stephan 79439 Feb  2 01:38 cpdo_amalgamation.h

address@hidden:~/cvs/fossil/cpdo$ time gcc -c  -DCPDO_ENABLE_SQLITE3=1 -DCPDO_ENABLE_MYSQL5=1  -I. -I./include  cpdo_amalgamation.c

real    0m0.503s
user    0m0.420s
sys    0m0.050s

address@hidden:~/cvs/fossil/cpdo$ time tcc -c  -DCPDO_ENABLE_SQLITE3=1 -DCPDO_ENABLE_MYSQL5=1  -I. -I./include  cpdo_amalgamation.c

real    0m0.021s
user    0m0.020s
sys    0m0.000s


Man!!! It blows my mind every time!

(Shameful Plug: http://fossil.wanderinghorse.net/repos/cpdo/)

Happy Hacking!

--
----- stephan beal
http://wanderinghorse.net/home/stephan/

-----Inline Attachment Follows-----

_______________________________________________
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]