@@ -12,6 +12,9 @@ import ArrayBench
12import ListBench
12import ListBench
13import AnimateBench
13import AnimateBench
14import RecordBench
14import RecordBench
15+import SmallRecordBench
17+import SmallTupleBench
17{-| Compile this with --output=Benchmarks.html to generate
20{-| Compile this with --output=Benchmarks.html to generate
@@ -22,6 +25,9 @@ import RecordBench
23 Benchmark.Suite "My Suite"
26 Benchmark.Suite "My Suite"
24 [ Benchmark.bench1 "Access 20-field record 200 times: " RecordBench.sumRandomElems indices200
27 [ Benchmark.bench1 "Access 20-field record 200 times: " RecordBench.sumRandomElems indices200
28+ , Benchmark.bench1 "Access 9-field record 200 times: " SmallRecordBench.sumRandomElems indices200
29+ , Benchmark.bench1 "Access 9-field tuple 200 times: " TupleBench.sumRandomElems indices200
30+ , Benchmark.bench1 "Access 3-field tuple 200 times: " SmallTupleBench.sumRandomElems indices200
26 , Benchmark.bench1 "Make and sum dict, 10000 elems: " LargeDictionary.addNToDictAndSum 10000
32 , Benchmark.bench1 "Make and sum dict, 10000 elems: " LargeDictionary.addNToDictAndSum 10000
27 , Benchmark.bench1 "Make and sum dict, 50 elems: " LargeDictionary.addNToDictAndSum 50
33 , Benchmark.bench1 "Make and sum dict, 50 elems: " LargeDictionary.addNToDictAndSum 50