The Computer Language
Benchmarks Game

C# Mono programs versus Java

by benchmark task performance

fannkuch-redux
secs KB gz cpu cpu load
C# Mono 49.28 37,616 564 49.26 1% 0% 0% 100%
Java 67.66 26,644 1282 67.63 1% 1% 0% 100%
reverse-complement
secs KB gz cpu cpu load
C# Mono 1.70 195,228 1099 1.69 0% 1% 1% 100%
Java 1.80 522,620 745 1.80 3% 1% 1% 99%
n-body
secs KB gz cpu cpu load
C# Mono 23.32 38,924 1410 23.31 1% 0% 0% 100%
Java 24.33 24,036 1424 24.32 1% 0% 0% 100%
pidigits
secs KB gz cpu cpu load
C# Mono 4.06 39,652 1026 4.05 0% 0% 1% 100%
Java 4.14 26,616 938 4.14 2% 0% 1% 100%
mandelbrot
secs KB gz cpu cpu load
C# Mono 30.71 74,332 986 30.70 1% 0% 0% 100%
Java 27.19 88,448 796 27.18 1% 0% 1% 100%
fasta-redux
secs KB gz cpu cpu load
C# Mono 2.34 38,896 1438 2.34 0% 2% 1% 100%
Java 2.05 24,576 1443 2.04 1% 0% 0% 100%
fasta
secs KB gz cpu cpu load
C# Mono 7.33 38,760 1180 7.32 1% 1% 1% 100%
Java 4.81 24,836 1507 4.80 1% 1% 0% 100%
spectral-norm
secs KB gz cpu cpu load
C# Mono 29.55 38,104 459 29.54 1% 0% 0% 100%
Java 16.37 26,876 950 16.36 1% 1% 0% 100%
binary-trees
secs KB gz cpu cpu load
C# Mono 21.11 116,852 654 21.08 0% 1% 1% 100%
Java 10.70 518,220 926 10.68 1% 1% 0% 100%
k-nucleotide
secs KB gz cpu cpu load
C# Mono 72.11 505,548 1822 72.08 0% 1% 1% 100%
Java 33.48 1,190,032 1844 33.44 1% 1% 0% 100%
regex-dna
secs KB gz cpu cpu load
C# Mono 84.93 455,160 594 84.80 1% 0% 0% 100%
Java 20.80 567,404 1284 20.79 0% 0% 1% 100%
C# Mono

Mono JIT compiler version 4.3.0 (master/42456cd Mon Aug 10 20:27:36 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) Server VM (build 25.45-b02, mixed mode)