fix(DX): log execution time in ms
This commit is contained in:
parent
61b6e566cb
commit
e6196672ca
1 changed files with 1 additions and 1 deletions
|
|
@ -297,7 +297,7 @@ class Database:
|
|||
|
||||
if debug:
|
||||
time_end = time()
|
||||
frappe.log(f"Execution time: {time_end - time_start:.2f} sec")
|
||||
frappe.log(f"Execution time: {(time_end - time_start) * 1000:.3f} ms")
|
||||
|
||||
self.log_query(query, query_type, values, debug)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue