Page 1 of 1

Active trades / Page load times

Posted: Sat Feb 11, 2012 2:05 am
by vrocks
I have updated (or rather backdated) the query for pulling your Active trades. It will no longer count all of your stacked trades into the total sum. Doing so took up to 2 seconds. Lets do the math... You header active trades query that shows in your menu bar (2) seconds. The link partner a (2) seconds. Link partner b (2)... That is 6 seconds just to count the trade stacks...

While we work on a better solution for obtaining this number your active count will be off, but the pages will load MUCH faster. The view_trade page will load 5 seconds faster! From 7 seconds to 1.5 to 2 seconds...

I think that is a good trade off until we rewrite the query!

Re: Active trades / Page load times

Posted: Sat Feb 11, 2012 11:48 am
by greenguy
I've already noticed that the pages on here are loading MUCH faster - good work!

Re: Active trades / Page load times

Posted: Sat Feb 11, 2012 2:12 pm
by Hincapie
Loads like a dream now! Very good initiative :-)

Re: Active trades / Page load times

Posted: Sat Feb 11, 2012 8:32 pm
by 123anddone
i see number decreased in active trades, what happened ? around 300+ less then was before, trade errors stayed same ?

Re: Active trades / Page load times

Posted: Sun Feb 12, 2012 12:57 am
by greenguy
123anddone wrote:i see number decreased in active trades, what happened ? around 300+ less then was before, trade errors stayed same ?
Re-read vrocks' post as it clearly explains it.