mirror of
https://github.com/penpot/penpot.git
synced 2025-07-10 20:07:21 +02:00
⚡ Add performance improvements to file thumbnails
Mainly addresing unnecesary object transmission. The new code strips unnecesary data to be transferred from back to front. Additionally it removes some legacy code and simplifies other parts of code.
This commit is contained in:
parent
27c8f883ff
commit
b91c42e186
6 changed files with 72 additions and 118 deletions
|
@ -320,7 +320,7 @@
|
|||
_ (mtx/run! metrics {:id :update-file-changes :inc (count changes)})
|
||||
|
||||
ts (dt/now)
|
||||
file (-> (files/retrieve-data cfg file)
|
||||
file (-> file
|
||||
(update :revn inc)
|
||||
(update :data (fn [data]
|
||||
;; Trace the length of bytes of processed data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue