Skip to content

Commit 685e825

Browse files
committed
chore: remove prn
1 parent 8d778aa commit 685e825

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/main/frontend/handler/profiler.cljs

+2-6
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
(vswap! *fn-symbol->key->time-sum update-in [fn-sym k] #(+ % elapsed-time)))
2727
r))
2828
arity-n-fns (arity-n-fn 20 f)]
29-
(prn :arity-n-fns arity-n-fns)
3029
(doseq [n arity-ns]
3130
(g/set f (str "cljs$core$IFn$_invoke$arity$" n) (nth arity-n-fns n)))
3231
f))
@@ -35,8 +34,7 @@
3534
[ns munged-name fn-sym original-fn-obj custom-key-fn]
3635
(let [ns-obj (find-ns-obj ns)
3736
profile-fn (get-profile-fn fn-sym original-fn-obj custom-key-fn)]
38-
(g/set ns-obj munged-name profile-fn)
39-
))
37+
(g/set ns-obj munged-name profile-fn)))
4038

4139
(defn register-fn!
4240
"(custom-key-fn args-seq result) return non-nil key"
@@ -82,6 +80,4 @@
8280
;; test multi-arity, variadic fn
8381
(defn test-fn-to-profile
8482
([a b] 1)
85-
([b c d] 2))
86-
87-
)
83+
([b c d] 2)))

0 commit comments

Comments
 (0)