Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 12:58
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
GtkDialog - Make Image / Save / SFS files utility.
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 4 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4
Author Message
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Sat 14 Dec 2013, 14:03    Post_subject:  

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 Smile

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
Back to top
View user's profile Send_private_message 
sunburnt


Joined: 08 Jun 2005
Posts: 5032
Location: Arizona, U.S.A.

PostPosted: Sat 14 Dec 2013, 21:37    Post_subject:  

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
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Sun 15 Dec 2013, 09:13    Post_subject:  

Quote:
Mike; Do you happen to know how JWM loads the apps into the tray.?

Badly I suspect ... Very Happy

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
Back to top
View user's profile Send_private_message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sun 15 Dec 2013, 13:43    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Sun 15 Dec 2013, 15:14    Post_subject:  

Code:
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. Smile

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
Back to top
View user's profile Send_private_message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sun 15 Dec 2013, 15:56    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Sun 15 Dec 2013, 18:21    Post_subject:  

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
Back to top
View user's profile Send_private_message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sun 15 Dec 2013, 19:02    Post_subject:  

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?
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Sun 15 Dec 2013, 19:34    Post_subject:  

Quote:
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. Smile

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

mike
Back to top
View user's profile Send_private_message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Sun 15 Dec 2013, 21:58    Post_subject:  

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/
Back to top
View user's profile Send_private_message 
mikeb


Joined: 23 Nov 2006
Posts: 8257

PostPosted: Mon 16 Dec 2013, 05:16    Post_subject:  

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. Very Happy

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.
Back to top
View user's profile Send_private_message 
jpeps

Joined: 31 May 2008
Posts: 3220

PostPosted: Mon 16 Dec 2013, 11:01    Post_subject:  

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.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 4 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0746s ][ Queries: 13 (0.0047s) ][ GZIP on ]