Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds new patches #9

Merged
merged 8 commits into from
Aug 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions SynthDADynamicDispatch/regression_1.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: "Patch that adds a regression that only affects sorting-based searchers"
include_revisions:
revision_range:
start: 04de0642afe35a42931e03c670b588e8f294dcfc
end: master
path: regression_1.patch
project_name: FeaturePerfCSCollection
shortname: regress_sorting
12 changes: 12 additions & 0 deletions SynthDADynamicDispatch/regression_1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/projects/SynthDADynamicDispatch/main.cpp b/projects/SynthDADynamicDispatch/main.cpp
index 90d60c3..a0b6700 100644
--- a/projects/SynthDADynamicDispatch/main.cpp
+++ b/projects/SynthDADynamicDispatch/main.cpp
@@ -72,6 +72,7 @@ public:

while (Low < High) {
fp_util::sleep_for_millisecs(100);
+ fp_util::sleep_for_millisecs(200);
if (LocalData[Low] + LocalData[High] == TargetSum) {
return {
std::tuple<uint32_t, uint32_t>{LocalData[Low], LocalData[High]}};
8 changes: 8 additions & 0 deletions SynthDARecursion/regression_1.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: "Patch that adds a regression that only affects rec_limit and thereby all configs"
include_revisions:
revision_range:
start: daf81de0738cb861b800c4dae1a805e8dabaa544
end: master
path: regression_1.patch
project_name: FeaturePerfCSCollection
shortname: regress_rec_limit
12 changes: 12 additions & 0 deletions SynthDARecursion/regression_1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/projects/SynthDARecursion/main.cpp b/projects/SynthDARecursion/main.cpp
index 39a1e7c..3c01594 100644
--- a/projects/SynthDARecursion/main.cpp
+++ b/projects/SynthDARecursion/main.cpp
@@ -47,6 +47,7 @@ void Partition(std::vector<std::vector<std::string>> &Result,
Tmp.push_back(SubString);

if (RecLimit > Depth) {
+ std::this_thread::sleep_for(std::chrono::milliseconds(70));
Partition(Result, BaseString, i + 1, Tmp, Depth + 1);
}

8 changes: 8 additions & 0 deletions SynthFeatureHigherOrderInteraction/regression_1.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: "Patch that adds a regression that only affects configs with F1,F2,F3"
include_revisions:
revision_range:
start: daf81de0738cb861b800c4dae1a805e8dabaa544
end: master
path: regression_1.patch
project_name: FeaturePerfCSCollection
shortname: regress_and_f1_f2_f3
12 changes: 12 additions & 0 deletions SynthFeatureHigherOrderInteraction/regression_1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/projects/SynthFeatureHigherOrderInteraction/main.cpp b/projects/SynthFeatureHigherOrderInteraction/main.cpp
index f9b6cd0..449771f 100644
--- a/projects/SynthFeatureHigherOrderInteraction/main.cpp
+++ b/projects/SynthFeatureHigherOrderInteraction/main.cpp
@@ -70,6 +70,7 @@ int main(int argc, char *argv[]) {
fp_util::sleep_for_millisecs(700);

if (F8) {
+ fp_util::sleep_for_millisecs(150);
fp_util::sleep_for_millisecs(800);
}
}
8 changes: 8 additions & 0 deletions SynthFeatureInteraction/regression_1.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: "Patch that adds a regression that only affects configs with F1,F2,F3"
include_revisions:
revision_range:
start: daf81de0738cb861b800c4dae1a805e8dabaa544
end: master
path: regression_1.patch
project_name: FeaturePerfCSCollection
shortname: regress_f1_f2_f3
12 changes: 12 additions & 0 deletions SynthFeatureInteraction/regression_1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/projects/SynthFeatureInteraction/main.cpp b/projects/SynthFeatureInteraction/main.cpp
index 5f5029e..74fef3f 100644
--- a/projects/SynthFeatureInteraction/main.cpp
+++ b/projects/SynthFeatureInteraction/main.cpp
@@ -64,6 +64,7 @@ int main(int argc, char *argv[]) {
fp_util::sleep_for_millisecs(111);

if (F1 && F2 && F3) {
+ fp_util::sleep_for_millisecs(140);
fp_util::sleep_for_millisecs(123);
}

8 changes: 8 additions & 0 deletions SynthOVInsideLoop/regression_1.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: "Patch that adds a regression that only affects verbosity configs"
include_revisions:
revision_range:
start: daf81de0738cb861b800c4dae1a805e8dabaa544
end: master
path: regression_1.patch
project_name: FeaturePerfCSCollection
shortname: regress_verbosity
12 changes: 12 additions & 0 deletions SynthOVInsideLoop/regression_1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/projects/SynthOVInsideLoop/main.cpp b/projects/SynthOVInsideLoop/main.cpp
index fe91e78..30e3125 100644
--- a/projects/SynthOVInsideLoop/main.cpp
+++ b/projects/SynthOVInsideLoop/main.cpp
@@ -29,6 +29,7 @@ std::vector<uint32_t> findMaxLenSubarray(std::vector<uint32_t> DataArray, int S,
for (int j = i; j < DataArray.size(); j++) {
Target += DataArray[j];
if (Verbose) {
+ fp_util::sleep_for_millisecs(120);
std::cout << "CurrentTarget " << Target << '\n';
}

8 changes: 8 additions & 0 deletions SynthSAFlowSensitivity/regression_1.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: "Patch that adds a regression that affects only the recursive fib computation"
include_revisions:
revision_range:
start: 06eac0edb6886a7e487867c8d5629cb2409b54fd
end: master
path: regression_1.patch
project_name: FeaturePerfCSCollection
shortname: regress_rec_fib_onesec
13 changes: 13 additions & 0 deletions SynthSAFlowSensitivity/regression_1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthSAFlowSensitivity/main.cpp b/projects/SynthSAFlowSensitivity/main.cpp
index fdc9778..06c0b2a 100644
--- a/projects/SynthSAFlowSensitivity/main.cpp
+++ b/projects/SynthSAFlowSensitivity/main.cpp
@@ -40,7 +40,7 @@ __attribute__((noinline)) uint64_t compute_fib_rec(unsigned N) {
return 1;
}

- fp_util::sleep_for_millisecs(500);
+ fp_util::sleep_for_millisecs(1500);
return compute_fib_rec(N - 1) + compute_fib_rec(N - 2);
}

8 changes: 8 additions & 0 deletions SynthSAWholeProgram/regression_1.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: "Patch that adds a regression that only affects naiveSearch"
include_revisions:
revision_range:
start: 06eac0edb6886a7e487867c8d5629cb2409b54fd
end: master
path: regression_1.patch
project_name: FeaturePerfCSCollection
shortname: regress_naive_search
13 changes: 13 additions & 0 deletions SynthSAWholeProgram/regression_1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthSAWholeProgram/compute.cpp b/projects/SynthSAWholeProgram/compute.cpp
index a74fc65..a8f80a3 100644
--- a/projects/SynthSAWholeProgram/compute.cpp
+++ b/projects/SynthSAWholeProgram/compute.cpp
@@ -15,7 +15,7 @@ std::vector<uint64_t> naiveSearch(std::string_view Data,
int j;

for (j = 0; j < M; j++) {
- fp_util::sleep_for_millisecs(30);
+ fp_util::sleep_for_millisecs(60);
if (Data[i + j] != Pattern[j]) {
break;
}
8 changes: 8 additions & 0 deletions SynthSAWholeProgram/regression_2.info
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
description: "Patch that adds a regression that only affects librarySearch"
include_revisions:
revision_range:
start: 06eac0edb6886a7e487867c8d5629cb2409b54fd
end: master
path: regression_2.patch
project_name: FeaturePerfCSCollection
shortname: regress_library_search
13 changes: 13 additions & 0 deletions SynthSAWholeProgram/regression_2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/projects/SynthSAWholeProgram/compute.cpp b/projects/SynthSAWholeProgram/compute.cpp
index a74fc65..19494b6 100644
--- a/projects/SynthSAWholeProgram/compute.cpp
+++ b/projects/SynthSAWholeProgram/compute.cpp
@@ -37,7 +37,7 @@ std::vector<uint64_t> librarySearch(std::string_view Data,
while (LastPos != Data.npos) {
LastPos = Data.find(Pattern, LastPos);

- fp_util::sleep_for_millisecs(30);
+ fp_util::sleep_for_millisecs(60);
if (LastPos != Data.npos) {
FoundIdxs.push_back(LastPos);
LastPos++;
Loading