diff --git a/src/Scientist/Journal/PSR3Journal.php b/src/Scientist/Journal/PSR3Journal.php index a5d8965..d09664d 100644 --- a/src/Scientist/Journal/PSR3Journal.php +++ b/src/Scientist/Journal/PSR3Journal.php @@ -73,10 +73,10 @@ public function report(Experiment $experiment, Report $report) $this->config->getIsMatchKey() => $result->isMatch(), $this->config->getStartTimeKey() => $result->getStartTime(), $this->config->getEndTimeKey() => $result->getEndTime(), - $this->config->getTimeKey() => $result->getEndTime(), + $this->config->getTimeKey() => $result->getTime(), $this->config->getStartMemoryKey() => $result->getStartMemory(), $this->config->getEndMemoryKey() => $result->getEndMemory(), - $this->config->getMemoryKey() => $result->getEndMemory() + $this->config->getMemoryKey() => $result->getMemory() ]; if ($this->config->shouldReportValue()) { @@ -109,4 +109,4 @@ public function getReport() { return $this->report; } -} \ No newline at end of file +}