mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 04:41:40 +02:00
📎 Leave commented useful code that causes some warnings on load
This commit is contained in:
parent
d5e34df364
commit
0a656e9e62
1 changed files with 17 additions and 17 deletions
|
@ -122,23 +122,23 @@
|
||||||
(stop)
|
(stop)
|
||||||
(repl/refresh-all :after 'user/start))
|
(repl/refresh-all :after 'user/start))
|
||||||
|
|
||||||
(defn compression-bench
|
;; (defn compression-bench
|
||||||
[data]
|
;; [data]
|
||||||
(let [humanize (fn [v] (hum/filesize v :binary true :format " %.4f "))
|
;; (let [humanize (fn [v] (hum/filesize v :binary true :format " %.4f "))
|
||||||
v1 (time (humanize (alength (blob/encode data {:version 1}))))
|
;; v1 (time (humanize (alength (blob/encode data {:version 1}))))
|
||||||
v3 (time (humanize (alength (blob/encode data {:version 3}))))
|
;; v3 (time (humanize (alength (blob/encode data {:version 3}))))
|
||||||
v4 (time (humanize (alength (blob/encode data {:version 4}))))
|
;; v4 (time (humanize (alength (blob/encode data {:version 4}))))
|
||||||
v5 (time (humanize (alength (blob/encode data {:version 5}))))
|
;; v5 (time (humanize (alength (blob/encode data {:version 5}))))
|
||||||
v6 (time (humanize (alength (blob/encode data {:version 6}))))
|
;; v6 (time (humanize (alength (blob/encode data {:version 6}))))
|
||||||
]
|
;; ]
|
||||||
(print-table
|
;; (print-table
|
||||||
[{
|
;; [{
|
||||||
:v1 v1
|
;; :v1 v1
|
||||||
:v3 v3
|
;; :v3 v3
|
||||||
:v4 v4
|
;; :v4 v4
|
||||||
:v5 v5
|
;; :v5 v5
|
||||||
:v6 v6
|
;; :v6 v6
|
||||||
}])))
|
;; }])))
|
||||||
|
|
||||||
(defonce debug-tap
|
(defonce debug-tap
|
||||||
(do
|
(do
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue