1. AC Question's Avatar
    I bought a new tablet (Asus Memo Pad 10, Android 4.2). One of the first things I did was try to run a small HTML5 canvas game that i wrote. I saw that the frame rate was very bad (3 fps), which is very weird, because my mother has the same talet and on hers it runs with 30 fps. I also got another tablet which is about the same speed and this one also runs at ~30 fps, same for my phone, which should also be pretty much the same performance, and also runf fine on that. This happens for all browsers, i tried chrome, FF and Opera, all have 3 or 4 fps. Apart from that, the tablet seems to be fine, i tried other games, for example Heartstone, which runs fine, also I ran a benchmark (pcmark) which gave me an everage result for this tablet. Im really wondering why the performance for my game is so bad. All it does is some basic 2d canvas rendering. No js errors in console. I dont use any libs / frameworks. I use requestAnimationFrame() for rendering. When i use setTimeout() or setInterval() instead, the game suddenly runs at much higher fps, but fails to actually render at that speed, so it still actually looks like 3 fps or so, while the loop runs 50 or 60 times a sec. This also happens when i put the "setTimeout" call at the end of the loop. Another thing to note is: when i check performance with chrome dev tools, it looks like the cpu is like 90% idle, which somehow would explain why the game runs so slow.

    Anyone has an idea why this is happening and what i could do about it ?
    03-04-2016 09:20 AM
  2. itguyjax8430's Avatar
    I bought a new tablet (Asus Memo Pad 10, Android 4.2). One of the first things I did was try to run a small HTML5 canvas game that i wrote. I saw that the frame rate was very bad (3 fps), which is very weird, because my mother has the same talet and on hers it runs with 30 fps. I also got another tablet which is about the same speed and this one also runs at ~30 fps, same for my phone, which should also be pretty much the same performance, and also runf fine on that. This happens for all browsers, i tried chrome, FF and Opera, all have 3 or 4 fps. Apart from that, the tablet seems to be fine, i tried other games, for example Heartstone, which runs fine, also I ran a benchmark (pcmark) which gave me an everage result for this tablet. Im really wondering why the performance for my game is so bad. All it does is some basic 2d canvas rendering. No js errors in console. I dont use any libs / frameworks. I use requestAnimationFrame() for rendering. When i use setTimeout() or setInterval() instead, the game suddenly runs at much higher fps, but fails to actually render at that speed, so it still actually looks like 3 fps or so, while the loop runs 50 or 60 times a sec. This also happens when i put the "setTimeout" call at the end of the loop. Another thing to note is: when i check performance with chrome dev tools, it looks like the cpu is like 90% idle, which somehow would explain why the game runs so slow.

    Anyone has an idea why this is happening and what i could do about it ?
    Welcome to Android Central!

    What are the specs on the tablet? Are they similar to what your phone and the other tablets have?
    03-06-2016 12:46 PM

Similar Threads

  1. Home button not working on Android. It's been fine then...
    By Paisley in forum General Help and How To
    Replies: 5
    Last Post: 06-17-2016, 05:56 PM
  2. Replies: 1
    Last Post: 03-09-2016, 06:43 AM
  3. Alarm or Timer App for Special Purpose
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 03-09-2016, 06:41 AM
  4. I'm sorry Nexus, I cheated on you
    By Zendroid1 in forum Nexus 6P
    Replies: 17
    Last Post: 03-06-2016, 07:51 AM
  5. sd option is greyed out on galaxy s5 phone
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 03-04-2016, 08:59 AM
LINK TO POST COPIED TO CLIPBOARD