Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 8 matches
Smarty Forum Index
Author Message
  Topic: GoogleMapsAPI really really really slow
Guinness

Replies: 16
Views: 52333

PostForum: Add-ons   Posted: Thu Nov 01, 2007 3:16 pm   Subject: GoogleMapsAPI really really really slow
I've been wanting to update the GoogleMapAPI to use the PHP5 PDO library as an option, I just haven't gotten around to it. There should be no problem using the PEAR library though. Do you have an inde ...
  Topic: GoogleMapsAPI really really really slow
Guinness

Replies: 16
Views: 52333

PostForum: Add-ons   Posted: Thu Nov 01, 2007 2:24 am   Subject: GoogleMapsAPI really really really slow
I think I have tracked it down to the PEAR connection. I have installed and tested the same script at home on my own server with a local DB and it works just fine. Script execution takes .33 seconds ...
  Topic: GoogleMapsAPI really really really slow
Guinness

Replies: 16
Views: 52333

PostForum: Add-ons   Posted: Wed Oct 31, 2007 10:18 pm   Subject: GoogleMapsAPI really really really slow
if its pulling from the cache, is the php processing time long? or is the time coming from javascript after the fact?

Each addMarkerByAddress pulls from cache and takes between .2 and .3 seconds.
...
  Topic: GoogleMapsAPI really really really slow
Guinness

Replies: 16
Views: 52333

PostForum: Add-ons   Posted: Wed Oct 31, 2007 10:05 pm   Subject: GoogleMapsAPI really really really slow
It should. Also check the php processing time, and check if php is fetching data over http during the process.

I have verified that it is indeed pulling from cache. How would I go about seeing if ...
  Topic: GoogleMapsAPI really really really slow
Guinness

Replies: 16
Views: 52333

PostForum: Add-ons   Posted: Wed Oct 31, 2007 9:40 pm   Subject: GoogleMapsAPI really really really slow
Would this correctly test if its pulling from the local GEOCODES table correctly?

function addMarkerByAddress($address,$title = '',$html = '',$tooltip = '') {
if(( ...
  Topic: GoogleMapsAPI really really really slow
Guinness

Replies: 16
Views: 52333

PostForum: Add-ons   Posted: Wed Oct 31, 2007 7:57 pm   Subject: GoogleMapsAPI really really really slow
It must be looking up all the addresses, so either it is the first time, or your caching is not functioning properly.

That was my guess. My table is populated with geocoded addresses. How do I ve ...
  Topic: GoogleMapsAPI really really really slow
Guinness

Replies: 16
Views: 52333

PostForum: Add-ons   Posted: Wed Oct 31, 2007 6:27 pm   Subject: GoogleMapsAPI really really really slow
Run some profiling, see where the time is being taken. Is the PHP script taking this long, or does it finish right away, then the javascript is what is taking the time?

When I comment out "$ma ...
  Topic: GoogleMapsAPI really really really slow
Guinness

Replies: 16
Views: 52333

PostForum: Add-ons   Posted: Wed Oct 31, 2007 5:24 pm   Subject: GoogleMapsAPI really really really slow
I use this code on a generic map and it takes 60+(!) seconds to populate the map. This cant be normal. Addresses are all geocached in the local database and the select statement doesnt take that lon ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP