1 : Are the C CINT programs faster? At a glance.

Each chart bar shows, for one unidentified benchmark, how much the fastest C CINT program used compared to the fastest C gcc program.

(Memory use is only compared for tasks that require memory to be allocated.)


These are not the only compilers and interpreters. These are not the only programs that could be written. These are not the only tasks that could be solved. These are just 10 tiny examples.

 2 : Are the C CINT programs faster? Approximately.

Each table row shows, for one named benchmark, how much the fastest C CINT program used compared to the fastest C gcc program.

(Memory use is only compared for tasks that require memory to be allocated.)

 C CINT used what fraction? used how many times more? 
Benchmark Time Memory Code
 reverse-complement104×1/2±
 spectral-norm180× ±
 mandelbrot246× 1/2
 fannkuch-redux391× 1/2
 k-nucleotide2,548×11×±
 n-body7,302× ±
 C CINT used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)104×104×180×319×2,548×6,099×7,302×

± read the measurements and then read the program source code.

 3 : Are the C CINT programs faster? Measurements.

These are not the only tasks that could be solved. These are just 10 tiny examples. These are not the only compilers and interpreters. These are not the only programs that could be written.

For each named benchmark, measurements of the fastest C CINT program are shown for comparison against measurements of the fastest C gcc program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 reverse-complement 
C CINT77.3377.34127,432727  0% 0% 0% 100%
C gcc0.740.75250,408741  1% 1% 0% 100%
 spectral-norm 
C CINT1,413.761,414.016,180394  0% 0% 0% 100%
C gcc7.857.85644569  0% 0% 1% 100%
 mandelbrot 
C CINT5,568.165,569.124,860400  0% 0% 0% 100%
C gcc22.5922.6030,848799  1% 0% 1% 100%
 fannkuch-redux 
C CINT10,672.1510,674.265,116536  0% 0% 0% 100%
C gcc27.2627.273161183  0% 0% 1% 100%
 k-nucleotide 
C CINT1,135.901,136.2320,2521224  0% 0% 0% 100%
C gcc0.400.451,7881535  0% 0% 2% 98%
 n-body 
C CINT72,389.7672,410.805,2881173  0% 0% 0% 100%
C gcc9.919.923361490  0% 1% 1% 100%
 regex-dna 
C CINTBad Output
C gcc0.050.07?2579  0% 0% 0% 100%
 binary-trees 
No program
C gcc0.020.02?906  100% 0% 0% 100%
 fasta 
C CINTBad Output
C gcc0.040.04?1261  0% 100% 0% 100%
 fasta-redux 
No program
C gcc0.020.03?1402  0% 0% 0% 100%
 pidigits 
C CINTFailed
C gcc0.080.09?448  0% 0% 0% 90%

 4 : Are there other C CINT programs for these benchmarks?

Remember - those are just the fastest C CINT and C gcc programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for C CINT.

Maybe one of those other C CINT programs is fastest on a different OS/machine.

 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest C CINT and C gcc programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.

Maybe one of those other programs is fastest on a different OS/machine.

 C CINT : seamless c c++ interpreter compiler 

"CINT is an interpreter for C and C++ code. It is useful e.g. for situations where rapid development is more important than execution time. Using an interpreter the compile and link cycle is dramatically reduced facilitating rapid development. CINT makes C/C++ programming enjoyable even for part-time programmers."

cint 5.18.00, July 2, 2010

Home Page: What is CINT?

Revised BSD license

  Home   Conclusions   License   Play