Welcome Guest, Not a member yet? Register   Sign In
Performance Questions
#9

[eluser]Dam1an[/eluser]
When you load a PHP file, the whole file gets loaded (AFAIK), so ideally, having smaller files would benefit performance. Some people suggest arbitrary cutoff, so if a class is more then X lines, cut it in half, but I don't think thats right... You should divide your controllers/libraries/models how ever seems logical to you

If you're interested, I ran some benchmarks yesterday to see how much difference stripping all the comments and whitespace from the core made (therefore reducing the file size), you can see the results here


Messages In This Thread
Performance Questions - by El Forum - 05-04-2009, 08:35 AM
Performance Questions - by El Forum - 05-04-2009, 08:50 AM
Performance Questions - by El Forum - 05-04-2009, 08:57 AM
Performance Questions - by El Forum - 05-04-2009, 09:12 AM
Performance Questions - by El Forum - 05-04-2009, 09:47 AM
Performance Questions - by El Forum - 05-04-2009, 09:49 AM
Performance Questions - by El Forum - 05-04-2009, 10:07 AM
Performance Questions - by El Forum - 05-06-2009, 11:30 AM
Performance Questions - by El Forum - 05-06-2009, 01:21 PM
Performance Questions - by El Forum - 05-06-2009, 04:30 PM
Performance Questions - by El Forum - 05-06-2009, 06:04 PM
Performance Questions - by El Forum - 05-06-2009, 07:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB