Results for testing 0.9.28rc with the project https://github.com/craigbarnes/dte
* build break -> fixed in mob * 128 warnings: assignment from incompatible pointer type -> that's ok. The project source has macros to disable these warnings for gcc and clang * 1 warning: function might return no value: 'xvasprintf' -> In the project source is a function call ("fatal_error") which is declared as "noreturn" tcc is not smart enough to detect, that the end of the function will never be reached. * All tests are passed with "make check", but with tcc, fewer tests are run gcc/clang: 30271, tcc: 30247. (the 32bit numbers differ, and my system is missing a 32bit library) * compile time comparsion (1x warmup, 5x time collected) with "gcc -O0" and clang -O0 (always after a "make clean"). Machine is a laptop with linux (i7 2620M: 2 core, 4 thread) make (tcc): 1.10user 0.67system 0:00.57elapsed 310%CPU 1.13user 0.66system 0:00.58elapsed 306%CPU 1.13user 0.68system 0:00.58elapsed 309%CPU 1.06user 0.69system 0:00.57elapsed 307%CPU 1.07user 0.70system 0:00.57elapsed 309%CPU average: 0,574 make (gcc 12.3.0): 25.95user 3.06system 0:07.85elapsed 369%CPU 25.79user 3.24system 0:07.94elapsed 365%CPU 26.04user 2.98system 0:07.97elapsed 363%CPU 26.02user 3.00system 0:08.13elapsed 356%CPU 26.02user 3.07system 0:07.96elapsed 365%CPU average: 7,97 tcc is ~14 times faster make (clang 15.0.7) 25.58user 4.38system 0:08.64elapsed 346%CPU 25.64user 4.50system 0:08.44elapsed 356%CPU 25.77user 4.37system 0:08.60elapsed 350%CPU 25.45user 4.57system 0:08.75elapsed 342%CPU 25.77user 4.36system 0:08.40elapsed 358%CPU average: 8,566 tcc is ~15 times faster For comparsion, a quick check without parallel jobs: make -j1 check: tcc 1.06user 0.65system 0:01.71elapsed 100%CPU gcc 20.01user 2.88system 0:22.90elapsed 100%CPU clang 17.93user 3.84system 0:21.77elapsed 100%CPU make -j1: tcc 0.85user 0.46system 0:01.31elapsed 100%CPU gcc 15.17user 2.38system 0:17.55elapsed 100%CPU clang 14.34user 3.08system 0:17.43elapsed 99%CPU tcc is still >10 times faster, when using no paralell make jobs -- Bye bye ... Detlef _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel