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 50.88 37,824 564 50.86 0% 1% 1% 100%
Java 67.56 23,480 1282 67.53 1% 1% 1% 100%
reverse-complement
source secs KB gz cpu cpu load
C# Mono 1.72 196,088 1099 1.71 1% 2% 2% 100%
Java 1.79 521,988 745 1.78 1% 2% 2% 100%
n-body
source secs KB gz cpu cpu load
C# Mono 23.27 39,196 1410 23.26 1% 1% 0% 100%
Java 24.07 23,184 1430 24.06 1% 1% 1% 100%
pidigits
source secs KB gz cpu cpu load
C# Mono 4.09 40,124 1026 4.08 0% 1% 0% 100%
Java 4.14 25,988 938 4.13 1% 1% 0% 100%
mandelbrot
source secs KB gz cpu cpu load
C# Mono 30.67 74,708 986 30.66 1% 0% 1% 100%
Java 27.41 55,556 796 27.40 1% 0% 1% 100%
fasta-redux
source secs KB gz cpu cpu load
C# Mono 2.37 39,608 1438 2.36 0% 0% 1% 100%
Java 1.89 23,120 1443 1.88 2% 2% 0% 100%
fasta
source secs KB gz cpu cpu load
C# Mono 8.13 39,412 1180 8.12 0% 1% 1% 100%
Java 4.77 23,400 1507 4.76 1% 1% 1% 100%
spectral-norm
source secs KB gz cpu cpu load
C# Mono 29.57 38,592 459 29.56 1% 1% 0% 100%
Java 16.30 23,872 950 16.29 1% 0% 1% 100%
k-nucleotide
source secs KB gz cpu cpu load
C# Mono 86.79 501,876 1822 86.76 0% 1% 1% 100%
Java 47.14 516,280 1602 47.10 1% 1% 1% 100%
binary-trees
source secs KB gz cpu cpu load
C# Mono 45.52 272,592 650 45.46 1% 1% 1% 100%
Java 16.53 511,692 584 16.51 1% 1% 0% 100%
regex-dna
source secs KB gz cpu cpu load
C# Mono 84.74 519,164 594 84.58 0% 1% 1% 100%
Java 22.35 623,244 740 22.34 1% 1% 0% 100%
C# Mono

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

Java

java version "1.8.0_92"
Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
Java HotSpot(TM) Server VM (build 25.92-b14, mixed mode)