06-02-2011, 01:11 PM
[eluser]idofr[/eluser]
hey,
i'm currently working on switching a site from normal old fashion code to CI, a site which includes a lot of image operations.
one of the things i noticed i that a very simple function which normally took less than a second to return an answer, now takes between 3-4 seconds which is a very big issue because it's one of the lighter functions in the code.
the function is in one of the models and is called from a controller function which is called using Ajax, i've isolated the ajax and got no difference.
another thing that i've tried was to change the address of the folder to the actual physical address on my machine, this didn't help much either.
do you have any other ideas?
thank you for your time and attention,
Ido
hey,
i'm currently working on switching a site from normal old fashion code to CI, a site which includes a lot of image operations.
one of the things i noticed i that a very simple function which normally took less than a second to return an answer, now takes between 3-4 seconds which is a very big issue because it's one of the lighter functions in the code.
the function is in one of the models and is called from a controller function which is called using Ajax, i've isolated the ajax and got no difference.
another thing that i've tried was to change the address of the folder to the actual physical address on my machine, this didn't help much either.
do you have any other ideas?
thank you for your time and attention,
Ido