loadModel Speed Testing Part 2

As promised, I am making the project available for your own testing. This is purely for testing and should not be used in aproduction environment, as it has not had any security measures in place. Use at your own risk! You've been warned. In other words, Try this at home. Not at work.

So, onto the good stuff. A couple of things to be aware of when setting this up. I do not use cakephp in my projects. I have it linked outside of each project, so that I can use one central cake core for all of my projects. As such, you will need to adjust the location of your cake folder in webroot/index.php. Also, be sure to setup your own DB details in the config/ folder. Lastly, be sure to keep your transactions to a respectable amount. These tests could take a while, and depending on your machine config might exceed the default 30 seconds of execution time for a script. As such, I have adjusted my personal php.ini file to allow for a maximum exec time of 300 seconds, and a max of 1024MB for transactions. The memory may not be so much of an issue, as you will be working with small transactions mostly, but it is a consideration. It's because of these 2 factors that this should not be used in a production environment.

Download Here

If you have any questions or comments regarding this testing, please feel free to comment below.

Add Comment