summaryrefslogtreecommitdiff
path: root/lib/utils.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils.fnl')
-rw-r--r--lib/utils.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils.fnl b/lib/utils.fnl
index fcc235c..405bf72 100644
--- a/lib/utils.fnl
+++ b/lib/utils.fnl
@@ -5,7 +5,7 @@
(fn measure [what f]
(local start (luna.utf8.now))
(local res (table.pack (f)))
- (print (.. what ": " (/ (- (luna.utf8.now) start) 1e6)))
+ (print (.. what ": " (/ (- (luna.time.now) start) 1e6)))
(values (table.unpack res)))
{: must : measure}