forked from ShuyaoJiang/WarpDiff
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpywasm_testdata.py
More file actions
86 lines (86 loc) · 4.2 KB
/
pywasm_testdata.py
File metadata and controls
86 lines (86 loc) · 4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
data = {
"binarytrees": 14,
"chameneosredux": 6000000,
"fannkuchredux": 10,
"fasta": 1250000,
"fastaredux": 2500000,
"fibonacci": 1000000,
"fib50": 500000,
"iobench": 1,
"jsonbench": 1,
"knucleotide": 10000,
"mandelbrot": 16000,
"meteor": 2098,
"nbody": 500000,
"pidigits": 10000,
"pystone": 100000,
"regexdna": 10000,
"revcomp": 1000,
"richards": 10,
"spectralnorm": 550,
"templates": 1000,
"threadring": 5000000,
"testdata": {
"knucleotide": "../pybenchmarks/bencher/data/knucleotide-input10000.txt",
"regexdna": "../pybenchmarks/bencher/data/regexdna-input10000.txt",
"revcomp": "../pybenchmarks/bencher/data/revcomp-input1000.txt",
},
}
correct_case = [
"../targets_pywasm/binarytrees/binarytrees.python3-7.python3.wasm",
"../targets_pywasm/binarytrees/binarytrees.python3-6.python3.wasm",
"../targets_pywasm/binarytrees/binarytrees.python3.wasm",
"../targets_pywasm/fannkuchredux/fannkuchredux.python3-4.python3.wasm",
"../targets_pywasm/fannkuchredux/fannkuchredux.python3-3.python3.wasm",
"../targets_pywasm/fannkuchredux/fannkuchredux.python3-6.python3.wasm",
"../targets_pywasm/fastaredux/fastaredux.python3-7.python3.wasm",
"../targets_pywasm/fastaredux/fastaredux.python3.wasm",
"../targets_pywasm/fastaredux/fastaredux.python3-6.python3.wasm",
"../targets_pywasm/jsonbench/jsonbench.python3.wasm",
"../targets_pywasm/nbody/nbody.python3.wasm",
"../targets_pywasm/pystone/pystone.python3.wasm",
"../targets_pywasm/revcomp/revcomp.python3-6.python3.wasm",
"../targets_pywasm/revcomp/revcomp.python3-3.python3.wasm",
"../targets_pywasm/revcomp/revcomp.python3-4.python3.wasm",
"../targets_pywasm/revcomp/revcomp.python3-5.python3.wasm",
"../targets_pywasm/spectralnorm/spectralnorm.python3-6.python3.wasm",
"../targets_pywasm/spectralnorm/spectralnorm.python3-8.python3.wasm",
"../targets_pywasm/threadring/threadring.python3.wasm",
"../targets_pywasm/fasta/fasta.python3.wasm",
"../targets_pywasm/fasta/fasta.python3-2.python3.wasm",
"../targets_pywasm/fasta/fasta.python3-4.python3.wasm",
"../targets_pywasm/fasta/fasta.python3-3.python3.wasm",
"../targets_pywasm/fib50/fib50.python3.wasm",
"../targets_pywasm/knucleotide/knucleotide.python3-3.python3.wasm",
"../targets_pywasm/knucleotide/knucleotide.python3.wasm",
"../targets_pywasm/meteor/meteor.python3.wasm",
"../targets_pywasm/meteor/meteor.python3-3.python3.wasm",
"../targets_pywasm/meteor/meteor.python3-2.python3.wasm",
"../targets_pywasm/pidigits/pidigits.python3.wasm",
"../targets_pywasm/regexdna/regexdna.python3-5.python3.wasm",
"../targets_pywasm/richards/richards.python3.wasm",
]
error_case = [
"../targets_pywasm/fannkuchredux/fannkuchredux.python3.wasm",
"../targets_pywasm/fannkuchredux/fannkuchredux.python3-2.python3.wasm",
"../targets_pywasm/fibonacci/fibonacci.python3-2.python3.wasm",
"../targets_pywasm/fibonacci/fibonacci.python3.wasm",
"../targets_pywasm/fibonacci/fibonacci.python3-3.python3.wasm",
"../targets_pywasm/mandelbrot/mandelbrot.python3-6.python3.wasm",
"../targets_pywasm/spectralnorm/spectralnorm.python3-5.python3.wasm",
"../targets_pywasm/spectralnorm/spectralnorm.python3-2.python3.wasm",
"../targets_pywasm/spectralnorm/spectralnorm.python3-3.python3.wasm",
"../targets_pywasm/threadring/threadring.python3-2.python3.wasm",
"../targets_pywasm/chameneosredux/chameneosredux.python3-2.python3.wasm",
"../targets_pywasm/chameneosredux/chameneosredux.python3.wasm",
"../targets_pywasm/fasta/fasta.python3-5.python3.wasm",
"../targets_pywasm/iobench/iobench.python3.wasm",
"../targets_pywasm/knucleotide/knucleotide.python3-2.python3.wasm",
"../targets_pywasm/knucleotide/knucleotide.python3-8.python3.wasm",
"../targets_pywasm/pidigits/pidigits.python3-2.python3.wasm",
"../targets_pywasm/pidigits/pidigits.python3-5.python3.wasm",
"../targets_pywasm/pidigits/pidigits.python3-4.python3.wasm",
"../targets_pywasm/pidigits/pidigits.python3-3.python3.wasm",
"../targets_pywasm/regexdna/regexdna.python3.wasm",
"../targets_pywasm/templates/templates.python3.wasm",
]