Yess, finally got remote profiling working so I can figure out why my shit is so fucked. I am really using the Chrome inspector to profile my Deno backend code over an SSH tunnel.
Yess, finally got remote profiling working so I can figure out why my shit is so fucked. I am really using the Chrome inspector to profile my Deno backend code over an SSH tunnel.
4 comments
Well, there's the problem. 4 seconds for a single tick.
0
0
6 Oct 2023 at 1:43 | Open on gleasonator.com
Okay, I think I understand what's happening. I render a page of 20 statuses. For each status I query the author as a separate query. This results in 20 additional queries. I need to make my views pure functions, query all the data up-front and pass them in.
God I love this. So glad I finally got this set up. |