AR.js is 80% Faster on Chrome r62!

Jerome Etienne
ARjs
Published in
2 min readAug 1, 2017

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!

Comparing time to process a frame on Levono Phab2

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.

AR.js running on Chrome r59 — on lenovo phab2

And now the same frame running on the same hardware but on chrome r62.

AR.js running on chrome r62 — on lenovo phab2

So AR.js just improved by 80% without me doing anything!! Thanks Google :)

Please share if you like it 😜

--

--

Jerome Etienne
ARjs
Editor for

Making WebAR a reality! 8th most active user on github - Write @learningthreejs - Ex @daqri