Add a new data set of 500 tasks
This commit is contained in:
parent
2dc56ba47a
commit
f1e158fb4d
3 changed files with 2007 additions and 1 deletions
|
@ -3,7 +3,7 @@ use rust_job_scheduling::algorithm::*;
|
|||
use rust_job_scheduling::data::*;
|
||||
use rust_job_scheduling::Task;
|
||||
|
||||
const TEST_DATA: &[(&str, &[Task])] = &[("10 tasks", T_10)];
|
||||
const TEST_DATA: &[(&str, &[Task])] = &[("10 tasks", T_10), ("500 tasks", T_500)];
|
||||
const TEST_FUNCS: &[(&str, &dyn Fn(&[Task]))] = &[
|
||||
("single thread", &single_thread),
|
||||
("rayon", &rayon),
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
mod t10;
|
||||
mod t500;
|
||||
|
||||
pub use t10::T_10;
|
||||
pub use t500::T_500;
|
||||
|
|
2004
src/data/t500.rs
Normal file
2004
src/data/t500.rs
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue