Hello,
I just installed your script. I had problems with attributes, as well known.
Situation:
This site is on a cloud hosting, so resources are not really a block. Remaining inside some range (that we may increase if needed whenever we want, in real time), we may 'move' resources a bit around and since it's cloud, it use resources as needed.
But of course there are some limits (and we didn't anything atm to investigate how is possibile to better tune mysql for example).
Well, I put some products with some attributes in the cart, obtaining these results:
Before query cache
Home page
query: 1156 query time: 0,3294 Parse time: 0,6650
Cart page (I already worked a bit on attributes flags to lower # of queries from around 13000 to 6600)
query: 6662 query time: 1,6375 Parse time: 2,3140
After query cache
Home page
query: 234 query time: 0,3178 Parse time: 0,5960
Cart page
query: 340 query time: 1,3861 Parse time: 2,0980
Consideration: in cart page we had a cut of 95% in # of queries. That's really great! More, that's incredible.
Unfortuntaley performances didn't improve so much (some test gave even worst results).
I tried checking server resources usage charts and it seems (a bit too early to see well on the chart) that we had a growth in memory and cpu usage (we already stress a bit cpu with url rewrite and other htaccess rules for performance gaining moving load from bandwidth to cpu).
Now I decided to put QC_USE_PRODUCT_QUERY_DETECTION false and things started goingi really well!
Home page
query: 285 query time: 0,1769 Parse time: 0,460
Cart page
query: 380 query time: 0,5018 Parse time: 1,0980
A bit increase of # of queries (irrilevant, but strange as you stated)
Good values for the situation. A bit strange that without this mod query time to execute 300 queries is something like 0,03 but with this mod, it becomes 0.17 / 0.5 (strange but sure it is so, since I made many reloads).
Results: this mod is great. Even in cloud hosting where ther's not a real block, we gained seconds. For us it's not a matter of server resources but user satisfaction. Now we'll work on parse time (I found an awfully made template...)
Thank you data_digger!
Paolo De Dionigi
Co-maintainer of Zen Cart Italia