4 ms·
Rendering files megabytes in size is quite bad in a browser. I'm not sure of the reason, but it fires up slowly, and I suspect memory usage is also quite bad.
by rhn_mk1 5y ago
Rendering files megabytes in size is quite bad in a browser. I'm not sure of the reason, but it fires up slowly, and I suspect memory usage is also quite bad.
- thaumasiotes 5y ago> and I suspect memory usage is also quite bad. For a text file? Why?? Wouldn't the worst case be the size of the file?
- rhn_mk1 5y agoThe browser isn't optimized for text files though, but for documents and applications. I've noticed some flickering while scrolling longer pages before, and from that I expect that there's some caching of the rendered content of the page. The text file also gets transformed into a html document with DOM (inspect one in Firefox to see), which likely has its own caching tricks for performance.