{"action":"opened","issue":{"url":"https://api.github.com/repos/dibyendumajumdar/ravi/issues/77","labels_url":"https://api.github.com/repos/dibyendumajumdar/ravi/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/dibyendumajumdar/ravi/issues/77/comments","events_url":"https://api.github.com/repos/dibyendumajumdar/ravi/issues/77/events","html_url":"https://github.com/dibyendumajumdar/ravi/issues/77","id":128542353,"number":77,"title":"Enable background JIT compilation","user":{"login":"dibyendumajumdar","id":1548494,"avatar_url":"https://avatars.githubusercontent.com/u/1548494?v=3","gravatar_id":"","url":"https://api.github.com/users/dibyendumajumdar","html_url":"https://github.com/dibyendumajumdar","followers_url":"https://api.github.com/users/dibyendumajumdar/followers","following_url":"https://api.github.com/users/dibyendumajumdar/following{/other_user}","gists_url":"https://api.github.com/users/dibyendumajumdar/gists{/gist_id}","starred_url":"https://api.github.com/users/dibyendumajumdar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dibyendumajumdar/subscriptions","organizations_url":"https://api.github.com/users/dibyendumajumdar/orgs","repos_url":"https://api.github.com/users/dibyendumajumdar/repos","events_url":"https://api.github.com/users/dibyendumajumdar/events{/privacy}","received_events_url":"https://api.github.com/users/dibyendumajumdar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dibyendumajumdar/ravi/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-25T13:57:36Z","updated_at":"2016-01-25T13:57:36Z","closed_at":null,"body":"At present the JIT compilation blocks execution - this slows down overall execution; we need to perform JIT compilation in the background and let the execution continue in interpreted mode until the code has been complied.\r\n\r\nMaybe two modes are best:\r\n1. Explicit request to compile should be synchronous\r\n2. Automatic compilation should be in the background - we need a way to prioritise the auto compilation as well to ensure that the most expensive functions are compiled first."}}