Previous Thread
Next Thread
Print Thread
Rate Thread
#103537 02/13/2002 2:52 PM
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
Joined: Dec 2000
Posts: 730
what can i do to optimize my scripts to minimize the used cpu-time / memory?? [Linked Image]
have you some useful hints for me?


TIA
joking

Sponsored Links
#103538 02/13/2002 7:36 PM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
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
#103539 02/13/2002 7:45 PM
Joined: Sep 2000
Posts: 755
P.I.T.A. / Programmer
P.I.T.A. / Programmer
Offline
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
#103540 02/16/2002 4:26 PM
Joined: Dec 2000
Posts: 730
deutscher moderator / v5 specialist
deutscher moderator / v5 specialist
Offline
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]

#103541 02/16/2002 10:43 PM
Joined: Aug 2000
Posts: 335
Member
Member
Offline
Joined: Aug 2000
Posts: 335
You need to talk Infopop into using DB_File (or their own variant).

Sponsored Links
#103542 02/16/2002 11:30 PM
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.
#103543 02/17/2002 5:54 PM
Joined: Aug 2000
Posts: 335
Member
Member
Offline
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%. smile


Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 3882
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 20
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
isaac 2
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)