You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 38 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - PHP Nuke SPEED .... [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Jean-Claude
Premium
Premium


Joined: May 02, 2003
Posts: 15

Location: FRANCE

PostPosted: Thu Jul 24, 2003 3:34 am Reply with quoteBack to top

Hello everybody
perhaps this answer have ever a replybut i can t found it Embarassed
So this is the question
I find that versions 6.7 and 6.8 are slower than 6.5 and 6.6

It is an impression?

Thank you for your answers.

_________________
Image
Find all posts by Jean-ClaudeView user's profileSend private messageVisit poster's websiteMSN MessengerICQ Number
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Jul 24, 2003 6:53 am Reply with quoteBack to top

Run analyzer to see how many sql queries you're generating.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Jean-Claude
Premium
Premium


Joined: May 02, 2003
Posts: 15

Location: FRANCE

PostPosted: Thu Jul 24, 2003 8:13 am Reply with quoteBack to top

i know and can reply because i ve got a sytem on my website who telling me this
On the Home page ~ 120 +

_________________
Image
Find all posts by Jean-ClaudeView user's profileSend private messageVisit poster's websiteMSN MessengerICQ Number
allevon
Site Mod
Site Mod


Joined: Nov 22, 2002
Posts: 716

Location: New Jersey

PostPosted: Thu Jul 24, 2003 9:13 am Reply with quoteBack to top

If you want faster Nuke speed with ANY nuke version, what you will need to do is close the gaps in all the files code.

A webpage is read from top to bottom. When you implement new modules, or even existing ones, that have huge gaps in the code (possibly from their editors) the code is massively spaced. So it takes a PC longer to read everything (inlcuding the gaps).

Condensing the code MANUALLY (Not with some editors functions) will DRASTICALLY increase your nuke sites speed. And that means doing it in EVERY module, block and active file. Otherwise, it will only speed up with those particular accessed files.

I discovered this when hacking the hell out of Nuke 5.5. My site was lagging based on the amount of info I posted on the front page. But not having much graphics, should have loaded fast. I checked the code, closed the gaps, and pages opened in less than 1 second most times except for the initial uncached entry.

When I upgraded to 6.0 same thing. So yes, you need to optimize the code and take out some un-necessary junk to make it run faster.

On the personal side, I have been considering on releasing the optimized code of the original files, but just haven't had the chance to put it out.

But thats all you have to do. Let me know your results if you do it. Hope this helps.

_________________
"Give Me Liberty, Or Give Hackerz Death!!!"
Patrick Henry Revised for 21st century.
Let The Bodies Hit The Floor! Let The Bodies Hit The Floor!
Find all posts by allevonView user's profileSend private messageVisit poster's website
MikeMiles
Lieutenant
Lieutenant


Joined: May 29, 2003
Posts: 231


PostPosted: Thu Jul 24, 2003 10:13 am Reply with quoteBack to top

I hope you don't mean white space. If you do, there's something wrong with your php interpreter because it should be ignoring blank lines, spaces, and comments. There will be some speed difference but it shouldn't be to the magnitude you're talking about.

Look at his pages. They're 250K in size, lots of database calls, and he's pulling stuff like little graphics off other servers. There's also 17 other domains on the server, and if their traffic picks up it will affect his site. Before resorting to butchering up the code to remove spaces, I think he has other areas he could easily optimize first.
Find all posts by MikeMilesView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Thu Jul 24, 2003 10:24 am Reply with quoteBack to top

Oh no 250k in size is already doubling the normal front page size. Did you take a look at the HTML source?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
allevon
Site Mod
Site Mod


Joined: Nov 22, 2002
Posts: 716

Location: New Jersey

PostPosted: Thu Jul 24, 2003 10:27 am Reply with quoteBack to top

Nope, nothing wrong on my end and yes I mean white space. Im not saying to make it look like this:

if ((!$email) || ($email=="") || (!eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,6}$",$email))) $stop "<center>"._ERRORINVEMAIL."</center><br>"; if (strrpos($email,' ') > 0) $stop = "<center>"._ERROREMAILSPACES."</center>";
if ((!$uname) || ($uname=="") || (ereg("[^a-zA-Z0-9_-]",$uname))) $stop =


What im saying is if you have this:







} else {
include("header.php");
OpenTable();
echo "<center><font class=\"option\">Error!</font><br><br>";
echo "<font class=\"option\">"._YOUBAD."</font></center>";
CloseTable();
include("footer.php");
}











} else {
include("header.php");
OpenTable();
echo "<font class=\"option\">"._ACTDISABLED."</font>";
CloseTable();
include("footer.php");
}


Which is how it comes as an original package, then you need to make it look like this:

} else {
include("header.php");
OpenTable();
echo "<center><font class=\"option\">Error!</font><br><br>";
echo "<font class=\"option\">"._YOUBAD."</font></center>";
CloseTable();
include("footer.php");
}
} else {
include("header.php");
OpenTable();
echo "<font class=\"option\">"._ACTDISABLED."</font>";
CloseTable();
include("footer.php");
}


Why? White space is not 100% ignored and as PCs read the page down, it adds time for itto acknowledege the white space eixstence. So your speed is reduced. I have had quite a few people use some optimized files, different PC's from all over the world, and yes, what i am saying is 100% true.

As for jaques page, yes he needs to reduce the size of the page, but optimizing the code as an example, my home page is about 35kb. Not optimized its about 56kb. same goes for the file sizes like index.php. its not drastic, but your overall files will be reduced at least 2kb at the minimum.

_________________
"Give Me Liberty, Or Give Hackerz Death!!!"
Patrick Henry Revised for 21st century.
Let The Bodies Hit The Floor! Let The Bodies Hit The Floor!
Find all posts by allevonView user's profileSend private messageVisit poster's website
nathanraymond
Premium
Premium


Joined: Jan 17, 2003
Posts: 121

Location: Rhode Island

PostPosted: Thu Jul 24, 2003 10:36 am Reply with quoteBack to top

is there a text editor that you have used before that would speed this process of going through all the files up?
thanks nathan
Find all posts by nathanraymondView user's profileSend private messageVisit poster's website
allevon
Site Mod
Site Mod


Joined: Nov 22, 2002
Posts: 716

Location: New Jersey

PostPosted: Thu Jul 24, 2003 10:46 am Reply with quoteBack to top

Hi Nathan,

ABSOLUTELY NOT. EVen though I use ACEHtml, and it does have that feature, it will not work. It only applies to HTML, and if you start using the code condensing tool for php, you will be in a world of crap fast. The reason is the changes are permanent and irreversible once you apply it.

So ya gotta do it the old fashhioned way like I did. should only take about 1 day working all the ORIGINAL files, add more for your add-ons, blocks, etc.

_________________
"Give Me Liberty, Or Give Hackerz Death!!!"
Patrick Henry Revised for 21st century.
Let The Bodies Hit The Floor! Let The Bodies Hit The Floor!
Find all posts by allevonView user's profileSend private messageVisit poster's website
nathanraymond
Premium
Premium


Joined: Jan 17, 2003
Posts: 121

Location: Rhode Island

PostPosted: Thu Jul 24, 2003 11:59 am Reply with quoteBack to top

thanks for getting back to me that would have been a big mistake had I gone that route!!! Embarassed
Find all posts by nathanraymondView user's profileSend private messageVisit poster's website
Jean-Claude
Premium
Premium


Joined: May 02, 2003
Posts: 15

Location: FRANCE

PostPosted: Thu Jul 24, 2003 12:37 pm Reply with quoteBack to top

Oki the first solution is to delete all the blank space in the code
I va ever do something in all my theme too with HTML Compress

example :
Code:
<table cellspacing=0 cellpadding=0 border=0 >
<tr>
<td>
</td>
</tr>
</table>


is now

Code:
<table cellspacing=0 cellpadding=0 border=0 ><tr><td></td></tr></table>


And i think it s a good thing too

_________________
Image
Find all posts by Jean-ClaudeView user's profileSend private messageVisit poster's websiteMSN MessengerICQ Number
allevon
Site Mod
Site Mod


Joined: Nov 22, 2002
Posts: 716

Location: New Jersey

PostPosted: Thu Jul 24, 2003 12:39 pm Reply with quoteBack to top

No problem, hey hows Germany these days? I havent been over there at all this year. Man I feel the itch to hit the Autobahn after being stuck in slow driving left lane traffic yesterday.

_________________
"Give Me Liberty, Or Give Hackerz Death!!!"
Patrick Henry Revised for 21st century.
Let The Bodies Hit The Floor! Let The Bodies Hit The Floor!
Find all posts by allevonView user's profileSend private messageVisit poster's website
allevon
Site Mod
Site Mod


Joined: Nov 22, 2002
Posts: 716

Location: New Jersey

PostPosted: Thu Jul 24, 2003 12:40 pm Reply with quoteBack to top

So Jean, (Oops I called you Jacque before, sorry) its working alittle faster now right? but you will need to do it to the WHOLE file, and EACH file.

_________________
"Give Me Liberty, Or Give Hackerz Death!!!"
Patrick Henry Revised for 21st century.
Let The Bodies Hit The Floor! Let The Bodies Hit The Floor!
Find all posts by allevonView user's profileSend private messageVisit poster's website
nathanraymond
Premium
Premium


Joined: Jan 17, 2003
Posts: 121

Location: Rhode Island

PostPosted: Fri Jul 25, 2003 5:16 am Reply with quoteBack to top

allevon wrote:
No problem, hey hows Germany these days? I havent been over there at all this year. Man I feel the itch to hit the Autobahn after being stuck in slow driving left lane traffic yesterday.


the highways are still there...at the moment though I am living up north near hamberg...there autobahn is usually in a jam.... but if you go south stuttgard munchen---now thats what you call driving--- I have driven 260 kmh for a good hour or two earlier this year on a trip to salzburg and I tell ya thats something else!!!
Find all posts by nathanraymondView user's profileSend private messageVisit poster's website
allevon
Site Mod
Site Mod


Joined: Nov 22, 2002
Posts: 716

Location: New Jersey

PostPosted: Fri Jul 25, 2003 5:24 am Reply with quoteBack to top

Yea Ive been up your way and once you hit Cologne, the jams start, but I use a friends Mercedes 600 v-12 and usually do the runs between Frankfurt and Nuremberg on A5 or 3? but I top out at 335kph. Razz Yep, I cant get enough of it. As a matter of fact, I don't think I ever use brakes and I don't think I ever drove in the right lane on the autobahn, except for ausfahrt lol.

_________________
"Give Me Liberty, Or Give Hackerz Death!!!"
Patrick Henry Revised for 21st century.
Let The Bodies Hit The Floor! Let The Bodies Hit The Floor!
Find all posts by allevonView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.647 Seconds - 224 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::