Live data from Hacker News

Gpu.js – GPU Accelerated JavaScript

gpu.rocks

31–40 of 84 posts

Re: Gpu.js – GPU Accelerated JavaScript

#31

A major caveat is, it's still JavaScript so the performance vary according to the browser apart from other variables. Benchmark on iPad Air 2 iOS 10.3.2 is close for both chrome and safari. Safari CPU: 6.110s ±1.9% GPU: 0.487s ±1.0% (12.55 times faster!) Chrome 59 CPU: 4.454s ±51.8% GPU: 0.483s ±0.9% (9.22 times faster!) Project looks promising though, congratulations to the team.

If this example proves anything, it's that the GPU result is the same in both browsers.

Re: Gpu.js – GPU Accelerated JavaScript

#32

A major caveat is, it's still JavaScript so the performance vary according to the browser apart from other variables. Benchmark on iPad Air 2 iOS 10.3.2 is close for both chrome and safari. Safari CPU: 6.110s ±1.9% GPU: 0.487s ±1.0% (12.55 times faster!) Chrome 59 CPU: 4.454s ±51.8% GPU: 0.483s ±0.9% (9.22 times faster!) Project looks promising though, congratulations to the team.

If this example proves anything, it's that the GPU result is the same in both browsers.

Yes, it is. Added the same.

Re: Gpu.js – GPU Accelerated JavaScript

#33

A major caveat is, it's still JavaScript so the performance vary according to the browser apart from other variables. Benchmark on iPad Air 2 iOS 10.3.2 is close for both chrome and safari. Safari CPU: 6.110s ±1.9% GPU: 0.487s ±1.0% (12.55 times faster!) Chrome 59 CPU: 4.454s ±51.8% GPU: 0.483s ±0.9% (9.22 times faster!) Project looks promising though, congratulations to the team.

Notice the ±51.8% in the second benchmark. You probably got unlucky and hit garbage collection, or some other process decided to use the CPU while you were running it.

Re: Gpu.js – GPU Accelerated JavaScript

#34

A major caveat is, it's still JavaScript so the performance vary according to the browser apart from other variables. Benchmark on iPad Air 2 iOS 10.3.2 is close for both chrome and safari. Safari CPU: 6.110s ±1.9% GPU: 0.487s ±1.0% (12.55 times faster!) Chrome 59 CPU: 4.454s ±51.8% GPU: 0.483s ±0.9% (9.22 times faster!) Project looks promising though, congratulations to the team.

Apple does not allow for real Chrome on iOS, so Chrome on iOS is just a wrapper around Safari.

Re: Gpu.js – GPU Accelerated JavaScript

#35

A major caveat is, it's still JavaScript so the performance vary according to the browser apart from other variables. Benchmark on iPad Air 2 iOS 10.3.2 is close for both chrome and safari. Safari CPU: 6.110s ±1.9% GPU: 0.487s ±1.0% (12.55 times faster!) Chrome 59 CPU: 4.454s ±51.8% GPU: 0.483s ±0.9% (9.22 times faster!) Project looks promising though, congratulations to the team.

Apple does not allow for real Chrome on iOS, so Chrome on iOS is just a wrapper around Safari.

Yes this use WKWebview, now that Google has made iOS chromium open source; is there any project trying to integrate blink engine to it? Although of course it cannot be released to Appstore.

Re: Gpu.js – GPU Accelerated JavaScript

#36
post #27
post #26

Earlier quoted context omitted.

I'd think pegging CPU/GPU at 99% would be even more of a turn off than banner ads. Especially on mobile where it'd drain your battery. Interesting thought though. I wonder if Windows or MacOS had some hidden process that did bitcoin mining at ~5% CPU, how much that would be worth worldwide.

Okay, Bill Gates alone is worth more than twice all the bitcoin ever mined. Apple is worth almost 20x that. So, per risk/reward, probably not a great strategy for either company. https://howmuch.net/articles/worlds-money-in-perspective .

Please adjust your equations for time.

Re: Gpu.js – GPU Accelerated JavaScript

#37

Next steps: A computational graph based deep learning system with a Tensorflow like API on Javascript/Node lala-land. https://github.com/tqchen/tinyflow would be a great showcase (and useful) project to port for Gpu.js

Does node.js support webgl now?
Post reply on HN