Hacker News new | ask | show | jobs
by mdoms 1943 days ago
Looks very cool and there's a ton of good info here. But the final product is unusably laggy on my Dell XPS 13 i7 - not something I'd be happy to put into production.

Edit - thank you for all the replies, we have now established that different hardware renders at different speeds, quite the discovery.

3 comments

It probably lacks a discrete graphics card. Not much to be done about that for a fundamentally graphics-concerned project; the only thing I can think of for production would be to disable the 3D content when the client lacks discrete graphics (which, I'm not actually sure whether that can be detected)

Edit: Here's something. You could probably hack something up that would check if the vendor name includes AMD or NVIDIA, or something. Might be fragile though https://developer.mozilla.org/en-US/docs/Web/API/WebGLRender...

The demo in the article would still run full speed on several year old integrated graphics. Probably chrome blacklisted his gpu driver and it's doing pure cpu rendering (or else his driver itself is bugged in a way that is killing the performance).
Ah, yeah, it's running smooth on my MBP without switching to discrete
FWIW it’s zippy as hell on my iPhone 11 Pro.
The iPhone/iPad GPU's are actually faster than the Intel MacBooks in my experience. I haven't tried an M1 yet, but hopefully it eliminates this performance gap.
Ran perfectly fine on my Dell Precision with an i7-9850H.
Yes I understand that different hardware renders things at different speeds, thanks for your input? I'm saying that if something runs like shit on my $3,000 laptop I wouldn't be comfortable putting it into production for a user base that likely has, on average, far less.
Runs silky smooth on my 2015 MBP - it’s possibly a system specific issue
I'm saying the only thing running like shit is your overpriced laptop you goon
Same here. Probably the turbo encabulator on that XPS.