11
pegasus00321
Re: XOOPS eXtreme

I dont do PHP Programming, I know how to, but I don't

If you wanted to see a heavily hacked XOOPS 2.0.13.1 site, you can look at this XOOPS site I've made, here.
It also has the X-IPB Mod by Koudanshi.

All page gen times are in the source, at the very bottom.
Front page gen time is around 0.06 at best with 3 queries logged out and 5 logged in.

Something like this:
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc

12
Herko
Re: XOOPS eXtreme
  • 2005/10/30 19:44

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


then can you at least explain what you did, if it wasn't code optimisation (I assume this because you do need php programming skills for that!)?

Herko

13
alitan
Re: XOOPS eXtreme
  • 2005/10/30 19:50

  • alitan

  • Quite a regular

  • Posts: 399

  • Since: 2004/3/14


WHat i can only say is that I cannot view the source of this page by IE6 but only with FireFox.
Off topic, sorry:
Go Harry Potter! My friend (irmtfan) has a site in this criteria indeed! http://www.Jadoogaran.org !
My Persian Xoops Project:
http://www.MPXP.org

14
davidl2
Re: XOOPS eXtreme
  • 2005/10/30 20:08

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


View the source at: http://www.ewonline.net/index.php - then it will work

15
pegasus00321
Re: XOOPS eXtreme

Yeah, the source is kinda hard to view sometimes in IE due to Gzip Compression.

That site has the most hacks of all my XOOPS sites.

Why does it run so fast?
And its not because of the Celeron Server,

1. Uses PHP Accelerator (eAccelerator is better, but I was lazy)
2. Doesn't use XOOPS Blocks, those are somewhat slow, slightly better in 2.2.x
and lots of other minor things.

If you use a php caching program, such as APC, PHP Accelerator, or eAccelerator, that will speed up your scripts by about 20-40%. Before I had PHP Accelerator on there, it was at around 0.13 secs for the homepage.
Zend Optimizer really doesnt do much, especially for XOOPS.

So if you want speed, switch to 2.2.x (i seriously hope its stable, because I'm thinking about upgrading)!
I'll release a guide, hopefully soon since I've got a lot of school work.
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc

16
pegasus00321
Re: XOOPS eXtreme

You may notice that the News module front page isnt that fast though.



But then again, its using 15 queries.
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc

17
Herko
Re: XOOPS eXtreme
  • 2005/10/30 20:51

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


So if I'm reading this right, it's not so much a hacked XOOPS, but an optimised server and XOOPS install? Perhaps your XOOPS eXtreme would be more usefull as an optimisation guide then a codefork then?

Hekro

18
JMorris
Re: XOOPS eXtreme
  • 2005/10/30 21:42

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Please don't take this wrong. It's only meant as a matter of comparison..

2.0.13.2 Install, no hacks, default caching
============================================
Page Load Statistics: 0.686 Seconds | 105 Queries

2.2.3RC1 Install, no hacks, minimal caching
===========================================
Page Load Statistics: 0.407 Seconds | 46 Queries

*The 2.0.13.2 site only uses the caching that is used by default in XOOPS.
*The 2.2.3RC1 site has had minimal block/module caching tuning using the tools built into XOOPS.
*Both sites are on shared hosting accounts with over 500 websites on each server with no special optimizers other than Zend.

An optimization guide would be great, and there may even be a few things in there that the Core Devs could implement in XOOPS, but quite honestly, I'm not seeing a significant enough gain in performance to warrant a code fork.

When page load statistics are under 0.5 seconds with minimal caching, a difference of +/- 0.25 seconds is not that noticeable.

Now, granted, anything that can speed a site up is a good thing. That's why I think your optimization guide would be a handy tool. However, IMHO, instead of creating your own "version" of XOOPS, why not just work with the Core Devs on this?

Again, I'm just trying to clarify the differences here. No offense intended.

Best Regards,

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

19
Jharis
Re: XOOPS eXtreme
  • 2005/10/30 23:57

  • Jharis

  • Just can't stay away

  • Posts: 488

  • Since: 2005/2/13


Releasing a Pegasus Optimization guide would be really nice. It would give many of us a chance to test your work on our sites. I Don't suppose this could be a module? That way once uninstalled all changes would be undone.

Anyway guide book would be great if your willing to write one up.

don (el paso)
motto - green chili for everything!

20
pegasus00321
Re: XOOPS eXtreme

I'm willing to release the code, but its not more code that speeds it up, its less code.

Like here is the header.php (XOOPS v.2.0.13.2) - 2.2 has less code than this for the header
if (!defined("XOOPS_ROOT_PATH")) { die("Hacking Attempt Header"); }
include_once 
XOOPS_ROOT_PATH.'/class/xoopsblock.php';
$xoopsOption['theme_use_smarty'] = 1;
require_once 
XOOPS_ROOT_PATH.'/class/template.php';
$xoopsTpl = new XoopsTpl();
$xoopsTpl->xoops_setCaching(2);
//if ($xoopsConfig['debug_mode'] == 3) { $xoopsTpl->xoops_setDebugging(true); }
$xoopsTpl->assign(array('xoops_theme' => $xoopsConfig['theme_set'], 'xoops_imageurl' => XOOPS_THEME_URL.'/'.$xoopsConfig['theme_set'].'/''xoops_themecss'=> xoops_getcss($xoopsConfig['theme_set']), 'xoops_requesturi' => htmlspecialchars($GLOBALS['xoopsRequestUri'], ENT_QUOTES), 'xoops_sitename' => htmlspecialchars($xoopsConfig['sitename'], ENT_QUOTES), 'xoops_slogan' => htmlspecialchars($xoopsConfig['slogan'], ENT_QUOTES)));
$config_handler =& xoops_gethandler('config');
$criteria = new CriteriaCompo(new Criteria('conf_modid'0));
$criteria->add(new Criteria('conf_catid'XOOPS_CONF_METAFOOTER));
$config =& $config_handler->getConfigs($criteriatrue);
foreach (
array_keys($config) as $i) {
$xoopsTpl->assign('xoops_'.$config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
}
$xoopsTpl->assign('xoops_js''//-->.XOOPS_URL.'/include/xoops.js">';
$cmodule = isset($GLOBALS['xoopsModule']) ? $GLOBALS['xoopsModule']->getVar('dirname') : "system";
$xoopsTpl->assign('cmodule'$cmodule);
$xoopsTpl->assign('nojavascript''no');
?>


Heres my plan, I'm going to make it a priority to upgrade that XOOPS site to 2.2.3 and then I will try to hack that as much as I can and write a guide about it at the sametime.

It seems like that I need to wait sometime before I do this upgrade since I have to upgrade it, hack it, update X-IPB, hack that.

Is everyone ok with me writing a guide for 2.0.13.2? It doesn't seem like I'll be on 2.2 for a while.
Pegasus00321


I would appricate it if you click this link
TuFat.com PHP Scripts and etc

Login

Who's Online

205 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 205


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits