Topic: e621 and CPU usage

Posted under General

Hello everyone...

Recently I've noticed an odd phenomena in which while navigating though the site, the CPU usage skyrocket in some specific positions of the pages.

Further testing showed that the phenomena presents itself only when the page is scrolled past the tag list, no matter if you stop scrolling or reach the end of the page, CPU usage will be waaaay higher than while the page is at the top (menu bar visible).

Phenomena observed in:
Desktop Win7:
Firefox v 7.0.1
Opera v 11.52
Internet Explorer v 9.0.8112.16421

Mobile Nokia N900:
Maemo Browser
Firefox (Fennec) v 7.0.1
Opera Mobile v 11.50.12

Has anyone else observed this phenomena?

Updated by Aurali

DragonBud said:
Hello everyone...

Recently I've noticed an odd phenomena in which while navigating though the site, the CPU usage skyrocket in some specific positions of the pages.

Further testing showed that the phenomena presents itself only when the page is scrolled past the tag list, no matter if you stop scrolling or reach the end of the page, CPU usage will be waaaay higher than while the page is at the top (menu bar visible).

Phenomena observed in:
Desktop Win7:
Firefox v 7.0.1
Opera v 11.52
Internet Explorer v 9.0.8112.16421

Mobile Nokia N900:
Maemo Browser
Firefox (Fennec) v 7.0.1
Opera Mobile v 11.50.12

Has anyone else observed this phenomena?

Yeah, the faster you scroll, the more images it attempts to load at once.. therefore the more your processor has to work.

Updated by anonymous

Aurali said:
Yeah, the faster you scroll, the more images it attempts to load at once.. therefore the more your processor has to work.

Nops, if you stay still, say at the end of the page, the CPU usage will still be very high...

Updated by anonymous

DragonBud said:
Hello everyone...

Recently I've noticed an odd phenomena in which while navigating though the site, the CPU usage skyrocket in some specific positions of the pages.

Further testing showed that the phenomena presents itself only when the page is scrolled past the tag list, no matter if you stop scrolling or reach the end of the page, CPU usage will be waaaay higher than while the page is at the top (menu bar visible).

Phenomena observed in:
Desktop Win7:
Firefox v 7.0.1
Opera v 11.52
Internet Explorer v 9.0.8112.16421

Mobile Nokia N900:
Maemo Browser
Firefox (Fennec) v 7.0.1
Opera Mobile v 11.50.12

Has anyone else observed this phenomena?

I have noticed some lagging in my browser, though, it hadn't occurred to me that it might be E621, I'll check it out and report back later.

Updated by anonymous

I've noticed this as well, in Windows 7 running Chrome v. 15.0.8 and scrolling just past the tag list.

Updated by anonymous

Char

Former Staff

I can confirm that I'm seeing this issue in both IE9 and Firefox 4, my processor usage spikes to between 15-20 percent after scrolling past the tag list. The issue does NOT occur in Chrome, but then I don't think Chrome has ever truly loaded thumbnails correctly anyways (just loads all thumbnails at once rather than gradually as you scroll down).

It seems like maybe the site code that DOES enable that functionality in Firefox and IE might be what's causing the issue?

Updated by anonymous

Char said:
The issue does NOT occur in Chrome

Maybe my computer just sucks then.

FFS; ignore me.

Updated by anonymous

Char

Former Staff

ExplosiveBlaziken said:
Maybe my computer just sucks then.

FFS; ignore me.

Well I meant that it does not occur in Chrome on my computer. See if you get similar results on your own system using Firefox or IE as you do in Chrome.

Updated by anonymous

I've isolated it to how many images are on the page at once.. you normally have less images at the top of the page... so that makes sense.

Updated by anonymous

Aurali said:
I've isolated it to how many images are on the page at once.. you normally have less images at the top of the page... so that makes sense.

I can see the logic there, but when I load the entire page and return to the top, no cpu usage, things are happy, but when I go past the tag list the CPU high usage comes back, even with the hole page already loaded...

Sorry, for the bad english, I'm a bit tired right now...

Updated by anonymous

Fascinating. I'm running on an iMac with i7.

No noticeable difference in Google Chrome (v 15.0.874.106, or v The Current One).

In Safari (v 5.1.1), there is an increase of about 25% after the ads are no longer visible (NOT the CPU usage goes up to 25% of total, I mean that its 25% higher than the idling, top-of-page usage. So... like 1.25% of total CPU instead of 1%.) After the tag list is no longer visible, it has doubled, and then trebles by the bottom of the page.

Firefox 7.0.1 shows a similar story, though it's only a little over doubled at the bottom of the page, rather than fully tripling.

Opera 11.52 showed no increase past the ads, a 75% increase past the tag list, and no appreciable change after that.

DragonBud is right. It doesn't matter if the images are loaded or not. Scrolling all the way down, then back up, returns the CPU to its previous level.

I see what Aurali is saying. There are ads and other shit at the top of the page, so when scrolled up, there aren't as many images visible. Ok, that makes sense. Now I feel silly.

Updated by anonymous

DragonBud said:
I can see the logic there, but when I load the entire page and return to the top, no cpu usage, things are happy, but when I go past the tag list the CPU high usage comes back, even with the hole page already loaded...

Sorry, for the bad english, I'm a bit tired right now...

yeah, because there are more watch events loaded.

Updated by anonymous

Aerah.Eleganta said:
Image loading should be a queue then

That's not the purpose of the javascript. Though if you know of a less intensive solution for an on demand (read:shows images that are on screen only) image loader, that works with prototype that also doesn't break anything else.. I'm all ears :3

Updated by anonymous

Would rather just go to a set X number of thumbnails with an input via settings to detail how many you want. >_>;

Updated by anonymous

I am having the same issue mentioned by the OP. (Low cpu usage near the top of the page, but 99% usage anywhere past the first screen's worth of thumbnails.) The CPU usage goes back to nil once I scroll to the top (all page elements fully loaded), and spikes again when I scroll down.

Firefox 7.0.1
Windows XP x64
2.4GHz AMD Athlon 64 3800+ (2.60GHz)
2GB DDR400 RAM

So not the best computer by far, but no reason for it to choke so much on a web page.

Updated by anonymous

KMakato said:
I am having the same issue mentioned by the OP. (Low cpu usage near the top of the page, but 99% usage anywhere past the first screen's worth of thumbnails.) The CPU usage goes back to nil once I scroll to the top (all page elements fully loaded), and spikes again when I scroll down.

Firefox 7.0.1
Windows XP x64
2.4GHz AMD Athlon 64 3800+ (2.60GHz)
2GB DDR400 RAM

So not the best computer by far, but no reason for it to choke so much on a web page.

Your computer has more issues than that if it 99% on just this.

Updated by anonymous

  • 1