|
|||
|
Hey,
First post on the forum, it's a great resource been reading posts for a while... now I seem to have a problem of my own! I have been using Zend Framework for a while now in various projects. I recently undertook a project that requires the use of currency. Naturally, I saw that Zend_Framework had Zend_Currency. I decided to give it a shot. Midway in the project, I noticed my load times were hitting +1 seconds from 0.0xxx, after some trouble shooting I noticed it was coming from Zend_Currency. When I was creating multiple (or even a single) Zend_Currency object it was taking 1.0 to 2.0 seconds in the constructor... Here is a snippet of code that I created to test. PHP Code:
If I set 1 as the max it takes about ~1.5xxx seconds to load. (If I set it @ 0 it takes 0.00xx seconds to load) I think this is very odd for Zend Framework. Everything else is lightning fast. This is why i'm thinking it's something i'm doing wrong. I was wondering if anyone has encountered this. If there is some type of config I need to do in the Zend_Locale or Currency that i'm overlooking? Or If i'm doing it totally wrong? I am currently using Zend_Db and Zend_Acl with no troubles @ all. p.s. I did RTFM several times! ![]() ********** 2008-06-24 Edit I'm trying to achieve long lists of correctly formatted transactions using Zend_Currency Last edited by MrStuff : 06-24-2008 at 12:43 PM. Reason: Code brackets for example. |
|
||||
|
are you using zend_cache?
__________________
Zym Framework - A Zend Framework extension library w/ demo app SpotSec Blog: http://spotsec.com/blog |
|
|||
|
Setting no cache is like driving 20mph where 120 are allowed
![]()
__________________
Greetings Thomas Weidner I18N Team Leader, Zend Framework http://www.thomasweidner.com |
![]() |
| Thread Tools | |
| Display Modes | |
|
|