{"action":"created","issue":{"url":"https://api.github.com/repos/iojs/io.js/issues/215","labels_url":"https://api.github.com/repos/iojs/io.js/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/iojs/io.js/issues/215/comments","events_url":"https://api.github.com/repos/iojs/io.js/issues/215/events","html_url":"https://github.com/iojs/io.js/pull/215","id":53080771,"number":215,"title":"[WIP] lib: optimize util.format()","user":{"login":"bnoordhuis","id":275871,"avatar_url":"https://avatars.githubusercontent.com/u/275871?v=3","gravatar_id":"","url":"https://api.github.com/users/bnoordhuis","html_url":"https://github.com/bnoordhuis","followers_url":"https://api.github.com/users/bnoordhuis/followers","following_url":"https://api.github.com/users/bnoordhuis/following{/other_user}","gists_url":"https://api.github.com/users/bnoordhuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bnoordhuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bnoordhuis/subscriptions","organizations_url":"https://api.github.com/users/bnoordhuis/orgs","repos_url":"https://api.github.com/users/bnoordhuis/repos","events_url":"https://api.github.com/users/bnoordhuis/events{/privacy}","received_events_url":"https://api.github.com/users/bnoordhuis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-29T23:26:21Z","updated_at":"2015-01-16T04:45:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/iojs/io.js/pulls/215","html_url":"https://github.com/iojs/io.js/pull/215","diff_url":"https://github.com/iojs/io.js/pull/215.diff","patch_url":"https://github.com/iojs/io.js/pull/215.patch"},"body":"Optimize util.format() by parsing the format string and generating\r\nspecialized code on the fly, then caching the result in a LRU list.\r\n\r\nThis change is based on the observation that most applications that\r\nlog extensively, often have very skewed distributions of log patterns.\r\nIt's common to see top 10 or top 25 of popular patterns, followed by\r\na long (sometimes very long) tail of less popular patterns.\r\n\r\nThis is a work in progress: the common case is currently 2-25x faster\r\nbut the worst case - every pattern unique - is 4-5x slower.\r\n\r\nWIP, soliciting comments."},"comment":{"url":"https://api.github.com/repos/iojs/io.js/issues/comments/70207846","html_url":"https://github.com/iojs/io.js/pull/215#issuecomment-70207846","issue_url":"https://api.github.com/repos/iojs/io.js/issues/215","id":70207846,"user":{"login":"algesten","id":227204,"avatar_url":"https://avatars.githubusercontent.com/u/227204?v=3","gravatar_id":"","url":"https://api.github.com/users/algesten","html_url":"https://github.com/algesten","followers_url":"https://api.github.com/users/algesten/followers","following_url":"https://api.github.com/users/algesten/following{/other_user}","gists_url":"https://api.github.com/users/algesten/gists{/gist_id}","starred_url":"https://api.github.com/users/algesten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algesten/subscriptions","organizations_url":"https://api.github.com/users/algesten/orgs","repos_url":"https://api.github.com/users/algesten/repos","events_url":"https://api.github.com/users/algesten/events{/privacy}","received_events_url":"https://api.github.com/users/algesten/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T04:45:21Z","updated_at":"2015-01-16T04:45:21Z","body":"@yosuke-furukawa OMG! xD"}}