{"action":"created","issue":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-gtfs-modules/issues/98","repository_url":"https://api.github.com/repos/OneBusAway/onebusaway-gtfs-modules","labels_url":"https://api.github.com/repos/OneBusAway/onebusaway-gtfs-modules/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/OneBusAway/onebusaway-gtfs-modules/issues/98/comments","events_url":"https://api.github.com/repos/OneBusAway/onebusaway-gtfs-modules/issues/98/events","html_url":"https://github.com/OneBusAway/onebusaway-gtfs-modules/issues/98","id":303959695,"number":98,"title":"Microoptimalization: Avoid creating new calendars in ServiceDate","user":{"login":"skjolber","id":1031478,"avatar_url":"https://avatars2.githubusercontent.com/u/1031478?v=4","gravatar_id":"","url":"https://api.github.com/users/skjolber","html_url":"https://github.com/skjolber","followers_url":"https://api.github.com/users/skjolber/followers","following_url":"https://api.github.com/users/skjolber/following{/other_user}","gists_url":"https://api.github.com/users/skjolber/gists{/gist_id}","starred_url":"https://api.github.com/users/skjolber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skjolber/subscriptions","organizations_url":"https://api.github.com/users/skjolber/orgs","repos_url":"https://api.github.com/users/skjolber/repos","events_url":"https://api.github.com/users/skjolber/events{/privacy}","received_events_url":"https://api.github.com/users/skjolber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-09T19:49:31Z","updated_at":"2018-03-11T02:26:48Z","closed_at":null,"author_association":"NONE","body":"**Summary:** \r\n\r\nServiceDate.getCalendarForDate(..) used 4.5 % CPU time in one of our benchmarks\r\n\r\n**Steps to reproduce:** \r\n\r\nRun performance testing using Open Trip Planner\r\n\r\n**Expected behavior:** \r\n\r\nRun fast\r\n\r\n**Observed behavior:** \r\n\r\nWastes time constructing calendars\r\n\r\n**Platform:** \r\n\r\nJava 8\r\n"},"comment":{"url":"https://api.github.com/repos/OneBusAway/onebusaway-gtfs-modules/issues/comments/372084113","html_url":"https://github.com/OneBusAway/onebusaway-gtfs-modules/issues/98#issuecomment-372084113","issue_url":"https://api.github.com/repos/OneBusAway/onebusaway-gtfs-modules/issues/98","id":372084113,"user":{"login":"barbeau","id":928045,"avatar_url":"https://avatars0.githubusercontent.com/u/928045?v=4","gravatar_id":"","url":"https://api.github.com/users/barbeau","html_url":"https://github.com/barbeau","followers_url":"https://api.github.com/users/barbeau/followers","following_url":"https://api.github.com/users/barbeau/following{/other_user}","gists_url":"https://api.github.com/users/barbeau/gists{/gist_id}","starred_url":"https://api.github.com/users/barbeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barbeau/subscriptions","organizations_url":"https://api.github.com/users/barbeau/orgs","repos_url":"https://api.github.com/users/barbeau/repos","events_url":"https://api.github.com/users/barbeau/events{/privacy}","received_events_url":"https://api.github.com/users/barbeau/received_events","type":"User","site_admin":false},"created_at":"2018-03-11T02:26:48Z","updated_at":"2018-03-11T02:26:48Z","author_association":"OWNER","body":"Mainly my experience with http://gtfs.openov.nl/gtfs/gtfs-openov-nl.zip.\r\n\r\nSee https://github.com/CUTR-at-USF/gtfs-realtime-validator/issues/123#issuecomment-293679370.  \r\n\r\nI haven't looked into it in detail but my assumption is that the exploded calendar_dates.txt (instead of representation in calendar.txt) is causing problems.  And, if more Calendars are being instantiated that needed that could certainly cause problems - reading your comments again though I'm not sure that's what you meant.  If you have any additional insight please let me know."}}
{"actor":{"display_login":"barbeau"}}