AR.js is 80% Faster on Chrome r62!
and I did nothing special for it 😄
AR.js is almost twice faster on the most recent chrome. So all of a sudden, you get more resources to do other things. You get smoother AR, you can put larger models… Anything you want!
On my phone, AR.js is 80% faster on chrome r62 (dev) than it is on chrome r59 (stable). It’s all thanks to chrome, I did nothing special for it! I dunno what Google implemented to get that result but I sure like it! 👍
Some Details
I got these numbers using the great performance tool of chrome devtools. It precisely measures the time spent by AR.js to process one frame. It is all happening in a function called ARjs.Context.update().
This time depends mainly of the number of pixels in that frame. On chrome r59, it takes 13.42ms per frame. On chrome r62, it takes 7.42ms for the same frame.
And now the same frame running on the same hardware but on chrome r62.
So AR.js just improved by 80% without me doing anything!! Thanks Google :)
Please share if you like it 😜