summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-02-08 17:01:40 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-02-08 17:14:01 +0200
commit9de4a1ee520063025a9b2cd592a364e28cdd24dc (patch)
treea17431d0379f61e214c000d7e4b696dc71102f92
parent441a72c04cfc61dfead5cad37202a1da87a44499 (diff)
Add executionTime, apiTime to submit responseHEADmain
-rw-r--r--index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index 271a0ad..23e25f1 100644
--- a/index.ts
+++ b/index.ts
@@ -9,6 +9,8 @@ export namespace RunnerApi {
export namespace SubmitResponse {
export interface Body {
result: string
+ executionTime: number // time running the interpreter
+ apiTime: number // time doing file IO + executionTime
}
}
}