Bug 59135 - javascript loading slows down html-loading drastically
Summary: javascript loading slows down html-loading drastically
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: kjs (show other bugs)
Version: SVN
Platform: Debian testing Linux
: NOR minor
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-30 02:50 UTC by Filip Vancoillie
Modified: 2008-08-14 12:14 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Vancoillie 2003-05-30 02:50:35 UTC
Version:            (using KDE KDE 3.1.2)
Installed from:    Debian testing/unstable Packages
OS:          Linux

Hi,


when loading the page : www.standaard.be it takes a long time just loading the javascript menu.  When javascript is turned off, it all goes a lot faster.  Is it possible to make this synchronous in some way?  Which means : loading and showing the webpage at the same time as starting the javascript menu.  So the webpage would be shown already, before the menu is finished jet...

The bug is particularly irritating when clicking on a link to view an article.  The whole menu-loading-thing starts all over again and slows down page loading.

greets
Filip
(by the way : kde is great!!, and it's even getting better all the time!!)
Comment 1 Samuel Edlmeier 2003-08-16 13:44:12 UTC
I've the same Problem on my SuSE 8.2-Box with KDE 3.1.2. Examples: www.golem.de 
www.pcwelt.de www.tecchannel.de www.zdnet.de etc. 
 
Turning JavaScript off brings much more speed, but this makes in impossible to 
use some sites. 
Comment 2 Roger Larsson 2003-09-09 21:29:02 UTC
The same problem exists on http://www.expressen.se/ 
Loading it with java script disabled works OK. 
Get crashes with java script debugger... 
It complains that 
  KJAS: sendGetURLCmd(0) url = http://server-dk.imrworldwide.com/Measure.class 
  Class could not be loaded: Measure 
  Backtrace:  
  java.lang.ClassNotFoundException: Class:Measure 
	at org.kde.kjas.server.KJASAppletClassLoader.findClass(KJASAppletClassLoader.java:248) 
	at org.kde.kjas.server.KJASAppletClassLoader.loadClass(KJASAppletClassLoader.java:281) 
	at org.kde.kjas.server.KJASAppletStub$2.run(KJASAppletStub.java:180) 
	at java.lang.Thread.run(Thread.java:479) 
The file at the url exists - I have not tried with it in my java path (this is a java class not 
java script - or?) 
 
The severity is normal since the problem does not need to be worked around in any other way 
then wait. But the number of sites with this problem seems quite large => priority to HI. 
Comment 3 Harri Porten 2003-11-25 10:20:14 UTC
Pages with JS will always be slower then purely static pages. We'll try
to improve execution speed, of course, but the bug is not as severe as reports about a page not working.
Comment 4 Roger Larsson 2003-11-25 17:06:36 UTC
It is so slow that you think it is not working...

[And I think this happens on other web sites as well.
Like www.rgline.com
  https://online.rgline.com/bokning/en/anvisningar.asp?langid=3
Forward to page where you enter names of travelers.
Enter names for out, copy them to return - this takes so much
time that you get the question if you like to abort the operation...
It might be another bug but still...]

I think all this is related to bug 42773 - not really solved, problem
was not reproduceable.
Comment 5 Roger Larsson 2003-11-25 17:15:42 UTC
Another probable related bug is bug 51484, but I do NOT get high CPU usage.
Comment 6 Filip Vancoillie 2003-11-25 20:03:17 UTC
Subject: Re:  javascript loading slows down html-loading drastically         

I don't get the same problem, Roger.  Maybe I do something wrong, but doing a 
reservation (until I need password) works good with me. 
 
The slowdown I talked about is caused by loading javascript menus.  I thought 
maybe one could load and show the html while loading javascript at the same time, 
thus synchronously.  Now, loading menus seems to stop khtml completely from 
working.  Anyway, it is indeed more of a non-severe bug.  
 
Bug 42773 is probably somehow related. 
 
greets 
Filip 
 
Citeren Roger Larsson <roger.larsson@norran.net>: 
 
> ------- You are receiving this mail because: ------- 
> You reported the bug, or are watching the reporter. 
>       
> http://bugs.kde.org/show_bug.cgi?id=59135      
>  
>  
>  
>  
> ------- Additional Comments From roger.larsson@norran.net  2003-11-25 
> 17:06 ------- 
> It is so slow that you think it is not working... 
>  
> [And I think this happens on other web sites as well. 
> Like www.rgline.com 
>   https://online.rgline.com/bokning/en/anvisningar.asp?langid=3 
> Forward to page where you enter names of travelers. 
> Enter names for out, copy them to return - this takes so much 
> time that you get the question if you like to abort the operation... 
> It might be another bug but still...] 
>  
> I think all this is related to bug 42773 - not really solved, 
> problem 
> was not reproduceable. 
>  
 
 

Comment 7 Filip Vancoillie 2003-11-25 20:24:26 UTC
Subject: Re:  javascript loading slows down html-loading drastically         

ouch, just tried it out, and it's not true what I said.  It's normal for javascript loading to 
slow down khtml.  But it happens synchronously though.  Strange, because I used to 
get a different experience.  thought it was kind of blocking the rest for a while. 
 
so sorry, as far as it concerns me : forget the bug report. 
 
greets 
F 
 
> The slowdown I talked about is caused by loading javascript menus.  I 
> thought  
> maybe one could load and show the html while loading javascript at 
> the same time,  
> thus synchronously.  Now, loading menus seems to stop khtml 
> completely from  
> working.  Anyway, it is indeed more of a non-severe bug.   
>   
> Bug 42773 is probably somehow related.  
>   
> greets  
> Filip  
>   
> Citeren Roger Larsson <roger.larsson@norran.net>:  
>   
> > ------- You are receiving this mail because: -------  
> > You reported the bug, or are watching the reporter.  
> >        
> > http://bugs.kde.org/show_bug.cgi?id=59135       
> >   
> >   
> >   
> >   
> > ------- Additional Comments From roger.larsson@norran.net  
> 2003-11-25  
> > 17:06 -------  
> > It is so slow that you think it is not working...  
> >   
> > [And I think this happens on other web sites as well.  
> > Like www.rgline.com  
> >   https://online.rgline.com/bokning/en/anvisningar.asp?langid=3  
> > Forward to page where you enter names of travelers.  
> > Enter names for out, copy them to return - this takes so much  
> > time that you get the question if you like to abort the 
> operation...  
> > It might be another bug but still...]  
> >   
> > I think all this is related to bug 42773 - not really solved,  
> > problem  
> > was not reproduceable.  
> > 
>  
 
 

Comment 8 Patrick Rutka 2003-12-30 21:40:21 UTC
It very slow for :
http://www.playfrance.com
http://www.vnunet.fr
http://www.zdnet.fr
Comment 9 George Goldberg 2008-02-18 04:31:01 UTC
Is this bug still present in a recent KDE version, such as 3.5.9 or 4.0.1?
Comment 10 Jaime Torres 2008-07-08 18:09:56 UTC
All sites render for me in konqueror 4.0.4 and svn trunk 828814 as fast as in firefox 3.
Comment 11 Jaime Torres 2008-07-26 09:59:11 UTC
reopen if it is still an issue.