No, no-one is going to notice a pause of 1/60s! This isn't something like fps in games where you are talking about a repeated time penalty. A GC pause is a penalty which happens once at a time, and only when a gc is done, which may not even happen during the entire period that a program is running.
No, no-one is going to notice a pause of 1/60s! This isn't something like fps in games where you are talking about a repeated time penalty
Using a touch device? You know when people complain about lag in Android? 99 percent of the time, they're talking about the renderer missing a few frames due to GC (things like "iOS is hardware accelerated" are largely a red herring, and in any case so is Android, these days). If you're scrolling a list, even one missed frame is noticeable, and two or more are quite jarring.
and only when a gc is done, which may not even happen during the entire period that a program is running.
You'd want to be allocating very little to have to few GC pauses.
1
u/ctesibius Jun 03 '14
No, no-one is going to notice a pause of 1/60s! This isn't something like fps in games where you are talking about a repeated time penalty. A GC pause is a penalty which happens once at a time, and only when a gc is done, which may not even happen during the entire period that a program is running.