Change execution duration to startTime/endTime

This commit is contained in:
Rob Lourens
2021-04-14 17:21:05 -07:00
parent 3e40e14bc4
commit 3e5c20b762
7 changed files with 15 additions and 16 deletions

View File

@@ -1027,7 +1027,6 @@ class NotebookCellExecutionTask extends Disposable {
this._executionOrder = _cell.internalMetadata.executionOrder;
this.mixinMetadata({
runState: extHostTypes.NotebookCellExecutionState.Pending,
lastRunDuration: null,
executionOrder: null
});
}
@@ -1105,7 +1104,7 @@ class NotebookCellExecutionTask extends Disposable {
that.mixinMetadata({
runState: extHostTypes.NotebookCellExecutionState.Idle,
lastRunSuccess: result?.success ?? null,
lastRunDuration: result?.duration ?? null,
runEndTime: result?.endTime ?? null,
});
},