|
|
|
@ -203,6 +203,7 @@ class MyshixunsController < ApplicationController
|
|
|
|
|
test_cases_time = format("%.3f", (Time.now.to_f - t1.to_f)).to_f
|
|
|
|
|
if record.present?
|
|
|
|
|
consume_time = format("%.3f", (Time.now - record.created_at)).to_f
|
|
|
|
|
uid_logger("11122233334444#{max_mem}, #{sec_key}")
|
|
|
|
|
record.update_attributes!(:consume_time => consume_time, :git_pull => timeCost['pull'] , :create_pod => timeCost['createPod'],
|
|
|
|
|
:pod_execute => timeCost['execute'], :test_cases => test_cases_time, :max_mem => max_mem,
|
|
|
|
|
:brige => timeCost['evaluateAllTime'], :return_back => return_back_time)
|
|
|
|
|