The browser's main thread is expensive
1–10 of 157 posts
Re: The browser's main thread is expensive
#2Re: The browser's main thread is expensive
#3Re: The browser's main thread is expensive
#4Re: The browser's main thread is expensive
#5One thing that I found quite interesting to see is how the behaviour of the "4.000 particles" demo changes between the 5ms rendering and the "everything now" rendering.
Re: The browser's main thread is expensive
#6Yeah, but if your website with, you know, text and stuff, doesn't do any stupid and unnecessary crap, it doesn't matter where the nonexistent unnecessary yet expensive code doesn't run.
But for people who are developing websites that are more than just text, this is an excellently written article and great advice.
It's funny, for mobile app dev it feels like the community are a lot of focused on staying off the main thread, this is the first time I've come across one for webdev.
Re: The browser's main thread is expensive
#7Yeah, but if your website with, you know, text and stuff, doesn't do any stupid and unnecessary crap, it doesn't matter where the nonexistent unnecessary yet expensive code doesn't run.
What's your point? Are you saying all animations and rendering are unnecessary?
Re: The browser's main thread is expensive
#8Yeah, but if your website with, you know, text and stuff, doesn't do any stupid and unnecessary crap, it doesn't matter where the nonexistent unnecessary yet expensive code doesn't run.
Re: The browser's main thread is expensive
#9In the first example: doesn't pushing the button while typing cause the textfield lose focus? What's the point of the typing in the example?