mWater / wwmc-map

0 stars 1 forks source link

Map slow #8

Closed grassick closed 9 years ago

grassick commented 9 years ago

http://c-api.mwater.co/v3/maps/tiles/5/8/12.png?type=wwmc_main

Takes 2.05 seconds.

mbriau commented 9 years ago

I've just tried it in incognito to be sure that it wouldn't use the cache and it was almost instantaneous. Any idea about what could cause the variability?

grassick commented 9 years ago

Caching is on the server, so incognito won't help.

On Thu, Mar 12, 2015 at 12:08 PM, Mathieu Briau notifications@github.com wrote:

I've just tried it in incognito to be sure that it wouldn't use the cache and it was almost instantaneous. Any idea about what could cause the variability?

— Reply to this email directly or view it on GitHub https://github.com/mWater/wwmc-map/issues/8#issuecomment-78512035.

grassick commented 9 years ago

1223ms on local server (best time).

http://127.0.0.1:1234/v3/maps/tiles/5/8/12.png?type=wwmc_main

grassick commented 9 years ago

0/0/0 = 673 ms 1/0/0 = 2743 ms 5/8/12: 1223 ms

From materialized view: 1/0/0: 1183ms 5/8/12: 463ms 0/0/0: 1200ms or 200ms??

grassick commented 9 years ago

Opacity has no effect. Removing id has no effect. Usual zoom level on big monitor: 4 (=256+ tiles ). 5 is 1024 tiles.

5/8/12 is 300ms of user time either way 1/0/0 is 1000ms of user time either way.

Entire map (zoom 4, full screen) = 4 seconds user time.