Closed mstn closed 10 years ago
Changed strategy. Json files are generated on the server side at compile time.
See https://github.com/unmonastery/untransit/commit/cdb092212a5fb075d281cd45a4b60e3f7be9adce
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.
Fast on Google Chrome Mobile and Firefox Mobile.
This issue will be solved with #16
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.