mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
minor update on findmax
This commit is contained in:
parent
137ce31136
commit
cc8d4be719
@ -99,7 +99,6 @@ public class SC_findmax extends SCBaseScenario {
|
||||
capture.stopWindow();
|
||||
journal.record(frameParams,capture.last());
|
||||
stdout.println(capture.last());
|
||||
// stdout.println("SUMMARY:" + journal.last());
|
||||
stdout.println("-".repeat(40));
|
||||
frameParams = planner.nextStep(journal);
|
||||
}
|
||||
|
@ -73,11 +73,6 @@ public class SimFramePlanner {
|
||||
journal.last().params().sample_time_ms()
|
||||
);
|
||||
}
|
||||
// if last result was better than the one before it
|
||||
// increment from settings
|
||||
// else if the new base would be higher than the initial rate_step
|
||||
// rebase
|
||||
// else return null;
|
||||
SimFrame last = journal.last();
|
||||
SimFrame before = journal.beforeLast();
|
||||
if (before.value() < last.value()) { // got a better result, keep on keepin' on
|
||||
|
Loading…
Reference in New Issue
Block a user