GtkDialog - Make Image / Save / SFS files utility.

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#46 Post by mikeb »

Webkit was always chunky... wonder what all that code is for. I remember the days when konqueror crashed all over the place and was as slow as hell... so credit to google for taking their software and improving it. (or whoever first wrote it... nokia?)
I suppose using free software as your base makes good sense in terms of profit :)

Much of the rendering in firefox seems to be handled in raw javascript..opera compiles it in some way.....webkit..some other binary method.... for FF that must be a source of slowdown. When I was younger and bored I de-commented and de-whitespeced all the code in firefox 1.5... its was considerably more responsive for it. Using gtk2 must have a speed penalty too. Qt is large but give better dynamic performance I find.

mike

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#47 Post by sunburnt »

Mike; Do you happen to know how JWM loads the apps into the tray.?
I know about the <Swallow > tag in .jwmrc, but it says nothing about 4 items in the tray.

See here: http://www.murga-linux.com/puppy/viewtopic.php?t=90778

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#48 Post by mikeb »

Mike; Do you happen to know how JWM loads the apps into the tray.?
Badly I suspect ... :D

Actually not a clue...its on my top 10 lists of things to remove from puppy which apparently makes them no longer puppies. I will have to think of a new name... Guinea Piggies seems apt and we have an extremely cute long haired one here.
Would I have to call 'pets' 'family'?

Michael

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#49 Post by jpeps »

mikeb wrote: When I was younger and bored I de-commented and de-whitespeced all the code in firefox 1.5... its was considerably more responsive for it.
mike
Maybe you didn't know that code gets compiled into machine code like you do now, and that it was only your imagination. Comments and whitespaces are considered good coding practices to make it understandable for later editing.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#50 Post by mikeb »

Code: Select all

Maybe you didn't know that code gets compiled into machine code like you do now, and that it was only your imagination. 
Ah you saw an opportunity to troll again ...welcome to the thread. :)

Now the xul interpreter is compiled but take a stroll into firefox/chrome and you will see some jar files. Look inside and you will see a pile of uncompressed (and uncompiled) javascript. This is the code that handles the html... running on xul but its raw script in this bunny..

Thanks for the clarification ..i never realised when I write in C that it is compiled into machine code. When I did program directly in machine code to make drivers many moon ago I obviously did not understand that either.

So desparate to try and discredit...you need a hobby...one I can understand with my limited intelligence.

mike

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#51 Post by jpeps »

mikeb wrote:
Thanks for the clarification ..i never realised when I write in C that it is compiled into machine code. When I did program directly in machine code to make drivers many moon ago I obviously did not understand that either.
You're welcome. AFAIK White space and comments are ignored, so it makes no sense to eliminate them.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#52 Post by mikeb »

Well since the javascript has to be parsed then that includes reading all the text and then filtering out white space and comments. And in this case some files had up to 33% of the text as comments.

But since you have shown yourself to know nothing about firefox or about code parsing these comments are pointless.

If you want to annoy please get your facts right first so as not to embarrass yourself.

Quite pathetic really. Is there not a life out there you can join?

mike

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#53 Post by jpeps »

mikeb wrote:Well since the javascript has to be parsed then that includes reading all the text and then filtering out white space and comments. And in this case some files had up to 33% of the text as comments.
Absurd. All the code gets converted to machine code. How much longer do you think it takes to ignore a comment?

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#54 Post by mikeb »

Absurd. All the code gets converted to machine code. How much longer do you think it takes to ignore a comment?
Yes it gets converted at runtime just like bash...the extra overhead of an interpreter..... which is why there was a speed gain by removing 30% of unneeded text....simply less to read...ignoring comments and whitespace does require processing by the interpreter.
Also hence my original comment of firefoxes structure is less efficient than the others.

Interpreter... you know what one is? I hope so. The reason why scripts are slower than compiled code is a clue.

You ignore every techinical question I have asked on here...it must be rubbing off.

feel free to carry on with absurdity...

You need to loosen up...go out, have a few drinks.....some dancing...meet women...that sort of thing. :)

Well time to have fun...I am sure you will entertain me further but at least you won't be bothering someone else. :D . You can get all the attention I am sure you feel you deserve here.

mike

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#55 Post by jpeps »

mikeb wrote:
Yes it gets converted at runtime just like bash...the extra overhead of an interpreter..... which is why there was a speed gain by removing 30% of unneeded text....simply less to read...ignoring comments and whitespace does require processing by the interpreter.
Also hence my original comment of firefoxes structure is less efficient than the others.
I'm sure the mozilla team will be greatfull to hear that removing whitespaces has such a profound performance enhancement. Think of the implications for other software that still contains whitespaces (not to mention.....comments!) I guess you were right all along. Professionals DON'T know what they're doing; it takes a genius to get it right.

http://www.mozilla.org/en-US/contribute/

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#56 Post by mikeb »

If you bother to read properly I never claimed a profound performance increase .... a bit snappier to quote myself.
You totally missed my point in your frenzied haste.... the code that runs firefox is uncompiled javascript/xul... if it were compiled in some way it would indeed improve performance. I merely mentioned how tediously reducing the size of those scripts by 30% in itself had a noticeable if somewhat slight effect. In other words how much more would it benefit if that code was compiled.
Please spend time getting accainted with how firefox works...perhaps then you could suggest some improvements.

There are various techniques to shut out the obvious pain that my existance is obviously causing you. :D

Otherwise I recommend freenode irc... it embraced people like you and you could spend endless hours annoying those who love that sort of attention

best wishes and cream buns

your ever faithful servent

Mike

ps getting bored and so are others I would expect so no more replies for you I am afraid...its been enlightening as usual.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#57 Post by jpeps »

mikeb wrote:If you bother to read properly I never claimed a profound performance increase .... a bit snappier to quote myself..
You can't even get that right.

Post Reply