The Computer Language
Benchmarks Game

C# Mono programs versus Java

by benchmark task performance

fannkuch-redux
source secs KB gz cpu cpu load
C# Mono 48.62 37,488 564 48.60 0% 1% 0% 100%
Java 69.27 47,784 1282 69.25 1% 0% 0% 100%
reverse-complement
source secs KB gz cpu cpu load
C# Mono 1.57 199,032 1099 1.56 2% 1% 0% 100%
Java 1.70 474,400 745 1.70 1% 1% 3% 99%
n-body
source secs KB gz cpu cpu load
C# Mono 21.82 40,512 1305 21.81 1% 0% 0% 100%
Java 22.68 30,056 1424 22.67 0% 0% 1% 100%
fasta-redux
source secs KB gz cpu cpu load
C# Mono 2.82 40,644 1438 2.81 0% 1% 2% 100%
Java 2.64 30,364 1443 2.63 2% 1% 1% 100%
fasta
source secs KB gz cpu cpu load
C# Mono 6.36 40,544 1180 6.36 0% 1% 0% 100%
Java 5.15 31,376 1507 5.14 1% 1% 0% 100%
mandelbrot
source secs KB gz cpu cpu load
C# Mono 31.55 80,876 872 31.54 0% 1% 0% 100%
Java 23.93 91,684 796 23.92 1% 1% 1% 100%
spectral-norm
source secs KB gz cpu cpu load
C# Mono 21.93 39,820 459 21.92 1% 0% 0% 100%
Java 16.22 32,332 950 16.22 0% 1% 1% 100%
k-nucleotide
source secs KB gz cpu cpu load
C# Mono 55.41 512,196 1822 55.38 0% 1% 1% 100%
Java 34.83 1,124,104 1844 34.79 1% 1% 0% 100%
binary-trees
source secs KB gz cpu cpu load
C# Mono 25.06 161,736 654 25.02 0% 1% 1% 100%
Java 7.39 414,024 583 7.38 1% 1% 1% 100%
pidigits
source secs KB gz cpu cpu load
C# Mono 11.24 41,112 1026 11.23 0% 0% 1% 100%
Java 3.20 33,052 938 3.20 1% 1% 1% 100%
regex-dna
source secs KB gz cpu cpu load
C# Mono 77.36 379,924 638 77.27 0% 0% 1% 100%
Java 21.40 575,372 1284 21.39 1% 0% 1% 100%
C# Mono

Mono JIT compiler version 4.3.0 (master/906ff55 Sun Aug 9 22:49:27 PDT 2015)
LLVM: yes(3.6.0svn-mono-master/a92ada2)
GC: sgen

Java

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)