mirror of https://github.com/logseq/logseq
Merge branch 'adamschmideg-util-to-cljc' into master
commit
36016a2dc7
|
@ -1,13 +0,0 @@
|
|||
(ns frontend.util)
|
||||
|
||||
;; Copied from https://github.com/tonsky/datascript-todo
|
||||
(defmacro profile [k & body]
|
||||
`(if goog.DEBUG
|
||||
(let [k# ~k]
|
||||
(.time js/console k#)
|
||||
(let [res# (do ~@body)]
|
||||
(.timeEnd js/console k#)
|
||||
res#))
|
||||
(do ~@body)))
|
||||
|
||||
;; TODO: profile and profileEnd
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue