fix(DX): log execution time in ms

This commit is contained in:
Sagar Vora 2025-04-23 22:40:23 +05:30
parent 61b6e566cb
commit e6196672ca

View file

@ -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)