Tiny C Compiler (TCC) Performance Benchmark: 9x Faster Than GCC
By
guerrilla
Crisped on the outside, thoughtful enough on the inside.
Summary
The article presents Tiny C Compiler (TCC), a fast C compiler that demonstrates significantly faster compilation speeds compared to GCC. It provides benchmark data showing TCC compiling the Links Browser project (76,936 lines) about 9 times faster than GCC 3.2, with specific metrics of 2.27 seconds for TCC versus 20.0 seconds for GCC on a 2.4 GHz Pentium 4 processor. The article includes a note that the author is no longer working on TCC and directs readers to the mailing list for current information.
Key quotes
· 5 pulledTinyCC is about 9 times faster than GCC.
Compilation speed for the Links Browser project. There are 76936 lines (including headers).
TinyCC 0.9.22 2.27 859000 29.6
GCC 3.2 -O0 20.0 98000 3.4
Measures were done on a 2.4 GHz Pentium 4. Real time is measured.
You might also wanna read
Generating and Executing LLVM IR Code from Java Using Foreign Function & Memory API
This technical article demonstrates how to use Java's Foreign Function & Memory (FFM) API to generate and execute LLVM IR (Intermediate Repr
Eurydice: A Rust to C Compiler for Legacy System Integration
The article discusses Eurydice, a Rust to C compiler, exploring the surprising interest in compiling Rust code to C despite Rust's memory sa
Technical Notes and Experience with Fil-C Memory-Safe C/C++ Compiler
The article presents detailed technical notes and experiences with Fil-C, a new memory-safe C/C++ compiler. The author shares their positive
Why Average LLM Use Is Likely Destroying Value in Software Development
The author argues that, contrary to prevailing hype, the average use of Large Language Models (LLMs) is likely destroying value rather than
How AI Accelerated Prototyping: From Idea to Tangible in Record Time
The author reflects on how AI has transformed their prototyping workflow. Previously, the biggest bottleneck was the time needed to scaffold
GitLab 19.0 launches with Secrets Manager, agentic workflows, and self-hosted AI models
GitLab 19.0 has been released, positioning itself as an intelligent orchestration platform for DevSecOps. The release includes expanded secr
bit.ly·23h ago