vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Board Optimization - vBMicroStats (https://vborg.vbsupport.ru/showthread.php?t=140449)

DementedMindz 02-26-2007 12:42 AM

ok thank you working on it now

Kaleem 02-26-2007 12:44 AM

Installed Thank You :)

TECK 02-26-2007 12:51 AM

Let me know how is the new version.

TECK 02-26-2007 01:09 AM

Reeve of shinra is checking my thread, as I type.
Good to see you, old school friend. :)

DementedMindz 02-26-2007 01:09 AM

seems like its working alot better then the last one. my stats use to stay the same alot on the 3.5.4 one but this one is reading the stats pretty well Page generated in 0.32 seconds (70.22% PHP - 29.78% MySQL) with 21 queries and the php and mysql change with each refresh where as the last one was reading it wrong it seemed.

TECK 02-26-2007 01:12 AM

Thanks for the feedback. That's the reason why I told to ncweb not to use the old code.
The new one is pretty elegant. :)

You can see if it's working well this way: 70.22% PHP + 29.78% MySQL = 100% code ops.

DementedMindz 02-26-2007 01:22 AM

yeah the last version on 3.5.4 wouldn't do that this is much nicer and works 100% every time only thing I have left to do now is enable-memory-limit in php. thanks again.

ncweb 02-26-2007 01:26 AM

I find two instances of this in File: init.php (folder /includes)
Code:

if (!empty($db->explain))
{
        $db->timer_stop(false);
}

One is at line: 213 and the other near the end at line: 432. I should be replacing the one at the end right?

Either way I am getting some very wierd numbers (-28 php - 128% mysql); please see screenshot. It always says more mysql than php, shouldn't that be the other way around? Thanks...

DementedMindz 02-26-2007 01:43 AM

Quote:

Originally Posted by ncweb (Post 1190785)
I find two instances of this in File: init.php (folder /includes)
Code:

if (!empty($db->explain))
{
        $db->timer_stop(false);
}

One is at line: 213 and the other near the end at line: 432. I should be replacing the one at the end right?

Either way I am getting some very wierd numbers (-28 php - 128% mysql); please see screenshot. It always says more mysql than php, shouldn't that be the other way around? Thanks...


how can you find that one when it says to search for this..

Code:

if ($vbulletin->session->vars['styleid'] != 0)
{
        $vbulletin->userinfo['styleid'] = $vbulletin->session->vars['styleid'];
}

if (!empty($db->explain))
{
        $db->timer_stop(false);
}


ncweb 02-26-2007 01:46 AM

Quote:

Originally Posted by ncweb (Post 1190785)
Either way I am getting some very wierd numbers (-28 php - 128% mysql); please see screenshot. It always says more mysql than php, shouldn't that be the other way around? Thanks...

Any Ideas on this; it happens on both my winXP and CentOS 4.4 dev box. Has anyone else seen results like this? I'd provide some details of my LAMP setup but don't know what would be helpful. I was getting normal results before and this has me scratching my head :eek:


All times are GMT. The time now is 01:40 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01410 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete