Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

194
Visualizações
Low FPS rate on Chrome Androïd with simple Canvas2D Game

I'm currently developping a simple 2D canvas video game and while I was testing performance, I noticed that there is a very disappointing frame rate on Androïd Chrome (about 45fps).

About one out of two frame breaks. And I cannot see what in my call stack is creating the performance issue. As you can see on the performance capture, the task lasts less than 4ms (which is under the 16ms of refreshing)

Screenshot of performance viewer

Zoomed :

enter image description here

And here is the sample code of the game loop... with almost nothing in it (I removed all the game stuff) :

Game.loop = function(){ 
    ctx.setTransform(1,0,0,1,0,0);
    
    ctx.clearRect(0, 0, canvas.width, canvas.height);

        
    requestAnimationFrame(Game.loop);
}
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda