{"action":"created","issue":{"url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/314","repository_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr","labels_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/314/comments","events_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/314/events","html_url":"https://github.com/TYPO3-Solr/ext-solr/pull/314","id":145724509,"number":314,"title":"[TASK] Improve performance of record indexer","user":{"login":"dmitryd","id":306133,"avatar_url":"https://avatars.githubusercontent.com/u/306133?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitryd","html_url":"https://github.com/dmitryd","followers_url":"https://api.github.com/users/dmitryd/followers","following_url":"https://api.github.com/users/dmitryd/following{/other_user}","gists_url":"https://api.github.com/users/dmitryd/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitryd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitryd/subscriptions","organizations_url":"https://api.github.com/users/dmitryd/orgs","repos_url":"https://api.github.com/users/dmitryd/repos","events_url":"https://api.github.com/users/dmitryd/events{/privacy}","received_events_url":"https://api.github.com/users/dmitryd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-04T15:48:37Z","updated_at":"2016-04-04T15:50:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/pulls/314","html_url":"https://github.com/TYPO3-Solr/ext-solr/pull/314","diff_url":"https://github.com/TYPO3-Solr/ext-solr/pull/314.diff","patch_url":"https://github.com/TYPO3-Solr/ext-solr/pull/314.patch"},"body":"Cache for language information is not kept across instances of the indexer. Each new record\r\nrequires a new instance of the indexer but language information does not change between creation of\r\nindexer instances. Language information is obtained by instantiating TSFE and parsing TS templates.\r\nThis can take 0.5-2 seconds depending on the amount of TypoScript. It makes sense to cache this\r\ninformation statically. It helps to shorten indexing times dramatically and lower CPU usage on\r\nthe server."},"comment":{"url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/comments/205361695","html_url":"https://github.com/TYPO3-Solr/ext-solr/pull/314#issuecomment-205361695","issue_url":"https://api.github.com/repos/TYPO3-Solr/ext-solr/issues/314","id":205361695,"user":{"login":"dmitryd","id":306133,"avatar_url":"https://avatars.githubusercontent.com/u/306133?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitryd","html_url":"https://github.com/dmitryd","followers_url":"https://api.github.com/users/dmitryd/followers","following_url":"https://api.github.com/users/dmitryd/following{/other_user}","gists_url":"https://api.github.com/users/dmitryd/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitryd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitryd/subscriptions","organizations_url":"https://api.github.com/users/dmitryd/orgs","repos_url":"https://api.github.com/users/dmitryd/repos","events_url":"https://api.github.com/users/dmitryd/events{/privacy}","received_events_url":"https://api.github.com/users/dmitryd/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T15:50:01Z","updated_at":"2016-04-04T15:50:01Z","body":"Helps with about 20,000 news and three languages ;)"}}