/mobile Handheld Friendly website
Ubuntu : Intel® Q6600® one core |
Each table row shows performance measurements for this JavaScript V8 program with a particular command-line input value N.
| N | CPU secs | Elapsed secs | Memory KB | Code B | ≈ CPU Load |
|---|---|---|---|---|---|
| 250,000 | 104.00 | 104.04 | 38,944 | 390 | 0% 0% 0% 100% |
| 2,500,000 | Timed Out | 390 |
Read the ↓ make, command line, and program output logs to see how this program was run.
Read k-nucleotide benchmark to see what this program should do.
V8 version 3.19.18 (candidate) [console: dumb]
/* The Computer Language Benchmarks Game http://benchmarksgame.alioth.debian.org/ Contributed by Matthew Wilson */ var s="";while(!/^>TH/.test(readline()));for(var i;i=readline();s+=i); var z,o={"ggt":3,"ggta":4,"ggtatt":6,"ggtattttaatt":12,"ggtattttaatttatagt":18}; function F(l,n,t){for(var m,i=0;i<n;++t[m=s.substring(i,++i+l-1)]||(t[m]=1));} for(var l=1;l<3;++l) { var j,n=s.length-l+1,f={},keys=Array(Math.pow(4,l)),k,i=-1; F(l,n,f); for(k in f) keys[++i] = k; keys.sort(function(a, b){ return f[b] - f[a] }); for(j=0;j<=i;print(keys[j].toUpperCase(),(f[keys[j++]]*100/n).toFixed(3))); print(); } for(var i in o)F(z=o[i],s.length-z+1,z={}),print((z[i]||0)+"\t"+i.toUpperCase())
Tue, 18 Jun 2013 23:18:37 GMT COMMAND LINE: /usr/local/src/v8/out/native/d8 --nodebugger knucleotide.v8-3.v8 -- 0 < knucleotide-input2500000.txt TIMED OUT after 3600s PROGRAM OUTPUT: