Welcome Guest, Not a member yet? Register   Sign In
Benchmark: Compacted CI core
#11

[eluser]xwero[/eluser]
i wonder if the difference in speed is noticeable, it are hundreds of seconds that got shaved off.
#12

[eluser]Yorick Peterse[/eluser]
[quote author="xwero" date="1241635382"]i wonder if the difference in speed is noticeable, it are hundreds of seconds that got shaved off.[/quote]

If you are the only one using it then no, but if it's being used by thousands and thousands of users at the same time you will notice it, bigtime.
#13

[eluser]Dam1an[/eluser]
Although you probably wouldn't notice a difference in the page rendering time (unless you have hugely complex pages with loads and loads of libaries and models)
That doesn;t mean this has no benefit, by reducing the render time (even if only by a few hundredths), you can serve more requests in a given period of time, and you also reduce your memory footprint for each request, so you can handle more simultaneous requests...

If anyone wants to do the calculations of how many requests/hour the benchmark figures could do, go for it Wink
#14

[eluser]louis w[/eluser]
Very interesting indeed.
Are you compacting the entire application or the system folder? What kind of stats do you get if you just compact the system?
#15

[eluser]xwero[/eluser]
If there are many visitors are there no better solutions?
#16

[eluser]Dam1an[/eluser]
@louis: That was compacting both the system and application folder, but all that was in the application folder was the default files, so some config files, 1 basic controller, 1 basic view, so it would be only a few thousandths difference then with just the core compacted

@xwero: I'm not saying there are no other solutions, and I'm not saying this alone will solve all performance problem... This was just an experiemtnt to see if it would make any difference... It would be interesting to see these tests run against a server with caching system, or on a production server with lots of traffic
#17

[eluser]wiredesignz[/eluser]
Perhaps you need to read the CodeIgniter license agreement again before removing comments from the core files.
#18

[eluser]Dam1an[/eluser]
I just re-read the license and technically removing the code comments is ok, but the copyright comment muct remain at the top of each file




Theme © iAndrew 2016 - Forum software by © MyBB