mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
📎 Minor fixes to previous commits.
This commit is contained in:
parent
73042115e0
commit
0c0ab612c0
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
(ns app.common.perf
|
(ns app.common.perf
|
||||||
(:require
|
(:require
|
||||||
|
[app.common.math :as mth]
|
||||||
[app.common.uuid :as uuid]))
|
[app.common.uuid :as uuid]))
|
||||||
|
|
||||||
(defn timestamp []
|
(defn timestamp []
|
||||||
|
@ -25,7 +26,7 @@
|
||||||
"A helper function for perform a unitari benchmark on JS/CLJS. It
|
"A helper function for perform a unitari benchmark on JS/CLJS. It
|
||||||
uses browser native api so it only suitable to be executed in
|
uses browser native api so it only suitable to be executed in
|
||||||
browser."
|
browser."
|
||||||
[& {:keys [f warmup iterations name]
|
[& {:keys [f iterations name]
|
||||||
:or {iterations 10000}}]
|
:or {iterations 10000}}]
|
||||||
(let [end-mark (str name ":end")]
|
(let [end-mark (str name ":end")]
|
||||||
(println "=> benchmarking:" name)
|
(println "=> benchmarking:" name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue