From 40a8f2de34ea8e3ca7a7f30c3f43716cb7cb4271 Mon Sep 17 00:00:00 2001 From: Adam Bem Date: Wed, 7 Jun 2023 13:15:50 +0200 Subject: [PATCH] Changed time to duration in libXML backend --- Backend-libXML/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Backend-libXML/main.py b/Backend-libXML/main.py index e4fefe5..9155395 100644 --- a/Backend-libXML/main.py +++ b/Backend-libXML/main.py @@ -54,7 +54,7 @@ def process_xml(request: request, type: str) -> str: code = 400 finally: exec_time = (time.time_ns() - start) / 10**6 - response_json['time'] = f"{exec_time:.03f}" + response_json['duration'] = f"{exec_time:.03f}" response_json['processor'] = "libxml2 over lxml" return json.dumps(response_json), code