You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in datatools-ui, there is a GraphQL request that is made to show all of a feed's patterns on a map. This breaks down for very large GTFS feeds (like the NL) and becomes slow (5-10 seconds) for large-ish feeds like NYC buses. This problem was partially the inspiration for #125; however, that issue and its PR ended up adding too much complexity in pursuit of too little (or none at all) optimization.
@evansiroky has done some initial benchmarking to isolate some of this problem, but there may need to be some more tests to isolate this problem. The solution is undetermined, but some suggestions have centered on storing some sort of cached or simplified representation of the shapes rather than fetching them all from a GraphQL query for patterns (with nested shapes).
The text was updated successfully, but these errors were encountered:
Currently in datatools-ui, there is a GraphQL request that is made to show all of a feed's patterns on a map. This breaks down for very large GTFS feeds (like the NL) and becomes slow (5-10 seconds) for large-ish feeds like NYC buses. This problem was partially the inspiration for #125; however, that issue and its PR ended up adding too much complexity in pursuit of too little (or none at all) optimization.
@evansiroky has done some initial benchmarking to isolate some of this problem, but there may need to be some more tests to isolate this problem. The solution is undetermined, but some suggestions have centered on storing some sort of cached or simplified representation of the shapes rather than fetching them all from a GraphQL query for patterns (with nested shapes).
The text was updated successfully, but these errors were encountered: