johnsmith153 Posted September 24, 2008 Share Posted September 24, 2008 My PHP file is 110k and it is all server-side stuff. The html thrown to the user is minimal. Is a 110k file a problem for a server, I know 110k of html & images can be a problem for dial-up to download, but how about 110k for a server to process? It would be helpful to know how much longer this may process than say a 30k file. I understand it depend on database connections etc, but lets assume these are similar for both files. Most of the file is text that is printed depending on the query, mainly if statements etc. Link to comment https://forums.phpfreaks.com/topic/125667-is-my-110k-file-a-problem/ Share on other sites More sharing options...
DarkWater Posted September 24, 2008 Share Posted September 24, 2008 How did you manage to make a 110k PHP file? How many lines is this file? Link to comment https://forums.phpfreaks.com/topic/125667-is-my-110k-file-a-problem/#findComment-649739 Share on other sites More sharing options...
discomatt Posted September 24, 2008 Share Posted September 24, 2008 110k sitting in memory is minimal... Whether or not the server struggles to parse it really depends on how well (bad?) you've programmed it. Link to comment https://forums.phpfreaks.com/topic/125667-is-my-110k-file-a-problem/#findComment-649768 Share on other sites More sharing options...
DarkWater Posted September 24, 2008 Share Posted September 24, 2008 110k sitting in memory is minimal... Whether or not the server struggles to parse it really depends on how well (bad?) you've programmed it. I know it's not much for the filesystem, but that's still a HUGE file, which leads me to believe that it wasn't programmed as well as it could have been. Link to comment https://forums.phpfreaks.com/topic/125667-is-my-110k-file-a-problem/#findComment-649785 Share on other sites More sharing options...
discomatt Posted September 24, 2008 Share Posted September 24, 2008 Making assumptions is never good. I'm sure i've got more than a few projects that total over 200kb in plain text... at some executions almost all of it is included. Not to big of a difference, if you ask me. Mine might run slightly better on lighter executions, but if he needs all the code for every execution, it might actually be _more_ efficient. I'd hate to be the one that debugs it though Link to comment https://forums.phpfreaks.com/topic/125667-is-my-110k-file-a-problem/#findComment-649792 Share on other sites More sharing options...
jonsjava Posted September 24, 2008 Share Posted September 24, 2008 ran a simple calculation. That's about 3000 lines of code. Link to comment https://forums.phpfreaks.com/topic/125667-is-my-110k-file-a-problem/#findComment-649796 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.