unmonastery / untransit

Public Transport in Matera and beyond
Other
3 stars 1 forks source link

Very slow on Android default browser #15

Closed mstn closed 10 years ago

mstn commented 10 years ago

It could be a memory leak or bug in comma-separated-values parser. It calls the same function a lot of times. Anyway, not sure. I am going to get rid of this lib and generate json statically on the server.

mstn commented 10 years ago

Changed strategy. Json files are generated on the server side at compile time.

See https://github.com/unmonastery/untransit/commit/cdb092212a5fb075d281cd45a4b60e3f7be9adce

mstn commented 10 years ago

It seems to be related to the number of stops. It does not depend on our models/collections. I tested it with a lot of simple markers disabling everything else and it is still slow.

mstn commented 10 years ago

Fast on Google Chrome Mobile and Firefox Mobile.

mstn commented 10 years ago

This issue will be solved with #16