Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pierre Donat-Bouillud
audio-adaptive-scheduling
Commits
c035e468
Commit
c035e468
authored
Mar 15, 2019
by
Pierre Donat-Bouillud
Browse files
Collect more data on runs
parent
1cd7b4a8
Pipeline
#798
passed with stage
in 3 minutes and 31 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Cargo.lock
View file @
c035e468
...
...
@@ -24,7 +24,7 @@ name = "atty"
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -37,8 +37,8 @@ dependencies = [
"criterion 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)",
"crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)",
"itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.
2
.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.
3
.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"pest 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"pest_derive 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"petgraph 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -94,7 +94,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "cfg-if"
version = "0.1.
6
"
version = "0.1.
7
"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
...
...
@@ -130,15 +130,15 @@ dependencies = [
"criterion-plot 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
"csv 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
"itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.
2
.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.
3
.0 (registry+https://github.com/rust-lang/crates.io-index)",
"num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_os 0.1.
2
(registry+https://github.com/rust-lang/crates.io-index)",
"rand_os 0.1.
3
(registry+https://github.com/rust-lang/crates.io-index)",
"rand_xoshiro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rayon 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.8
8
(registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.8
8
(registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.3
8
(registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.8
9
(registry+https://github.com/rust-lang/crates.io-index)",
"serde_derive 1.0.8
9
(registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.3
9
(registry+https://github.com/rust-lang/crates.io-index)",
"tinytemplate 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
"walkdir 2.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -177,9 +177,9 @@ version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)",
"cfg-if 0.1.
6
(registry+https://github.com/rust-lang/crates.io-index)",
"cfg-if 0.1.
7
(registry+https://github.com/rust-lang/crates.io-index)",
"crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.
2
.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.
3
.0 (registry+https://github.com/rust-lang/crates.io-index)",
"memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)",
"scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -190,7 +190,7 @@ name = "crossbeam-utils"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cfg-if 0.1.
6
(registry+https://github.com/rust-lang/crates.io-index)",
"cfg-if 0.1.
7
(registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
...
...
@@ -198,8 +198,8 @@ name = "crossbeam-utils"
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cfg-if 0.1.
6
(registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.
2
.0 (registry+https://github.com/rust-lang/crates.io-index)",
"cfg-if 0.1.
7
(registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.
3
.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
...
...
@@ -208,7 +208,7 @@ version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"csv-core 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.8
8
(registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.8
9
(registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
...
...
@@ -252,7 +252,7 @@ name = "gag"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"tempfile 3.0.7 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -279,12 +279,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "lazy_static"
version = "1.
2
.0"
version = "1.
3
.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "libc"
version = "0.2.
49
"
version = "0.2.
50
"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
...
...
@@ -297,7 +297,7 @@ name = "memchr"
version = "2.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
...
...
@@ -355,7 +355,7 @@ name = "num_cpus"
version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
...
...
@@ -389,7 +389,7 @@ dependencies = [
"pest_meta 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.15.2
6
(registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.15.2
9
(registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
...
...
@@ -422,7 +422,7 @@ version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"num 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)",
"pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -449,13 +449,13 @@ version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_jitter 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_os 0.1.
2
(registry+https://github.com/rust-lang/crates.io-index)",
"rand_os 0.1.
3
(registry+https://github.com/rust-lang/crates.io-index)",
"rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
"rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -504,19 +504,19 @@ name = "rand_jitter"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "rand_os"
version = "0.1.
2
"
version = "0.1.
3
"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
"fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -564,8 +564,8 @@ version = "1.4.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.
2
.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"lazy_static 1.
3
.0 (registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -629,27 +629,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "serde"
version = "1.0.8
8
"
version = "1.0.8
9
"
source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "serde_derive"
version = "1.0.8
8
"
version = "1.0.8
9
"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
"quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.15.2
6
(registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.15.2
9
(registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "serde_json"
version = "1.0.3
8
"
version = "1.0.3
9
"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)",
"ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.8
8
(registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.8
9
(registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
...
...
@@ -675,7 +675,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
[[package]]
name = "syn"
version = "0.15.2
6
"
version = "0.15.2
9
"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -688,8 +688,8 @@ name = "tempfile"
version = "3.0.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"cfg-if 0.1.
6
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"cfg-if 0.1.
7
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
"redox_syscall 0.1.51 (registry+https://github.com/rust-lang/crates.io-index)",
"remove_dir_all 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
...
...
@@ -706,7 +706,7 @@ name = "termion"
version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"redox_syscall 0.1.51 (registry+https://github.com/rust-lang/crates.io-index)",
"redox_termios 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -724,7 +724,7 @@ name = "time"
version = "0.1.42"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)",
"libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)",
"redox_syscall 0.1.51 (registry+https://github.com/rust-lang/crates.io-index)",
"winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)",
]
...
...
@@ -734,8 +734,8 @@ name = "tinytemplate"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
dependencies = [
"serde 1.0.8
8
(registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.3
8
(registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.8
9
(registry+https://github.com/rust-lang/crates.io-index)",
"serde_json 1.0.3
9
(registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
...
...
@@ -813,7 +813,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum byte-tools 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "560c32574a12a89ecd91f5e742165893f86e3ab98d21f8ea548658eb9eef5f40"
"checksum byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a019b10a2a7cdeb292db131fc8113e57ea2a908f6e7894b0c3c671893b65dbeb"
"checksum cast 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "926013f2860c46252efceabb19f4a6b308197505082c609025aa6706c011d427"
"checksum cfg-if 0.1.
6
(registry+https://github.com/rust-lang/crates.io-index)" = "
082bb9b28e00d3c9d39cc03e64ce4cea0f1bb9b3fde493f0cbc008472d22bd
f4"
"checksum cfg-if 0.1.
7
(registry+https://github.com/rust-lang/crates.io-index)" = "
11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1
f4"
"checksum clap 2.32.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b957d88f4b6a63b9d70d5f454ac8011819c6efa7727858f458ab71c756ce2d3e"
"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
"checksum criterion 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)" = "1c6e5ee5b9652d4f851418c448af105642e1f99e9a2741a8ff45c0d2c911b1e0"
...
...
@@ -834,8 +834,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum generic-array 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ef25c5683767570c2bbd7deba372926a55eaae9982d7726ee2a1050239d45b9d"
"checksum itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5b8467d9c1cebe26feb08c640139247fac215782d35371ade9a2136ed6085358"
"checksum itoa 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1306f3464951f30e30d12373d31c79fbd52d236e5e896fd92f96ec7babbbe60b"
"checksum lazy_static 1.
2
.0 (registry+https://github.com/rust-lang/crates.io-index)" = "
a374c89b9db55895453a74c1e38861d9deec0b01b405a82516e9d5de4820de
a1"
"checksum libc 0.2.
49
(registry+https://github.com/rust-lang/crates.io-index)" = "
413f3dfc802c5dc91dc570b05125b6cda9855edfaa9825c9849807876376e70e
"
"checksum lazy_static 1.
3
.0 (registry+https://github.com/rust-lang/crates.io-index)" = "
bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604
a1
4
"
"checksum libc 0.2.
50
(registry+https://github.com/rust-lang/crates.io-index)" = "
aab692d7759f5cd8c859e169db98ae5b52c924add2af5fbbca11d12fefb567c1
"
"checksum maplit 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "08cbb6b4fef96b6d77bfc40ec491b1690c779e77b05cd9f07f787ed376fd4c43"
"checksum memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2efc7bc57c883d4a4d6e3246905283d8dae951bb3bd32f49d6ef297f546e1c39"
"checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3"
...
...
@@ -863,7 +863,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4"
"checksum rand_isaac 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
"checksum rand_jitter 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b9ea758282efe12823e0d952ddb269d2e1897227e464919a554f2a03ef1b832"
"checksum rand_os 0.1.
2
(registry+https://github.com/rust-lang/crates.io-index)" = "b7
c690732391ae0abafced5015ffb53656abfaec61b342290e5eb56b286a679d
"
"checksum rand_os 0.1.
3
(registry+https://github.com/rust-lang/crates.io-index)" = "
7
b7
5f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071
"
"checksum rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44"
"checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c"
"checksum rand_xoshiro 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "03b418169fb9c46533f326efd6eed2576699c44ca92d3052a066214a8d828929"
...
...
@@ -877,13 +877,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
"checksum ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7"
"checksum same-file 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8f20c4be53a8a1ff4c1f1b2bd14570d2f634628709752f0702ecdd2b3f9a5267"
"checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
"checksum serde 1.0.8
8
(registry+https://github.com/rust-lang/crates.io-index)" = "9
f301d728f2b94c9a7691c90f07b0b4e8a4517181d9461be94c04bddeb4bd85
0"
"checksum serde_derive 1.0.8
8
(registry+https://github.com/rust-lang/crates.io-index)" = "b
eed18e6f5175aef3ba670e57c60ef3b1b74d250d962a26604bff4c80e970dd4
"
"checksum serde_json 1.0.3
8
(registry+https://github.com/rust-lang/crates.io-index)" = "
27dce848e7467aa0e2fcaf0a413641499c0b745452aaca1194d24dedde9e13c9
"
"checksum serde 1.0.8
9
(registry+https://github.com/rust-lang/crates.io-index)" = "9
2514fb95f900c9b5126e32d020f5c6d40564c27a5ea6d1d7d9f157a9662356
0"
"checksum serde_derive 1.0.8
9
(registry+https://github.com/rust-lang/crates.io-index)" = "b
b6eabf4b5914e88e24eea240bb7c9f9a2cbc1bbbe8d961d381975ec3c6b806c
"
"checksum serde_json 1.0.3
9
(registry+https://github.com/rust-lang/crates.io-index)" = "
5a23aa71d4a4d43fdbfaac00eff68ba8a06a51759a89ac3304323e800c4dd40d
"
"checksum sha-1 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "51b9d1f3b5de8a167ab06834a7c883bd197f2191e1dda1a22d9ccfeedbf9aded"
"checksum smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c4488ae950c49d403731982257768f48fada354a5203fe81f9bb6f43ca9002be"
"checksum strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550"
"checksum syn 0.15.2
6
(registry+https://github.com/rust-lang/crates.io-index)" = "
f92e629aa1d9c827b2bb8297046c1ccffc57c99b947a680d3ccff1f136a3bee9
"
"checksum syn 0.15.2
9
(registry+https://github.com/rust-lang/crates.io-index)" = "
1825685f977249735d510a242a6727b46efe914bb67e38d30c071b1b72b1d5c2
"
"checksum tempfile 3.0.7 (registry+https://github.com/rust-lang/crates.io-index)" = "b86c784c88d98c801132806dadd3819ed29d8600836c4088e855cdf3e178ed8a"
"checksum termbox-sys 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "afbf597ba2137c0f99b2675988701dc1cd70c2aaa213002a133b08e08fbf42ee"
"checksum termion 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096"
...
...
pipeline.py
View file @
c035e468
...
...
@@ -27,7 +27,6 @@ from operator import itemgetter
from
scipy
import
stats
import
bisect
parser
=
argparse
.
ArgumentParser
(
description
=
"Generate graphs, execute them, and then evaluate their quality"
,
\
epilog
=
"Please indicate in a pipeline.json file where the process thqt executes graphs is located."
)
group
=
parser
.
add_mutually_exclusive_group
(
required
=
True
)
...
...
@@ -36,6 +35,8 @@ group.add_argument("-n", "--nodes", help="Explore all graphs of size nodes", typ
parser
.
add_argument
(
"-a"
,
"--all"
,
help
=
"Explore all sizes up to the one precised by --nodes"
,
action
=
"store_true"
)
parser
.
add_argument
(
"-d"
,
"--draw"
,
help
=
"Draw graph of quality and cost."
,
action
=
"store_true"
)
parser
.
add_argument
(
"--only-draw"
,
help
=
"Only draws graph"
,
action
=
"store_true"
)
parser
.
add_argument
(
"-r"
,
"--random"
,
help
=
"Randomly generates the graphs"
,
action
=
"store_true"
)
parser
.
add_argument
(
"--no-error"
,
help
=
"Continue in spite of errors"
,
action
=
"store_true"
)
parser
.
add_argument
(
"--dir"
,
help
=
"Directory where to process"
)
args
=
parser
.
parse_args
()
...
...
@@ -140,12 +141,17 @@ class GraphResults:
def
__repr__
(
self
):
return
"{}: {}, {}"
.
format
(
self
.
name
,
self
.
costs
,
self
.
quality
)
def
process_all_graphs
(
nb_nodes
,
dirname
):
def
process_all_graphs
(
nb_nodes
,
dirname
,
random
=
False
):
"""Process on all weakly connected Dags up to nb_nodes"""
tqdm
.
write
(
"Enumerating weakily DAGs up to "
+
str
(
nb_nodes
)
+
" nodes with result in "
+
dirname
)
#./main.native -dewx -n 5 --node-file ../nodes.ag
subprocess
.
run
([
graph_enum
,
"-dewxr"
,
"-n"
,
str
(
nb_nodes
),
"--node-file="
+
nodes_dic
],
check
=
True
)
command
=
[
graph_enum
]
if
random
:
command
.
extend
([
"-l"
,
"--edge-prob"
,
"0.3"
])
command
.
extend
([
"-dewxr"
,
"-n"
,
str
(
nb_nodes
),
"--node-file="
+
nodes_dic
])
subprocess
.
run
(
command
,
check
=
True
)
nb_errors
=
0
results
=
{}
tqdm
.
write
(
"Executing graphs"
)
#Group them by non-degraded graphs
...
...
@@ -154,89 +160,97 @@ def process_all_graphs(nb_nodes, dirname):
prefix
=
non_degraded_graph
.
rsplit
(
"-"
,
maxsplit
=
1
)[
0
]
tqdm
.
write
(
prefix
)
result_graph
=
[]
for
graph
in
tqdm
(
sorted
(
glob
.
iglob
(
prefix
+
"*.ag"
))):
basename
,
_
=
os
.
path
.
splitext
(
graph
)
result
=
GraphResults
(
basename
)
costs
=
execute_graph
(
graph
)
result
.
costs
=
costs
result_graph
.
append
(
result
)
result_dict
=
{}
nb_degraded_graphs
=
len
(
result_graph
)
result_dict
[
"NbDegradedGraphs"
]
=
nb_degraded_graphs
# We also want to get the following measures:
# - are the worst/best graphs in terms of costs and quality the same in
# the theoretical models and in the experiments. How close are they in both vectors? (in inversions? In position distances?)
# - are costs and qualities correlated? In the experimental model first. And in the theoretical one? (We could even prove it)
# - are all the degraded graphs faster than the non-degraded one? And at least one? How many? Which percentage?
# Shape questions:
# - DONE how many degraded graphs in average for one graph?
# - how many resamplers have been inserted? Downsamplers? Upsamplers?
# TODO later: try to degrade in same order as heuristics and see if it correlates with the order in quality and in cost
# TODO: case of a source => use a real audio file? Or generate a sin wave? Or just noise? Or don't generate sources here?
# Because for now, sources just output a 0 signal, so we get the same quality for each version and
# it does not give an useful ranking for the measured quality.
# TODO: apply merge operation for resampler (the one that inserts a mixer and then a resampler instead of several resamplers)
# Meaningless to compute rank correlation on a vector of size 1
if
nb_degraded_graphs
>
0
:
# Get audio files
audiofiles
=
glob
.
glob
(
prefix
+
"*.wav"
)
qualities
=
compare_audio_files
(
audiofiles
)
# For the correlation, we want the graphs in increasing rank
result_graph
.
sort
(
key
=
lambda
res
:
int
(
res
.
name
.
rsplit
(
"-"
,
maxsplit
=
1
)[
1
]))
# Update results
for
result
in
result_graph
:
#If we've not computed a quality for it, it is the non-degraded graph
result
.
quality
=
qualities
.
get
(
result
.
name
,
1.0
)
costs_mes
=
[]
qualities_mes
=
[]
for
result
in
result_graph
:
cost
,
_
=
result
.
costs
costs_mes
.
append
(
cost
)
qualities_mes
.
append
(
result
.
quality
)
# We should get them in the same graph order as in the measured one (non-degraded first)
csvname
=
prefix
.
rsplit
(
"-"
,
maxsplit
=
1
)[
0
]
+
"-theo.csv"
qualities_th
,
costs_th
=
load_csv
(
csvname
)
# Correlations
kendalltau
=
GraphResults
(
prefix
)
kendalltau
.
costs
=
stats
.
kendalltau
(
costs_mes
,
costs_th
,
nan_policy
=
'raise'
)
kendalltau
.
quality
=
stats
.
kendalltau
(
qualities_mes
,
qualities_th
,
nan_policy
=
'raise'
)
spearmanr
=
GraphResults
(
prefix
)
spearmanr
.
costs
=
stats
.
spearmanr
(
costs_mes
,
costs_th
,
nan_policy
=
'raise'
)
spearmanr
.
quality
=
stats
.
spearmanr
(
qualities_mes
,
qualities_th
,
nan_policy
=
'raise'
)
print
(
kendalltau
.
name
,
" Kendal's tau: cost="
,
kendalltau
.
costs
,
" and quality="
,
kendalltau
.
quality
)
print
(
spearmanr
.
name
,
" Spearman's r: cost="
,
spearmanr
.
costs
,
" and quality="
,
spearmanr
.
quality
)
result_dict
[
"SpearmanR"
]
=
spearmanr
result_dict
[
"KendallTau"
]
=
kendalltau
# Speed increase? How many graphs are quicker than the non-degraded one
increasing_costs_mes
=
list
(
sorted
(
result_graph
,
key
=
lambda
res
:
res
.
costs
))
quicker
=
0
while
quicker
<
len
(
increasing_costs_mes
):
if
int
(
increasing_costs_mes
[
quicker
].
name
.
rsplit
(
"-"
,
maxsplit
=
1
)[
1
])
==
0
:
break
quicker
=
quicker
+
1
result_dict
[
"QuickerMes"
]
=
quicker
results
[
prefix
]
=
result_dict
try
:
for
graph
in
tqdm
(
sorted
(
glob
.
iglob
(
prefix
+
"*.ag"
))):
basename
,
_
=
os
.
path
.
splitext
(
graph
)
result
=
GraphResults
(
basename
)
costs
=
execute_graph
(
graph
)
result
.
costs
=
costs
result_graph
.
append
(
result
)
except
subprocess
.
CalledProcessError
as
err
:
if
args
.
no_error
:
print
(
"Error executing graph: {0}"
.
format
(
err
))
nb_errors
=
nb_errors
+
1
else
:
raise
err
else
:
result_dict
=
{}
nb_degraded_graphs
=
len
(
result_graph
)
result_dict
[
"NbDegradedGraphs"
]
=
nb_degraded_graphs
# We also want to get the following measures:
# - are the worst/best graphs in terms of costs and quality the same in
# the theoretical models and in the experiments. How close are they in both vectors? (in inversions? In position distances?)
# - are costs and qualities correlated? In the experimental model first. And in the theoretical one? (We could even prove it)
# - are all the degraded graphs faster than the non-degraded one? And at least one? How many? Which percentage?
# Shape questions:
# - DONE how many degraded graphs in average for one graph?
# - how many resamplers have been inserted? Downsamplers? Upsamplers?
# TODO later: try to degrade in same order as heuristics and see if it correlates with the order in quality and in cost
# TODO: case of a source => use a real audio file? Or generate a sin wave? Or just noise? Or don't generate sources here?
# Because for now, sources just output a 0 signal, so we get the same quality for each version and
# it does not give an useful ranking for the measured quality.
# TODO: apply merge operation for resampler (the one that inserts a mixer and then a resampler instead of several resamplers)
# Meaningless to compute rank correlation on a vector of size 1
if
nb_degraded_graphs
>
0
:
# Get audio files
audiofiles
=
glob
.
glob
(
prefix
+
"*.wav"
)
qualities
=
compare_audio_files
(
audiofiles
)
# For the correlation, we want the graphs in increasing rank
result_graph
.
sort
(
key
=
lambda
res
:
int
(
res
.
name
.
rsplit
(
"-"
,
maxsplit
=
1
)[
1
]))
# Update results
for
result
in
result_graph
:
#If we've not computed a quality for it, it is the non-degraded graph
result
.
quality
=
qualities
.
get
(
result
.
name
,
1.0
)
costs_mes
=
[]
qualities_mes
=
[]
for
result
in
result_graph
:
cost
,
_
=
result
.
costs
costs_mes
.
append
(
cost
)
qualities_mes
.
append
(
result
.
quality
)
# We should get them in the same graph order as in the measured one (non-degraded first)
csvname
=
prefix
.
rsplit
(
"-"
,
maxsplit
=
1
)[
0
]
+
"-theo.csv"
qualities_th
,
costs_th
=
load_csv
(
csvname
)
# Correlations
kendalltau
=
GraphResults
(
prefix
)
kendalltau
.
costs
=
stats
.
kendalltau
(
costs_mes
,
costs_th
,
nan_policy
=
'raise'
)
kendalltau
.
quality
=
stats
.
kendalltau
(
qualities_mes
,
qualities_th
,
nan_policy
=
'raise'
)
spearmanr
=
GraphResults
(
prefix
)
spearmanr
.
costs
=
stats
.
spearmanr
(
costs_mes
,
costs_th
,
nan_policy
=
'raise'
)
spearmanr
.
quality
=
stats
.
spearmanr
(
qualities_mes
,
qualities_th
,
nan_policy
=
'raise'
)
print
(
kendalltau
.
name
,
" Kendal's tau: cost="
,
kendalltau
.
costs
,
" and quality="
,
kendalltau
.
quality
)
print
(
spearmanr
.
name
,
" Spearman's r: cost="
,
spearmanr
.
costs
,
" and quality="
,
spearmanr
.
quality
)
result_dict
[
"SpearmanR"
]
=
spearmanr
result_dict
[
"KendallTau"
]
=
kendalltau
# Speed increase? How many graphs are quicker than the non-degraded one
increasing_costs_mes
=
list
(
sorted
(
result_graph
,
key
=
lambda
res
:
res
.
costs
))
quicker
=
0
while
quicker
<
len
(
increasing_costs_mes
):
if
int
(
increasing_costs_mes
[
quicker
].
name
.
rsplit
(
"-"
,
maxsplit
=
1
)[
1
])
==
0
:
break
quicker
=
quicker
+
1
result_dict
[
"QuickerMes"
]
=
quicker
results
[
prefix
]
=
result_dict
# We remove the audio files here as they can take a log of space
audiofiles
=
glob
.
glob
(
prefix
+
"*.wav"
)
for
audiofile
in
audiofiles
:
os
.
remove
(
audiofile
)
print
(
nb_errors
,
" graphs were discarded due to execution errors"
)
return
results
...
...
@@ -436,7 +450,7 @@ elif args.nodes:
spearmanr_costs_rhos
=
[]
spearmanr_qualities_rhos
=
[]
if
not
args
.
only_draw
:
results
=
process_all_graphs
(
args
.
nodes
,
dirname
)
results
=
process_all_graphs
(
args
.
nodes
,
dirname
,
args
.
random
)
for
result
in
tqdm
(
results
.
values
()):
kendaltau
=
result
[
"KendallTau"
]
spearmanr
=
result
[
"SpearmanR"
]
...
...
@@ -466,11 +480,11 @@ elif args.nodes:
# f_kd_cost = fisher_mean(kendalltau_costs_rhos)
# f_kd_quality = fisher_mean(kendalltau_qualities_rhos)
#
f_sr_cost = fisher_mean(spearmanr_costs_rhos)
#
f_sr_quality = fisher_mean(spearmanr_qualities_rhos)
#
print("Correlations: ")
#
print("Cost: ",
f_kd_cost, " (kendall's tau) ; ",
f_sr_cost, " (spearman's r)")
#
print("Quality: ",
f_kd_quality, " (kendall's tau) ; ",
f_sr_quality, " (spearman's r)")
f_sr_cost
=
fisher_mean
(
spearmanr_costs_rhos
)
f_sr_quality
=
fisher_mean
(
spearmanr_qualities_rhos
)
print
(
"Correlations
(Fisher's transform on Spearman's R)
: "
)
print
(
"Cost: "
,
f_sr_cost
,
" (spearman's r)"
)
print
(
"Quality: "
,
f_sr_quality
,
" (spearman's r)"
)
if
args
.
draw
or
args
.
only_draw
:
fig
,
axes
=
plt
.
subplots
(
2
,
2
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment