Re: Django documentation site is SLOW

2009-08-09 Thread Denis Cheremisov

I thinkg it's firefox issue - with google chromium, midori or opera
it's felt much faster.

On Aug 7, 3:46 pm, Jo  wrote:
> Surely can't only be me that finds the main Django site painfully
> slow? There is some javascript in there or something that just kills
> my browser.
>
> I'm using Firefox on Linux, on 1.5gig P4, OK not state of the art but
> it's fine for pretty much any other website, but when I try to look
> something up on the Django website, firefox jumps to 80% CPU and takes
> 10s of seconds to render each page, and even when the page is rendered
> the browser is so sluggish as to be almost unusable.
>
> Django might speed up development, but what it gives it takes away in
> time sitting waiting for the damn docs to load!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-08 Thread Torsten Bronger

Hallöchen!

Torsten Bronger writes:

> [...]
>
> While loading the pages is sufficiently fast for me, scrolling has
> always been slightly annoying for me, with various FFs on various
> computers.  [...]
>
> Funny enough, scrolling with the scroll bar is rather smooth,
> while scrolling with the mouse wheel or cursor keys is very jerky.

I found the reason (well, not the root cause, but): If the mouse is
over the text while scrolling, it's jerky.  Of course, it isn't if I
use the scroll bar, which explains my observations.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
   Jabber ID: torsten.bron...@jabber.rwth-aachen.de
  or http://bronger-jmp.appspot.com


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-08 Thread Lakshman Prasad
Indeed for most of the people in this group Django documentation is very
often consulted resource.
It makes a lot of sense to have those locally. If you have a svn co,
documentation is within the checkout, so you need to browse to
file:///home/name/django-trunk/docs/_build/html/index.html and you have it
locally all the time, with all the latest updates. Just bookmark the
location.

After each svn update run a command `make html` from the docs folder. (you
may first need to easy_install sphinx)

Hope this helps.

On Sat, Aug 8, 2009 at 1:24 PM, Torsten Bronger <
bron...@physik.rwth-aachen.de> wrote:

>
> Hallöchen!
>
> Malcolm Tredinnick writes:
>
> > On Sat, 2009-08-08 at 00:14 -0700, Thierry wrote:
> >
> >> Just wanted to add my own testimony: I too, noticed serious
> >> performance issues with Firefox when consulting Django
> >> documentation.
> >
> > "Performance issues" could many a myriad of things. Is it slow to
> > render, or slow to load the data? Or slow to update as you scroll
> > through the page?
>
> While loading the pages is sufficiently fast for me, scrolling has
> always been slightly annoying for me, with various FFs on various
> computers.  I experience this only on Django's documentation site,
> although it may well be on other sites which are less important to
> me, too.
>
> Funny enough, scrolling with the scroll bar is rather smooth, while
> scrolling with the mouse wheel or cursor keys is very jerky.  I'm
> pretty sure that it has to do with the CSS for the greenish code
> snippets.  The kind of flickering suggests that the definition of
> the upper edge of the inserts (margin/padding/broder/whatever) may
> contain some sort of CSS hack which is too complicated for Firefox.
> But this is just a guess.
>
> Additionally, in very rare cases, artifacts remain on the canvas
> because flaws in FF's rendering engine are triggered by Django's
> CSS.
>
> Tschö,
> Torsten.
>
> --
> Torsten Bronger, aquisgrana, europa vetus
>   Jabber ID: torsten.bron...@jabber.rwth-aachen.de
>  or http://bronger-jmp.appspot.com
>
>
> >
>


-- 
Regards,
Lakshman
becomingguru.com
lakshmanprasad.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-08 Thread Torsten Bronger

Hallöchen!

Malcolm Tredinnick writes:

> On Sat, 2009-08-08 at 00:14 -0700, Thierry wrote:
>
>> Just wanted to add my own testimony: I too, noticed serious
>> performance issues with Firefox when consulting Django
>> documentation.
>
> "Performance issues" could many a myriad of things. Is it slow to
> render, or slow to load the data? Or slow to update as you scroll
> through the page?

While loading the pages is sufficiently fast for me, scrolling has
always been slightly annoying for me, with various FFs on various
computers.  I experience this only on Django's documentation site,
although it may well be on other sites which are less important to
me, too.

Funny enough, scrolling with the scroll bar is rather smooth, while
scrolling with the mouse wheel or cursor keys is very jerky.  I'm
pretty sure that it has to do with the CSS for the greenish code
snippets.  The kind of flickering suggests that the definition of
the upper edge of the inserts (margin/padding/broder/whatever) may
contain some sort of CSS hack which is too complicated for Firefox.
But this is just a guess.

Additionally, in very rare cases, artifacts remain on the canvas
because flaws in FF's rendering engine are triggered by Django's
CSS.

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
   Jabber ID: torsten.bron...@jabber.rwth-aachen.de
  or http://bronger-jmp.appspot.com


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-08 Thread Malcolm Tredinnick

On Sat, 2009-08-08 at 00:14 -0700, Thierry wrote:
> Hi,
> 
> Just wanted to add my own testimony: I too, noticed serious
> performance issues with Firefox when consulting Django documentation.

"Performance issues" could many a myriad of things. Is it slow to
render, or slow to load the data? Or slow to update as you scroll
through the page? Can you give an example of a page that behaves poorly
in your case and describe how it behaves poorly? Does it behave in the
same fashion when you're viewing a local copy of the docs (served via a
local webserver versus just loaded as files is a difference to test,
too), or just when you're viewing them on djangoproject.com?

Django's docs pages are generally very lightweight HTML and total
content is fairly well set up for taking advantage of caching. There are
a few CSS rules that could be written differently to give greater
performance, but none of them are particularly tragic, given the lack of
reflows that go on in the page (they are static pages, by and large).
We're certainly better in this respect than a vast majority of websites
out there.

If we have a situation that is a genuine example of Firefox regression,
it would be good to know so it can be reported to the Firefox team or
fixed on our side if it's a legitimate problem. Right now, the problem
reports from this thread are a little light on those things we like to
call "specific details".

For the record, I'm using Firefox 3.5.2 on Fedora 11 and don't notice
any problems reading the docs (although I don't have Adblock installed).

Regards,
Malcolm


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-08 Thread Thierry

Hi,

Just wanted to add my own testimony: I too, noticed serious
performance issues with Firefox when consulting Django documentation.
So far it is the only website where I experience this.
I am home, using Firefox 3.5.2 on Ubuntu 9.04 (officially installed
package 'firefox-3.5'), and have Adblock too.

As far as I remember, I did not notice any performance hog when
browsing Django documentation from work (Windows XP, Firefox 3.5.2,
Adblock activated too).
Just tried at home with Epiphany browser, and still no lack of
responsiveness from Django website.

So I guess the culprit would be the current Firefox 3.5.x package from
Ubuntu's universe repos?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-07 Thread Karen Tracey
On Fri, Aug 7, 2009 at 10:06 AM, Jo  wrote:

>
> Ok, after a bit of tinkering I think I might have found the culprit.
>
> Seems fine in Opera, and much better in Firefox when I disable Adblock
> Plus (the only add-on I've got installed!)
>
> Still a little sluggish in Firefox, but they are big pages on quite an
> old machine. Goes from unusable to almost normal with ABP disabled.
>

Glad you've found something that makes it better, but it still sounds odd to
me.  I use Firefox 3.5.2 + AdBlock Plus 1.1 on my Ubuntu machine (P4 with
just 1G) and don't notice any particular sluggishness with the Django site.
Firefox does seem to go out to lunch periodically and become unresponsive
for stretches of time, but from some research I'm pretty sure that's due to
updating live bookmarks, and it's much improved in 3.5 compared to 3.0
(though I wouldn't call it fixed).

Karen

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-07 Thread Jo

Ok, after a bit of tinkering I think I might have found the culprit.

Seems fine in Opera, and much better in Firefox when I disable Adblock
Plus (the only add-on I've got installed!)

Still a little sluggish in Firefox, but they are big pages on quite an
old machine. Goes from unusable to almost normal with ABP disabled.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-07 Thread Russell Keith-Magee

On Fri, Aug 7, 2009 at 8:06 PM, Léon Dignòn wrote:
>
> I have an Intel C2D E2200 with 4 GB RAM. The Django docs are killing
> my browser, it feels like FireSLUG instead of Firefox 3.5 .

I don't know what to say. Your experience in no way matches my own. I
use Safari and Firefox, and I certainly don't see any CPU load spike
loading the docs. The only significant delays I see are due to
download time, which are mostly caused by sitting on the tail end of a
fairly ordinary net connection in Australia (when you're a long way
from everything, _every_ page takes a while to download)

I can't even think what could be causing this. If you look at the
source code, we're not doing anything particularly intensive with
Javascript - we are using a Javascript widget to implement Google's
search, but other than that, it's fairly simple HTML all the way.

If you have any concrete suggestions, we're happy to entertain them,
but unless you can provide some concrete diagnosis as to the cause of
the problem, there isn't much we can do. We can't fix a problem that
we can't reproduce.

My only diagnosis advice would be that you disable any Firefox plugins
you may have installed. I have seen more than one page rendering
performance problem solved by disabling a badly behaved Firefox
plugin.

Yours,
Russ Magee %-)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-07 Thread Sam Walters

Hi
Its probably not the browser. I am using firefox 3.5 on an eee pc and
the documentation is fine. This is with Javascript disabled using
noscript however i just turned it on again and no noticable difference
in top readings

*You should look at the install addons of firefox, eg: some plugin
which is slowing it.
*save the page and view it offline see if there is still an issue.
*CSS+cheap video card. This is unusual however some sites really run
slow on very old video cards. Try removing the css from a docs
page+save it runoffline.

I just cant see it being firefox unless its not configured properly.
Especially considering eee pc atom cpu is puny compared too even a p4.
:)



On Fri, Aug 7, 2009 at 10:09 PM, Mirat Bayrak wrote:
> without javascript ?
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-07 Thread Léon Dignòn

Without it's better, but still now good enough for three colors and a
little bit of text.

On Aug 7, 2:09 pm, Mirat Bayrak  wrote:
> without javascript ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-07 Thread Mirat Bayrak
without javascript ?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-07 Thread Léon Dignòn

I have an Intel C2D E2200 with 4 GB RAM. The Django docs are killing
my browser, it feels like FireSLUG instead of Firefox 3.5 .

Hate it!


On Aug 7, 1:46 pm, Jo  wrote:
> Surely can't only be me that finds the main Django site painfully
> slow? There is some javascript in there or something that just kills
> my browser.
>
> I'm using Firefox on Linux, on 1.5gig P4, OK not state of the art but
> it's fine for pretty much any other website, but when I try to look
> something up on the Django website, firefox jumps to 80% CPU and takes
> 10s of seconds to render each page, and even when the page is rendered
> the browser is so sluggish as to be almost unusable.
>
> Django might speed up development, but what it gives it takes away in
> time sitting waiting for the damn docs to load!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Django documentation site is SLOW

2009-08-07 Thread Mirat Bayrak
i am not expert but i thought that it can be about javascripts, can you
disable javascript support and retry it? i think you have to try opera too

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Django documentation site is SLOW

2009-08-07 Thread Jo

Surely can't only be me that finds the main Django site painfully
slow? There is some javascript in there or something that just kills
my browser.

I'm using Firefox on Linux, on 1.5gig P4, OK not state of the art but
it's fine for pretty much any other website, but when I try to look
something up on the Django website, firefox jumps to 80% CPU and takes
10s of seconds to render each page, and even when the page is rendered
the browser is so sluggish as to be almost unusable.

Django might speed up development, but what it gives it takes away in
time sitting waiting for the damn docs to load!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---