Project:
UbercartCategory:
bug reportPriority:
normalAssigned:
UnassignedStatus:
fixedOriginally I thought it was the webfm module that caused my sites extreme slownes so I submitted an issue with the webfm guys but with no luck there.
Today I discovered great improvements in speed by disabling the Add to cart field in my views table, the page execution time jumped from 16644.24 ms to 343.69 ms. which is just amazing.
By having the Add to cart field enabled in my views table with webfm disabled the page excution time is still 1310.15 ms. compared to 343.69 ms without Add to cart field.
I'm not completely sure what you need to further debug this to pin point where the problem is so i've attached three debug exports
- with webfm module enabled and Add to cart field (devel_export_atc_enabled.html).
- without add to cart field (devel_export_atc_disabled.html).
- webfm module disabled and add to cart field (devel_export_atc_enabled_webfm_disabled.html).
Please let me know if you need anymore information.
Cheers.
| Attachment | Size |
|---|---|
| devel_export_atc_enabled.html | 135.87 KB |
| devel_export_atc_disabled.html | 89.28 KB |
| devel_export_atc_enabled_webfm_disabled.html | 130.97 KB |

Re: Ubercart add to cart field + webfm attachments to nodes caus
Tom, you might need to check your Ubercart version. If you're on the latest code and still have this issue, let me know, otherwise it may be related to the old product hook_form() that Lyle fixed a couple releases ago.
Re: Re: Ubercart add to cart field + webfm attachments to nodes
Thanks Ryan, I updated Ubercart from the bazaar release a few days ago, is this to old?
Re: Re: Re: Ubercart add to cart field + webfm attachments to no
Nope, that should have the fix. We'll have to look into it again next week... will keep a bookmark of this thread till then.
Re: Ubercart add to cart field + webfm attachments to nodes caus
I looked at the files where you had webfm enabled, and I noticed that the database queries only account for a fraction of the execution time. 201.55 seconds for enabled add to cart and 26.98 for disabled. Rendering the Add to Cart form shouldn't use up a lot of resources, so I don't know what's really going on here.
Re: Re: Ubercart add to cart field + webfm attachments to nodes
Thank you for taking the time to look through it Lyle, I've been trying to figure out whats causing the problem over the passed week and I've run out of ideas how to pin point where the problem is coming from.. Would you have any suggestions I could do that could make it a bit more obvious whats causing the problem?
Re: Re: Re: Ubercart add to cart field + webfm attachments to no
One thing that might help is the YSlow extension for the Firebug Firefox plugin.
Firebug: http://www.getfirebug.com/
YSlow: http://developer.yahoo.com/yslow/
You can run YSlow for any page of any site and it'll give you speed performance tests, it might give some clues, but it might not. Worth a shot I'd think.
Re: Re: Re: Re: Ubercart add to cart field + webfm attachments t
Thank you torgopizza, I never heard of yslow, looks very cool though it doesn't yet work on firefox 3 beta 5.
It looks like the slow down has been fixed, I updated the webfm module and the it seems to have solved problem! I still don't know what exactly was causing the problem but its working like a charm now.
Thanks guys