|
|
|
|
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
|
|
deutscher moderator / v5 specialist
Joined: Dec 2000
Posts: 730 |
what can i do to optimize my scripts to minimize the used cpu-time / memory?? ![[Linked Image]](http://www.desertcactussoftware.com/graphics/smilies/Beige/beigeconfused.gif) have you some useful hints for me? TIA joking
|
|
|
|
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
Your best bet is to profile the script (I don't have any links handy to point to info...do a google search) to find out where the bottlenecks are, and work from there.
--mark
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
|
|
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
|
|
P.I.T.A. / Programmer
Joined: Sep 2000
Posts: 755 |
Also, have a look at this
"Annnnnnnndd now, opening for Iron Maiden...... WYLD STALLYNS!!!" --Bill S. Preston, Esquire and Ted "Theodore " Logan
|
|
|
|
|
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
|
|
deutscher moderator / v5 specialist
Joined: Dec 2000
Posts: 730 |
how can i reduce the time to load big files (membersfile.cgi and emailfile.cgi)? can i cache files and use the cache in all childs? ![[Linked Image]](http://www.desertcactussoftware.com/graphics/smilies/Beige/beigeconfused.gif)
|
|
|
|
|
Joined: Aug 2000
Posts: 335
Member
|
|
Member
Joined: Aug 2000
Posts: 335 |
You need to talk Infopop into using DB_File (or their own variant).
|
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
What, so we can corrupt it more?
Not a bloody chance.
If you're in a position where you need to open memberslist and emailfile all the time, and it's taking forever, you need to shrink the bloody things.
(We have come up with a scheme to make the files obsolete - stay tuned. This is one of the reason we scrapped the idea of a pdnlist file in 6.2.)
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
|
Joined: Aug 2000
Posts: 335
Member
|
|
Member
Joined: Aug 2000
Posts: 335 |
quote: you need to shrink the bloody things
Hmmmm, that's an idea. Maybe you could get your members to "car pool". I.e., have each 10 members share the same member login. That would reduce the size of memberslist.cgi and emailfile.cgi by 90%. 
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 449
Joined: February 2008
|
|
|
Forums63
Topics37,583
Posts293,957
Members13,826
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 3882
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 20
|
|
|
|
|
|