Commit 42f54ec8 authored by Hans-Peter Deifel's avatar Hans-Peter Deifel
Browse files

Place tombstone for repo

parent e5fe975e
auto/
ltximg/
valmari_fig4/benchmark.pdf
valmari_fig4/benchmark.tex
valmari_fig4/benchmark.tmp
valmari_fig4/benchmarks.png
prism/bench/
dfa/bench/
*.pdf
*.tex
/dfa/bench
/wta/bench
# Benchmarks for CoPaR # Benchmarks for CoPaR
### This repo has moved to https://gitlab.cs.fau.de/hpd/copar-benchmarks
This repository contains tooling and raw results from benchmarking
[CoPaR](https://git8.cs.fau.de/software/copar).
This repo contains benchmarks for:
- Deterministic Finite Automata in `dfa/`
- Adaptions of the benchmark suite of the PRISM model checker in `prism/`
- Weighted Tree Automata in `wta/`
#+TITLE: Messungen zum Artifact-Rebuttal
#+DATE: <2018-12-07 Fr>
#+AUTHOR: Hans-Peter Deifel
Alle Messungen bis auf das Paper wurden mit dem Artefakt-Binary durchgeführt auf
den im Artefakt mitgelieferten Dateien.
* Ergebnisse im Paper
** DFA 10^3
#+NAME: paper_dfa_1000
| N | t_p (s) | t_i (s) | t_r (s) | t_v (s) |
|------+---------+---------+---------+---------|
| 1000 | 2.4 | 0.76 | 0.36 | 1.03 |
| 2000 | 4.96 | 1.58 | 0.74 | 2.52 |
| 3000 | 7.39 | 2.11 | 1.4 | 4.33 |
| 4000 | 10.2 | 3.2 | 1.67 | 5.74 |
| 5000 | 13.06 | 4.05 | 2.1 | 7.45 |
** DFA 10^4
#+NAME: paper_dfa_10000
| N | t_p (s) | t_i (s) | t_r (s) | t_v (s) |
|------+---------+---------+---------+---------|
| 600 | 44.75 | 1.82 | 2.88 | 7.84 |
| 700 | 50.93 | 4.29 | 3.18 | 9.42 |
| 800 | 60.78 | 2.54 | 4.16 | 11.04 |
| 900 | 68.34 | 2.76 | 4.6 | 12.71 |
| 1000 | 75.79 | 3.05 | 5.21 | 14.32 |
** PRISM
#+NAME: paper_prism
| | t_p(s) | t_i(s) | t_r(s) | t_v(s) |
|---+--------+--------+--------+--------|
| 1 | 2.39 | 0.66 | 1.09 | 1.19 |
| 1 | 9.66 | 2.83 | 5.43 | 5.58 |
| 2 | 0.47 | 0.28 | 0.57 | 0.12 |
| 3 | 4.89 | 3.01 | 5.45 | 0.91 |
| 3 | 12.59 | 6.17 | 15.12 | 2.45 |
* Ergebnisse am Desktop
Desktop hat 16GB RAM. Ausgabe von =lscpu=:
#+BEGIN_EXAMPLE
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 94
Model name: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
Stepping: 3
CPU MHz: 3203.065
CPU max MHz: 3600,0000
CPU min MHz: 800,0000
BogoMIPS: 6386.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d
#+END_EXAMPLE
** DFA 10^3
#+NAME: desktop_dfa_1000
| N | tp | ti | tr | tv |
|------+-------+------+------+------|
| 1000 | 2.56 | 0.82 | 0.37 | 1.06 |
| 2000 | 5.29 | 1.67 | 0.80 | 2.65 |
| 3000 | 7.83 | 2.32 | 1.52 | 4.24 |
| 4000 | 10.68 | 3.40 | 1.74 | 6.54 |
| 5000 | 13.66 | 4.28 | 2.22 | 7.73 |
** DFA 10^4
#+NAME: desktop_dfa_10000
| N | tp | ti | tr | tv |
|------+-------+------+------+-------|
| 600 | 46.42 | 1.86 | 3.02 | 8.64 |
| 700 | 52.50 | 4.55 | 3.32 | 10.25 |
| 800 | 62.34 | 2.52 | 4.36 | 11.53 |
| 900 | 70.08 | 2.78 | 4.92 | 13.85 |
| 1000 | 78.11 | 3.14 | 5.49 | 14.64 |
** PRISM
#+NAME: desktop_prism
| | tp | ti | tr | tv |
|----+-------+------+-------+------|
| 1. | 2.54 | 0.70 | 1.11 | 1.19 |
| 1. | 10.26 | 3.00 | 5.61 | 6.09 |
| 2. | 0.51 | 0.29 | 0.60 | 0.08 |
| 3. | 5.33 | 3.09 | 5.78 | 0.78 |
| 3. | 13.75 | 6.36 | 16.05 | 2.78 |
* Ergebnisse am Laptop
Der Laptop hat 8GB und folgendes =lscpu=:
#+BEGIN_EXAMPLE
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 1
Core(s) per socket: 4
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 94
Model name: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
Stepping: 3
CPU MHz: 2763.879
CPU max MHz: 3600.0000
CPU min MHz: 800.0000
BogoMIPS: 6386.00
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 6144K
NUMA node0 CPU(s): 0-3
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp flush_l1d
#+END_EXAMPLE
** DFA 10^3
#+NAME: laptop_dfa_1000
| N | t_p (s) | t_i (s) | t_r (s) | t_v (s) |
|------+---------+---------+---------+---------|
| 1000 | 3.78 | 1.17 | 0.49 | 1.49 |
| 2000 | 7.95 | 2.44 | 1.03 | 3.42 |
| 3000 | 11.84 | 3.27 | 1.91 | 5.36 |
| 4000 | 16.33 | 5.04 | 2.22 | 7.43 |
| 5000 | 20.70 | 6.37 | 2.80 | 9.44 |
** DFA 10^4
#+NAME: laptop_dfa_10000
| N | t_p (s) | t_i (s) | t_r (s) | t_v (s) |
|-----+---------+---------+---------+---------|
| 600 | 67.28 | 3.02 | 4.52 | 10.43 |
| 700 | 80.67 | 7.68 | 5.12 | 12.65 |
Rest ging nicht wegen RAM
** PRISM
#+NAME: laptop_prism
| File | t_p (s) | t_i (s) | t_r (s) | t_v (s) |
|------+---------+---------+---------+---------|
| 1 | 4.20 | 1.11 | 1.80 | 2.18 |
| 1 | 19.13 | 4.74 | 9.42 | 8.20 |
| 2 | 1.09 | 0.46 | 1.17 | 0.12 |
| 3 | 9.86 | 4.54 | 9.96 | 1.23 |
| 3 | 28.01 | 9.91 | 27.27 | 3.42 |
** Faktor zw Laptop und Desktop
*** DFA 10^3
#+CALL: factor(a=desktop_dfa_1000, b=laptop_dfa_1000)
#+RESULTS:
| N | t_p (s) | t_i (s) | t_r (s) | t_v (s) |
|------+---------+---------+---------+---------|
| 1000 | 1.48 | 1.43 | 1.32 | 1.41 |
| 2000 | 1.5 | 1.46 | 1.29 | 1.29 |
| 3000 | 1.51 | 1.41 | 1.26 | 1.26 |
| 4000 | 1.53 | 1.48 | 1.28 | 1.14 |
| 5000 | 1.52 | 1.49 | 1.26 | 1.22 |
*** DFA 10^4
#+CALL: factor(a=desktop_dfa_10000, b=laptop_dfa_10000)
#+RESULTS:
| N | t_p (s) | t_i (s) | t_r (s) | t_v (s) |
|-----+---------+---------+---------+---------|
| 600 | 1.45 | 1.62 | 1.5 | 1.21 |
| 700 | 1.54 | 1.69 | 1.54 | 1.23 |
*** PRISM
#+CALL: factor(a=desktop_prism, b=laptop_prism)
#+RESULTS:
| File | t_p (s) | t_i (s) | t_r (s) | t_v (s) |
|------+---------+---------+---------+---------|
| 1 | 1.65 | 1.59 | 1.62 | 1.83 |
| 1 | 1.86 | 1.58 | 1.68 | 1.35 |
| 2 | 2.14 | 1.59 | 1.95 | 1.5 |
| 3 | 1.85 | 1.47 | 1.72 | 1.58 |
| 3 | 2.04 | 1.56 | 1.7 | 1.23 |
* Ergebnisse in VM am Desktop
VM hatte 8 von 16 GB RAM des Hostsystems
** DFA 10^3
#+NAME: vm_dfa_1000
| N | tp | ti | tr | tv |
|------+-------+------+------+------|
| 1000 | 3.33 | 0.82 | 0.39 | 1.25 |
| 2000 | 6.65 | 1.69 | 0.83 | 3.55 |
| 3000 | 10.20 | 2.29 | 1.62 | 4.97 |
| 4000 | 13.89 | 3.48 | 1.90 | 6.77 |
| 5000 | 17.31 | 4.31 | 2.34 | 9.20 |
** DFA 10^4
#+NAME: vm_dfa_10000
| N | tp | ti | tr | tv |
|-----+-------+------+------+-------|
| 600 | 82.08 | 1.94 | 3.24 | 9.65 |
| 700 | 93.74 | 4.58 | 3.55 | 11.13 |
Mehr ging nicht wegen RAM
** PRISM
#+NAME: vm_prism
| | tp | ti | tr | tv |
|----+-------+------+-------+------|
| 1. | 2.63 | 0.74 | 1.21 | 1.41 |
| 1. | 10.98 | 3.20 | 6.17 | 6.34 |
| 2. | 0.55 | 0.31 | 0.65 | 0.11 |
| 3. | 5.59 | 3.22 | 6.08 | 0.86 |
| 3. | 14.46 | 6.55 | 17.19 | 2.95 |
** Faktor zu Desktop
*** DFA 10^3
#+CALL: factor(a=desktop_dfa_1000, b=vm_dfa_1000)
#+RESULTS:
| N | tp | ti | tr | tv |
|------+------+------+------+------|
| 1000 | 1.3 | 1.0 | 1.05 | 1.18 |
| 2000 | 1.26 | 1.01 | 1.04 | 1.34 |
| 3000 | 1.3 | 0.99 | 1.07 | 1.17 |
| 4000 | 1.3 | 1.02 | 1.09 | 1.04 |
| 5000 | 1.27 | 1.01 | 1.05 | 1.19 |
*** DFA 10^4
#+CALL: factor(a=desktop_dfa_10000, b=vm_dfa_10000)
#+RESULTS:
| N | tp | ti | tr | tv |
|-----+------+------+------+------|
| 600 | 1.77 | 1.04 | 1.07 | 1.12 |
| 700 | 1.79 | 1.01 | 1.07 | 1.09 |
*** PRISM
#+CALL: factor(a=desktop_prism, b=vm_prism)
#+RESULTS:
| | tp | ti | tr | tv |
|---+------+------+------+------|
| 1 | 1.04 | 1.06 | 1.09 | 1.18 |
| 1 | 1.07 | 1.07 | 1.1 | 1.04 |
| 2 | 1.08 | 1.07 | 1.08 | 1.38 |
| 3 | 1.05 | 1.04 | 1.05 | 1.1 |
| 3 | 1.05 | 1.03 | 1.07 | 1.06 |
* Ergebnisse auf Thorstens Rechner
Der Rechner hat theoretisch 16GB, allerdings kann mein Account davon nicht
alle Nutzen (vll ca 10?). Ausgabe von =lscpu=:
#+BEGIN_EXAMPLE
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 60
model name : Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
stepping : 3
microcode : 0x1c
cpu MHz : 3979.623
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
bogomips : 7186.95
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
#+END_EXAMPLE
** DFA 10^3
| N | t_p(s) | t_i(s) | t_r(s) | t_v(s) |
|------+--------+--------+--------+--------|
| 1000 | 2.43 | 0.81 | 0.37 | 1.02 |
| 2000 | 4.99 | 1.69 | 0.78 | 2.62 |
| 3000 | 7.36 | 2.16 | 1.42 | 4.26 |
| 4000 | 10.12 | 3.45 | 1.71 | 6.16 |
| 5000 | 12.95 | 4.42 | 2.18 | 7.77 |
** DFA 10^4
| N | t_p(s) | t_i(s) | t_r(s) | t_v(s) |
|-----+--------+--------+--------+--------|
| 600 | 47.32 | 1.84 | 3.17 | 7.87 |
| 700 | 53.92 | 4.39 | 3.26 | 9.26 |
** PRISM
| File | t_p(s) | t_i(s) | t_r(s) | t_v(s) |
|------+--------+--------+--------+--------|
| 1 | 2.39 | 0.70 | 1.13 | 1.17 |
| 1 | 9.74 | 3.00 | 5.73 | 5.60 |
| 2 | 0.49 | 0.31 | 0.62 | 0.09 |
| 3 | 5.18 | 3.39 | 6.20 | 0.76 |
| 3 | 13.27 | 7.01 | 17.29 | 2.21 |
* Faktoren von VM zu Thorsten
** DFA 10^3
| N | tp | ti | tr | tv |
|------+-----------+------------+-----------+-----------|
| 1000 | 1.3703704 | 1.0123457 | 1.0540541 | 1.2254902 |
| 2000 | 1.3326653 | 1. | 1.0641026 | 1.3549618 |
| 3000 | 1.4166667 | 1.0601852 | 1.1408451 | 1.1666667 |
| 4000 | 1.3725296 | 1.0086957 | 1.1111111 | 1.0990260 |
| 5000 | 1.3366795 | 0.97511312 | 1.0733945 | 1.1840412 |
#+TBLFM: @2$2=3.33/2.43::@2$3=0.82/0.81::@2$4=0.39/0.37::@2$5=1.25/1.02::@3$2=6.65/4.99::@3$3=1.69/1.69::@3$4=0.83/0.78::@3$5=3.55/2.62::@4$2=10.20/7.20::@4$3=2.29/2.16::@4$4=1.62/1.42::@4$5=4.97/4.26::@5$2=13.89/10.12::@5$3=3.48/3.45::@5$4=1.9/1.71::@5$5=6.77/6.16::@6$2=17.31/12.95::@6$3=4.31/4.42::@6$4=2.34/2.18::@6$5=9.20/7.77
D.h faktor so um 1-1.1, außer beim parsen, da konsistent 1.3. (Valmari
hat schwankend zw. 1 und 2)
** DFA 10^4
| N | tp | ti | tr | tv |
|-----+-----------+-----------+-----------+-----------|
| 600 | 1.7345731 | 1.0543478 | 1.0220820 | 1.2261753 |
| 700 | 1.7385015 | 1.0432802 | 1.0889571 | 1.2019438 |
#+TBLFM: @2$2=82.08/47.32::@2$3=1.94/1.84::@2$4=3.24/3.17::@2$5=9.65/7.87::@3$2=93.74/53.92::@3$3=4.58/4.39::@3$4=3.55/3.26::@3$5=11.13/9.26
D.h bei ti und rt ein faktor von ca 1.05, bei tv ein faktor von 1.2
und bei tp ein faktor von 1.7
** PRISM
| | tp | ti | tr | tv |
|----+-----------+------------+------------+-----------|
| | | x | x | x |
| 1. | 1.1004184 | 1.0571429 | 1.0707965 | 1.2051282 |
| 1. | 1.1273101 | 1.0666667 | 1.0767888 | 1.1321429 |
| 2. | 1.1224490 | 1. | 1.0483871 | 1.2222222 |
| 3. | 1.0791506 | 0.94985251 | 0.98064516 | 1.1315789 |
| 3. | 1.0896760 | 0.93437946 | 0.99421631 | 1.3348416 |
#+TBLFM: @2$2=2.63/2.39::@3$2=10.98/9.74::@3$3=0.74/0.7::@3$4=1.21/1.13::@3$5=1.41/1.17::@4$2=0.55/0.49::@4$3=3.20/3.0::@4$4=6.17/5.73::@4$5=6.34/5.6::@5$2=5.59/5.18::@5$3=0.31/0.31::@5$4=0.65/0.62::@5$5=0.11/0.09::@6$2=14.46/13.27::@6$3=3.22/3.39::@6$4=6.08/6.2::@6$5=0.86/0.76::@7$3=6.55/7.01::@7$4=17.19/17.29::@7$5=2.95/2.21
D.h alle Faktoren eigentlich so um 1-1.1 manchmal sogar ein wenig
schneller. Valmari eher bso bei 1.2.
* Code
** Faktor ausrechnen
#+NAME: factor
#+BEGIN_SRC python :var a=[] :var b=[] :colnames yes :rownames yes
table = []
for i in range(min(len(a), len(b))):
row = []
for j in range(min(len(a[i]), len(b[i]))):
row.append(round(b[i][j] / a[i][j], 2))
table.append(row)
return table
#+END_SRC
constraints: any.Cabal ==2.2.0.1,
any.Glob ==0.10.0,
any.HUnit ==1.6.0.0,
any.Only ==0.1,
any.QuickCheck ==2.12.6.1,
QuickCheck +templatehaskell,
any.StateVar ==1.1.1.1,
any.abstract-deque ==0.3,
abstract-deque -usecas,
any.abstract-par ==0.3.3,
any.aeson ==1.4.2.0,
aeson -bytestring-builder -cffi -developer -fast,
any.ansi-terminal ==0.8.2,
ansi-terminal -example,
any.ansi-wl-pprint ==0.6.8.2,
ansi-wl-pprint -example,
any.array ==0.5.2.0,
any.attoparsec ==0.13.2.2,
attoparsec -developer,
any.base ==4.11.1.0,
any.base-compat ==0.10.5,
any.base-compat-batteries ==0.10.5,
any.base-orphans ==0.8,
any.binary ==0.8.5.1,
any.bytestring ==0.10.8.2,
any.cabal-doctest ==1.0.6,
any.call-stack ==0.1.0,
any.case-insensitive ==1.2.0.11,
any.cassava ==0.5.1.0,
cassava -bytestring--lt-0_10_4,
any.cereal ==0.5.7.0,
cereal -bytestring-builder,
any.clock ==0.7.2,
clock -llvm,
any.code-page ==0.2,
any.colour ==2.3.4,
any.containers ==0.5.11.0,
any.contravariant ==1.5,
contravariant -safe +semigroups +statevar +tagged,
copar -release,
any.criterion ==1.5.3.0,
criterion -embed-data-files -fast,
any.criterion-measurement ==0.1.1.0,
criterion-measurement -fast,
any.data-default-class ==0.1.2.0,
any.deepseq ==1.4.3.0,
any.dense-linear-algebra ==0.1.0.0,
any.deriving-compat ==0.5.2,
deriving-compat +base-4-9 +new-functor-classes +template-haskell-2-11,
any.directory ==1.3.1.5,
any.dlist ==0.8.0.5,
any.doctest ==0.16.0.1,
any.erf ==2.0.0.0,
any.exceptions ==0.10.0,
any.extra ==1.6.14,
any.filepath ==1.4.2,
any.ghc ==8.4.4,
any.ghc-boot ==8.4.4,
any.ghc-boot-th ==8.4.4,
any.ghc-paths ==0.1.0.9,
any.ghc-prim ==0.5.2.0,
any.ghci ==8.4.4,
any.happy ==1.19.9,
happy +small_base,
any.hashable ==1.2.7.0,
hashable -examples +integer-gmp +sse2 -sse41,
any.haskell-lexer ==1.0.2,
any.hpc ==0.6.0.3,
any.hsc2hs ==0.68.3,
hsc2hs -in-ghc-tree,
any.hspec ==2.6.0,
any.hspec-core ==2.6.0,
any.hspec-discover ==2.6.0,
any.hspec-expectations ==0.8.2,
any.hspec-megaparsec ==2.0.0,
hspec-megaparsec -dev,
any.ieee754 ==0.8.0,
any.integer-gmp ==1.0.2.0,
any.integer-logarithms ==1.0.2.2,
integer-logarithms -check-bounds +integer-gmp,
any.js-flot ==0.8.3,
any.js-jquery ==3.3.1,
any.json ==0.9.3,
json -generic -mapdict -parsec -pretty +split-base,
any.math-functions ==0.3.1.0,
math-functions -system-expm1,
any.megaparsec ==7.0.4,
megaparsec -dev,
any.microlens ==0.4.10,
any.microlens-ghc ==0.4.10,
any.microlens-mtl ==0.1.11.1,
any.microlens-platform ==0.3.11,
any.microlens-th ==0.4.2.3,
microlens-th +inlining,
any.microstache ==1.0.1.1,
any.monad-par ==0.3.4.8,
monad-par -chaselev -newgeneric,
any.monad-par-extras ==0.3.3,
any.mtl ==2.2.2,
any.mwc-random ==0.14.0.0,
any.optparse-applicative ==0.14.3.0,
any.parallel ==3.2.2.0,
any.parsec ==3.1.13.0,
any.parser-combinators ==1.0.0,
parser-combinators -dev,
any.pretty ==1.1.3.6,
any.pretty-show ==1.9.5,
any.prettyprinter ==1.2.1,
prettyprinter -buildreadme,
any.prettyprinter-ansi-terminal ==1.1.1.2,
any.prettyprinter-convert-ansi-wl-pprint ==1.1,
any.primitive ==0.6.4.0,
any.process ==1.6.3.0,
any.quickcheck-io ==0.2.0,
any.random ==1.1,
any.rts ==1.0,
any.scientific ==0.3.6.2,
scientific -bytestring-builder -integer-simple,
any.setenv ==0.1.1.3,
any.statistics ==0.15.0.0,
any.stm ==2.4.5.1,
any.syb ==0.7,
any.tagged ==0.8.6,
tagged +deepseq +transformers,
any.template-haskell ==2.13.0.0,
any.terminfo ==0.4.1.1,
any.text ==1.2.3.1,
any.text-short ==0.1.2,
text-short -asserts,
any.tf-random ==0.5,
any.th-abstraction ==0.2.10.0,
any.time ==1.8.0.2,
any.time-locale-compat ==0.1.1.5,
time-locale-compat -old-locale,
any.transformers ==0.5.5.0,
any.transformers-compat ==0.6.2,
transformers-compat -five +five-three -four +generic-deriving +mtl -three -two,
any.unix ==2.7.2.2,
any.unordered-containers ==0.2.9.0,
unordered-containers -debug,
any.uuid-types ==1.0.3,
any.vector ==0.12.0.2,
vector +boundschecks -internalchecks -unsafechecks -wall,
any.vector-algorithms ==0.8.0.1,
vector-algorithms +bench +boundschecks -internalchecks -llvm +properties -unsafechecks,
any.vector-binary-instances ==0.2.5.1,
any.vector-th-unbox ==0.2.1.6
#!/usr/bin/env python
import sys
import json
import subprocess
import os
import re
import numpy as np
import scipy.stats as st
import argparse
samples = 10
def usage(msg):
print("Usage: %s %s" % (sys.argv[0], msg))
sys.exit(1)
def filename(ext, n, m, i, f):
if f is None:
return "bench/dfa_%d_%d_%d.%s" % (n, m, i, ext)
else:
return "bench/dfa_%d_%d_%d_f%d.%s" % (n, m, i, f, ext)
def coalg_file(n, m, i, f):
return filename("coalgebra", n, m, i, f)
def valmari_file(n, m, i, f):
return filename("valmari", n, m, i, f)
def dot_file(n, m, i, f):