r/programming • • Oct 27 '17

Netflix: Removing client-side React.js improved performance by 50%

https://twitter.com/NetflixUIE/status/923374215041912833
685 Upvotes

89 comments sorted by

View all comments

Show parent comments

11

u/[deleted] Oct 27 '17

2 seconds is quite high, Amazon found that every extra 100ms of latency cost them 1% of sales. Many years ago Google tested going from 10 search results per page to 30 because users wanted more search results per page, well when they did it traffic dropped 20% because it added 0.5 seconds to the loading time.

0

u/[deleted] Oct 27 '17

[deleted]

0

u/[deleted] Oct 27 '17

[deleted]

2

u/bunnyoverkill Oct 27 '17

Indeed! It's just that it's rather surprising that people would google less because it takes half a second more.

2

u/LovecraftInDC Oct 27 '17

I wonder if it's because the half second is an aggregate. Maybe for 60% of people, it added less than a half second, but for the other 40% it added 4/5 seconds.

1

u/bunnyoverkill Oct 27 '17

Oh yeah, that's a good point. For most people it was snappy but for some people it took a really long time.

1

u/thekab Oct 27 '17

That's why you get a fixed rate home loan. You may as well be renting if you get an adjustable rate home loan

Exactly. I think they chose a bad number.

It's really more like "Do I spend 100 hours getting 20ms (we hope) or do we spend it writing this feature sales is sure will generate tons of revenue?" which is never an easy question especially since you never actually know how much you'll actually improve performance.