You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Posting here as a code snipped rather than a PR as by this stage it's rather hard to create a proper PR since my fork went to far away from the original code due to slow PR merge speed (mostly working on mobile optimizations and performance).
Problems:
The performance of the application could be better, with multiple assistants taking more than 10 seconds to load
This is due to serial execution of multiple select statements (over 10) in the workspace layout)
It is due to serial fetching of images from the storage
It is due to in-memory conversion to base64 which is EXTREMELY expensive.
Suggestions
Update layout.tsx to execute SQL statements in parallel via Promise.all
Get rid of private images and make a bucket public, move away from base64 encoding
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Posting here as a code snipped rather than a PR as by this stage it's rather hard to create a proper PR since my fork went to far away from the original code due to slow PR merge speed (mostly working on mobile optimizations and performance).
Problems:
Suggestions
Final code with some missing pieces here
Beta Was this translation helpful? Give feedback.
All reactions