The Computer Language
Benchmarks Game

F# Mono LLVM programs versus Java

by benchmark task performance

pidigits
source secs mem gz cpu cpu load
F# Mono LLVM 4.09 40,772 903 4.08 0% 1% 1% 100%
Java 4.14 25,988 938 4.13 1% 1% 0% 100%
fannkuch-redux
source secs mem gz cpu cpu load
F# Mono LLVM 70.54 38,512 612 70.51 1% 1% 0% 100%
Java 67.02 23,380 1257 67.00 0% 1% 1% 100%
n-body
source secs mem gz cpu cpu load
F# Mono LLVM 26.12 46,620 1259 26.11 1% 1% 0% 100%
Java 24.07 23,184 1430 24.06 1% 1% 1% 100%
spectral-norm
source secs mem gz cpu cpu load
F# Mono LLVM 18.62 43,176 721 18.25 1% 1% 3% 98%
Java 16.30 23,872 950 16.29 1% 0% 1% 100%
binary-trees
source secs mem gz cpu cpu load
F# Mono LLVM 19.30 110,552 511 19.26 0% 1% 1% 100%
Java 16.53 511,692 584 16.51 1% 1% 0% 100%
mandelbrot
source secs mem gz cpu cpu load
F# Mono LLVM 36.52 79,752 869 36.50 1% 1% 0% 100%
Java 27.41 55,556 796 27.40 1% 0% 1% 100%
k-nucleotide
source secs mem gz cpu cpu load
F# Mono LLVM 64.05 1,143,128 1477 64.00 1% 1% 0% 100%
Java 36.57 512,948 1802 36.54 1% 0% 0% 100%
fasta
source secs mem gz cpu cpu load
F# Mono LLVM 10.90 40,684 978 10.89 0% 0% 1% 100%
Java 4.77 23,400 1507 4.76 1% 1% 1% 100%
reverse-complement
source secs mem gz cpu cpu load
  No program contribute your program
Java 0.23 456 745 0.22 0% 0% 4% 100%
F# Mono LLVM

F# Compiler for F# 4.0 (Open Source Edition)

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)