DevinR528 / rumatui

WIP Command line Matrix client using matrix-rust-sdk
Apache License 2.0
63 stars 5 forks source link

/sync and initial load slow down? #13

Open DevinR528 opened 4 years ago

DevinR528 commented 4 years ago

I have joined more rooms so this may just be that but it now takes a solid 1-2 minuites to load after logging in.

DevinR528 commented 4 years ago

I'm hoping b34edba4c446abd7eac051dfb6b04a554baf686c has fixed any regressions. The condition for running the markdown_to_terminal function, which is extremely expensive, was wrong and ran the function for every message.

I'm not closing this to remind me that the results of markdown_to_terminal could be cached somehow or some other way to use that function less. (Write our own terminal renderer from matrix html subset)