Compare the performance of D Digital Mars programs against some other language implementation.

For more information about the D implementation we measured see ↓ about D Digital Mars.

Compare to:

 D Digital Mars comparison summary


1/2 1/3 1/4 … D Digital Mars is better
Programs Time Memory Use Source Size Reduced N
chameneos-reduxNo program
fannkuch±±±
binary-trees±±±
sum-file±1/51/2
regex-dna±21/2
reverse-complement±±±
nsieve-bits±21/2
nsieve±±±
spectral-norm±±±
pidigits±±±
fasta±±±
k-nucleotide±31/2
n-body±3±
partial-sums±1/5±
mandelbrot2±±
recursive331/2

± look at the measurements

 D Digital Mars comparison measurements

Program & Logs CPU secs Memory KB Size B Elapsed secs ~ CPU Load
 fannkuch 
D Digital Mars6.503,092498  
C++ GNU g++ #28.283,096554  
 binary-trees 
D Digital Mars #24.934,732705  
C++ GNU g++ #25.917,000541  
 sum-file 
D Digital Mars5.503,096166  
C++ GNU g++ #26.2914,864260  
 regex-dna 
D Digital Mars #35.7828,2321022  
C++ GNU g++ #36.4513,4081588  
 reverse-complement 
D Digital Mars #20.5712,928685  
C++ GNU g++ #30.6313,288810  
 nsieve-bits 
D Digital Mars2.585,152326  
C++ GNU g++2.803,328494  
 nsieve 
D Digital Mars #33.6716,116298  
C++ GNU g++ #33.7610,788313  
 spectral-norm 
D Digital Mars17.333,100403  
C++ GNU g++17.493,092442  
 pidigits 
D Digital Mars #32.863,120756  
C++ GNU g++ #22.853,124652  
 fasta 
D Digital Mars14.503,1041095  
C++ GNU g++ #411.693,1201248  
 k-nucleotide 
D Digital Mars10.3027,824561  
C++ GNU g++ #37.639,3121380  
 n-body 
D Digital Mars17.393,0881308  
C++ GNU g++ #212.789361705  
 partial-sums 
D Digital Mars #42.64588440  
C++ GNU g++ #31.843,096531  
 mandelbrot 
D Digital Mars #25.663,292399  
C++ GNU g++3.003,312584  
 recursive 
D Digital Mars #27.473,100349  
C++ GNU g++ #22.591,008566  

 about D Digital Mars

Digital Mars D Compiler v1.015

Home Page: http://www.digitalmars.com/d/

Download: http://www.digitalmars.com/d/

Revised BSD license