Skip to content

Commit

Permalink
submodule imported, no need to call it out
Browse files Browse the repository at this point in the history
uncomment predict phase
  • Loading branch information
spennihana committed Jun 14, 2014
1 parent 1cc2568 commit 69ca75b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion h2o-perf/bench/py/h2oPerf/Alerting.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def _get_test_build_number(self, test_name, full=False):
return bn[0].strip().split('.')[-1]

def _get_test_names(self):
epoch = datetime.datetime.utcfromtimestamp(0)
epoch = datetime.utcfromtimestamp(0)
dt = datetime.now()
dt2 = dt - timedelta(self.order)
reference_time_millis = (dt2 - epoch).total_seconds() * 1000
Expand Down
8 changes: 4 additions & 4 deletions h2o-perf/bench/py/h2oPerf/PerfTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,10 @@ def do_test(self, object):
self.model_process.scrape_phase()
contamination = PerfUtils.run_contaminated(object)

#if self.predict_process:
# self.predict_process.start(self.ip, self.port)
# self.predict_process.block()
# self.predict_process.scrape_phase()
if self.predict_process:
self.predict_process.start(self.ip, self.port)
self.predict_process.block()
self.predict_process.scrape_phase()

self.end_ms = int(round(time.time() * 1000))

Expand Down

0 comments on commit 69ca75b

Please sign in to comment.