本文主要是介绍Programming Languages Comparision,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
The latest computer language benchmarks fromhttp://shootout.alioth.debian.org/gp4/benchmark.php?test=all&lang=all
[Note: Java 6.04, SML-Mlton, Ocaml, D 已经有了不错的性能上的提升了。]
Gentoo : Intel® Pentium® 4
Computer Language Benchmarks Game
Create your own Ranking
What fun! Can you manipulate the multipliers and weights to make your favourite language the best programming language in the Benchmarks Game?
|
about the Ranking
(Language implementations with more than a couple of Timeouts distort the ranking - so they have been excluded. They can still be compared directly against another language implementation.)
For each benchmark, the best measurement B is the lowest non-zero measurement. For each language implementation, the measurement L for the language implementation is converted to the ratio L/B
The ratio can be adjusted by a measurement multiplier (make CPU time or memory use or lines-of-code more or less important) and by a benchmark weight (make particular benchmarks more or less important).
For each language implementation, we report the Weighted Geometric Mean of those L/B ratios.
Java VS C# mono:Compare the performance of Java 6 -server programs against some other language implementation, or check the Java CPU time and Memory use measurements.
For more information about the Java implementation we measured see ↓ about Java 6 -server.
Are the Java 6 -server programs better?
For each of one our benchmarks, a white bar shows which language implementation had the faster program, and a black bar shows which used the least memory.
How many times better?
How many times faster or smaller are the Java 6 -server programs than the corresponding C# Mono programs?
Java 6 -server x times better ~ C# Mono x times better | ||||
---|---|---|---|---|
Program & Logs | Faster | Smaller: Memory Use | Smaller: GZip Bytes | Reduced N |
binary-trees | 1.2 | ~1.6 | 1.0 | |
chameneos-redux (new) | ||||
fannkuch | 1.6 | ~1.9 | ~1.4 | |
fasta | 1.2 | ~2.2 | ~1.1 | |
k-nucleotide | 1.1 | 1.1 | ~1.0 | |
mandelbrot | 2.2 | ~2.2 | ~1.3 | |
meteor-contest | ||||
n-body | 1.8 | ~2.2 | ~1.0 | |
nsieve | ~1.0 | ~1.5 | ~1.3 | |
nsieve-bits | 1.1 | ~1.7 | ~1.4 | |
partial-sums | ~1.6 | ~2.4 | ~1.0 | |
pidigits | ~1.1 | ~2.0 | 1.1 | |
recursive | 1.1 | ~2.2 | 1.0 | |
regex-dna | 2.4 | 2.4 | ~1.1 | |
reverse-complement | ~1.2 | ~2.0 | ~1.2 | |
spectral-norm | 1.9 | ~2.6 | ~1.1 | |
startup | ~2.0 | 1.1 | ||
sum-file | 2.3 | ~2.3 | ~1.1 | |
thread-ring (new) | 1.3 | ~2.1 | ~1.1 |
about Java 6 -server
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) Server VM (build 10.0-b19, mixed mode)
这篇关于Programming Languages Comparision的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!