The Computer Language
Benchmarks Game

C# Mono LLVM programs versus C++ g++

by benchmark task performance

mandelbrot
source secs mem gz cpu cpu load
C# Mono LLVM 30.67 74,216 986 30.66 0% 1% 1% 100%
C++ g++ 20.11 33,768 726 20.10 0% 1% 1% 100%
reverse-complement
source secs mem gz cpu cpu load
C# Mono LLVM 1.70 195,528 1099 1.70 2% 1% 1% 100%
C++ g++ 1.02 247,604 2275 1.01 2% 0% 0% 100%
pidigits
source secs mem gz cpu cpu load
C# Mono LLVM 4.10 39,488 1026 4.09 0% 1% 1% 100%
C++ g++ 2.27 3,440 508 2.27 0% 1% 1% 100%
fasta
source secs mem gz cpu cpu load
C# Mono LLVM 7.67 38,856 1180 7.66 1% 1% 1% 100%
C++ g++ 4.21 1,336 1105 4.20 1% 1% 0% 100%
fannkuch-redux
source secs mem gz cpu cpu load
C# Mono LLVM 47.77 37,096 564 47.75 1% 0% 0% 100%
C++ g++ 24.65 556 1150 24.64 1% 1% 0% 100%
k-nucleotide
source secs mem gz cpu cpu load
C# Mono LLVM 50.00 188,968 1585 49.96 0% 1% 1% 100%
C++ g++ 24.04 137,908 1252 23.98 1% 1% 0% 100%
n-body
source secs mem gz cpu cpu load
C# Mono LLVM 23.12 38,772 1410 23.11 0% 1% 1% 100%
C++ g++ 8.96 816 1545 8.95 1% 1% 0% 100%
spectral-norm
source secs mem gz cpu cpu load
C# Mono LLVM 29.57 37,944 459 29.56 0% 1% 1% 100%
C++ g++ 7.93 2,288 1044 7.92 1% 1% 0% 100%
binary-trees
source secs mem gz cpu cpu load
C# Mono LLVM 44.90 143,692 955 44.72 1% 1% 1% 100%
C++ g++ 6.86 76,616 846 6.85 0% 1% 0% 100%
C# Mono LLVM

Mono JIT compiler version 4.5.1 (master/3e844dd Fri May 6 19:24:07 PDT 2016)
LLVM: yes(3.6.0svn-mono-master/9f79399)
GC: sgen

C++ g++

g++ (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609