OLD | NEW |
1 | 1 |
2 | 2 |
3 self.addEventListener('message', function(e) { | 3 self.addEventListener('message', function(e) { |
4 var msgtype = e.data.type; | 4 var msgtype = e.data.type; |
5 var msg = e.data.msg; | 5 var msg = e.data.msg; |
6 switch (msgtype) { | 6 switch (msgtype) { |
7 case "runsmall": | 7 case "runsmall": |
8 RunSmall(); | 8 RunSmall(); |
9 break; | 9 break; |
10 case "runlarge": | 10 case "runlarge": |
11 RunLarge(); | 11 RunLarge(); |
12 break; | 12 break; |
13 default: | 13 default: |
14 throw msg; | 14 throw msg; |
15 break; | 15 break; |
16 } | 16 } |
17 }, false); | 17 }, false); |
18 | 18 |
19 importScripts('base.js'); | 19 importScripts('base.js'); |
20 importScripts('fasta_10k_ref_output.js'); | 20 importScripts('fasta_10k_ref_output.js'); |
21 importScripts('io_replacement.js'); | 21 importScripts('io_replacement.js'); |
22 importScripts('biginteger.js'); | 22 importScripts('biginteger.js'); |
| 23 |
| 24 importScripts('richards.js'); |
| 25 importScripts('deltablue.js'); |
23 importScripts('fannkuchredux.js'); | 26 importScripts('fannkuchredux.js'); |
24 importScripts('fasta.js'); | 27 importScripts('fasta.js'); |
25 importScripts('revcomp.js'); | 28 importScripts('revcomp.js'); |
26 importScripts('binarytrees.js'); | 29 importScripts('binarytrees.js'); |
27 importScripts('knucleotide.js'); | 30 importScripts('knucleotide.js'); |
28 importScripts('nbody.js'); | 31 importScripts('nbody.js'); |
29 importScripts('spectralnorm.js'); | 32 importScripts('spectralnorm.js'); |
30 importScripts('pidigits.js'); | 33 importScripts('pidigits.js'); |
31 | 34 |
32 importScripts('setup_benchmarks.js'); | 35 importScripts('setup_benchmarks.js'); |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 benchmarks = BenchmarkSuite.CountBenchmarks(); | 89 benchmarks = BenchmarkSuite.CountBenchmarks(); |
87 WWShowProgress("benchmark"); | 90 WWShowProgress("benchmark"); |
88 BenchmarkSuite.RunSuites({ NotifyStep: WWShowProgress, | 91 BenchmarkSuite.RunSuites({ NotifyStep: WWShowProgress, |
89 NotifyStart: WWAddStart, | 92 NotifyStart: WWAddStart, |
90 NotifyError: WWAddError, | 93 NotifyError: WWAddError, |
91 NotifyResult: WWAddResult, | 94 NotifyResult: WWAddResult, |
92 NotifyScore: WWAddScore }); | 95 NotifyScore: WWAddScore }); |
93 started = 0; | 96 started = 0; |
94 ClearBenchmarks(); | 97 ClearBenchmarks(); |
95 } | 98 } |
OLD | NEW |