Clang being run at optimization level 0 is supposed to lead to no optimization being done.
Yet everything I’m seeing suggests it’s still roughly 5x to 10x slower than tinycc which is supposed to do the same. (See this benchmark as compare to GCC which is roughly as fast as LLVM: TCC : Tiny C Compiler)
I know Zapcc is essentially supposed to accomplish this and forks LLVM. But it’s only about 1.6 times faster according to this, which also backs up LLVM and GCC having similar performance: A Performance-Based Comparison of C/C++ Compilers | Colfax Research
Still seems like there is plenty of room to speed this up… any effort or plans on this front? Or should I use tinycc for fast compiles for debugging, then LLVM to compile the release version?