Webmaster Forum


Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 01-19-2012, 03:46 PM
ScriptMan's Avatar
Super Moderator
 
Join Date: 02-10-07
Location: Central Kentucky
Posts: 10,254
iTrader: 4 / 100%
Script execution time on a shared server

I am trying to get some wild estimates of how much of a resource pig some code I wrote really is. I should mention it is only something that a user would run once during a conversion process processing some images.

The script is resizing the image as a thumb, saving it and making a DB entry for each image.

If a script took 5 seconds* to execute and process 56 moderate (1.07 MB (1,127,908 bytes) of data ) images on localhost with all the available resources of the computer, how hard of a hit would that be on the average shared server?

I may test it for myself, but I assume twice as many images would just double the time.




*Based on microtime() start to finish
__________________
SEO does not mean Spam Everywhere Online
Scriptman's Playhouse || Ramblings from an old man
2013 resolution: Don't feed trolls
ScriptMan
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
When is it time to upgrade from shared hosting to a VPS or dedicated server? cheese Web Hosting Forum 15 06-07-2011 03:46 AM
Fatal error: Maximum execution time of 30 seconds exceeded in.... JennyRipley Tech Talk 0 10-03-2010 04:03 PM
Change of host / Script execution speeds bobble Web Hosting Forum 1 07-31-2009 08:28 PM
Is there any time limit for the execution of a php file from shell command line? yangyang Coding Forum 2 04-21-2008 01:07 PM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 12:29 AM.
Powered by vBulletin
Copyright © 2000-2013 Jelsoft Enterprises Limited.
Copyright © 2003 - 2013 Escalate Media LP




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.