{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/3scale/lua-resty-url/pulls/8","id":202300451,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyMzAwNDUx","html_url":"https://github.com/3scale/lua-resty-url/pull/8","diff_url":"https://github.com/3scale/lua-resty-url/pull/8.diff","patch_url":"https://github.com/3scale/lua-resty-url/pull/8.patch","issue_url":"https://api.github.com/repos/3scale/lua-resty-url/issues/8","number":8,"state":"closed","locked":false,"title":"performance optimization","user":{"login":"mikz","id":154571,"node_id":"MDQ6VXNlcjE1NDU3MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/154571?v=4","gravatar_id":"","url":"https://api.github.com/users/mikz","html_url":"https://github.com/mikz","followers_url":"https://api.github.com/users/mikz/followers","following_url":"https://api.github.com/users/mikz/following{/other_user}","gists_url":"https://api.github.com/users/mikz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikz/subscriptions","organizations_url":"https://api.github.com/users/mikz/orgs","repos_url":"https://api.github.com/users/mikz/repos","events_url":"https://api.github.com/users/mikz/events{/privacy}","received_events_url":"https://api.github.com/users/mikz/received_events","type":"User","site_admin":false},"body":"# Before\r\n```\r\nWarming up --------------------------------------\r\n           parse_uri\r\n    277470 i/100ms\r\n\r\n               split\r\n    159546 i/100ms\r\n\r\nCalculating -------------------------------------\r\n  3494402.5 (±3.2%) i/s -   34961220 in  10.015314s\r\n  1747467.2 (±4.1%) i/s -   17550060 in  10.060768s\r\n```\r\n\r\n# After \r\n```\r\nWarming up --------------------------------------\r\n           parse_uri\r\n    269922 i/100ms\r\n\r\n               split\r\n    256759 i/100ms\r\n\r\nCalculating -------------------------------------\r\n  3126502.1 (±6.6%) i/s -   31310952 in  10.066162s\r\n  2952137.4 (±3.7%) i/s -   29527285 in  10.016740s\r\n```\r\n\r\n# Conclustion\r\n\r\nAlmost 2x improvement.","created_at":"2018-07-18T15:52:08Z","updated_at":"2018-07-19T13:21:49Z","closed_at":"2018-07-19T13:21:49Z","merged_at":"2018-07-19T13:21:49Z","merge_commit_sha":"2ccfc8023f3a982d4838d1d78fd9d936910102b3","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/3scale/lua-resty-url/pulls/8/commits","review_comments_url":"https://api.github.com/repos/3scale/lua-resty-url/pulls/8/comments","review_comment_url":"https://api.github.com/repos/3scale/lua-resty-url/pulls/comments{/number}","comments_url":"https://api.github.com/repos/3scale/lua-resty-url/issues/8/comments","statuses_url":"https://api.github.com/repos/3scale/lua-resty-url/statuses/dab26790de09fa7e14baea8a7c231b290ae36c31","head":{"label":"3scale:performance","ref":"performance","sha":"dab26790de09fa7e14baea8a7c231b290ae36c31","user":{"login":"3scale","id":21415,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxNDE1","avatar_url":"https://avatars0.githubusercontent.com/u/21415?v=4","gravatar_id":"","url":"https://api.github.com/users/3scale","html_url":"https://github.com/3scale","followers_url":"https://api.github.com/users/3scale/followers","following_url":"https://api.github.com/users/3scale/following{/other_user}","gists_url":"https://api.github.com/users/3scale/gists{/gist_id}","starred_url":"https://api.github.com/users/3scale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3scale/subscriptions","organizations_url":"https://api.github.com/users/3scale/orgs","repos_url":"https://api.github.com/users/3scale/repos","events_url":"https://api.github.com/users/3scale/events{/privacy}","received_events_url":"https://api.github.com/users/3scale/received_events","type":"Organization","site_admin":false},"repo":{"id":96202770,"node_id":"MDEwOlJlcG9zaXRvcnk5NjIwMjc3MA==","name":"lua-resty-url","full_name":"3scale/lua-resty-url","owner":{"login":"3scale","id":21415,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxNDE1","avatar_url":"https://avatars0.githubusercontent.com/u/21415?v=4","gravatar_id":"","url":"https://api.github.com/users/3scale","html_url":"https://github.com/3scale","followers_url":"https://api.github.com/users/3scale/followers","following_url":"https://api.github.com/users/3scale/following{/other_user}","gists_url":"https://api.github.com/users/3scale/gists{/gist_id}","starred_url":"https://api.github.com/users/3scale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3scale/subscriptions","organizations_url":"https://api.github.com/users/3scale/orgs","repos_url":"https://api.github.com/users/3scale/repos","events_url":"https://api.github.com/users/3scale/events{/privacy}","received_events_url":"https://api.github.com/users/3scale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/3scale/lua-resty-url","description":"OpenResty library for parsing URI","fork":false,"url":"https://api.github.com/repos/3scale/lua-resty-url","forks_url":"https://api.github.com/repos/3scale/lua-resty-url/forks","keys_url":"https://api.github.com/repos/3scale/lua-resty-url/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3scale/lua-resty-url/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3scale/lua-resty-url/teams","hooks_url":"https://api.github.com/repos/3scale/lua-resty-url/hooks","issue_events_url":"https://api.github.com/repos/3scale/lua-resty-url/issues/events{/number}","events_url":"https://api.github.com/repos/3scale/lua-resty-url/events","assignees_url":"https://api.github.com/repos/3scale/lua-resty-url/assignees{/user}","branches_url":"https://api.github.com/repos/3scale/lua-resty-url/branches{/branch}","tags_url":"https://api.github.com/repos/3scale/lua-resty-url/tags","blobs_url":"https://api.github.com/repos/3scale/lua-resty-url/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3scale/lua-resty-url/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3scale/lua-resty-url/git/refs{/sha}","trees_url":"https://api.github.com/repos/3scale/lua-resty-url/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3scale/lua-resty-url/statuses/{sha}","languages_url":"https://api.github.com/repos/3scale/lua-resty-url/languages","stargazers_url":"https://api.github.com/repos/3scale/lua-resty-url/stargazers","contributors_url":"https://api.github.com/repos/3scale/lua-resty-url/contributors","subscribers_url":"https://api.github.com/repos/3scale/lua-resty-url/subscribers","subscription_url":"https://api.github.com/repos/3scale/lua-resty-url/subscription","commits_url":"https://api.github.com/repos/3scale/lua-resty-url/commits{/sha}","git_commits_url":"https://api.github.com/repos/3scale/lua-resty-url/git/commits{/sha}","comments_url":"https://api.github.com/repos/3scale/lua-resty-url/comments{/number}","issue_comment_url":"https://api.github.com/repos/3scale/lua-resty-url/issues/comments{/number}","contents_url":"https://api.github.com/repos/3scale/lua-resty-url/contents/{+path}","compare_url":"https://api.github.com/repos/3scale/lua-resty-url/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3scale/lua-resty-url/merges","archive_url":"https://api.github.com/repos/3scale/lua-resty-url/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3scale/lua-resty-url/downloads","issues_url":"https://api.github.com/repos/3scale/lua-resty-url/issues{/number}","pulls_url":"https://api.github.com/repos/3scale/lua-resty-url/pulls{/number}","milestones_url":"https://api.github.com/repos/3scale/lua-resty-url/milestones{/number}","notifications_url":"https://api.github.com/repos/3scale/lua-resty-url/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3scale/lua-resty-url/labels{/name}","releases_url":"https://api.github.com/repos/3scale/lua-resty-url/releases{/id}","deployments_url":"https://api.github.com/repos/3scale/lua-resty-url/deployments","created_at":"2017-07-04T09:49:23Z","updated_at":"2018-07-18T15:03:00Z","pushed_at":"2018-07-19T13:21:49Z","git_url":"git://github.com/3scale/lua-resty-url.git","ssh_url":"git@github.com:3scale/lua-resty-url.git","clone_url":"https://github.com/3scale/lua-resty-url.git","svn_url":"https://github.com/3scale/lua-resty-url","homepage":null,"size":31,"stargazers_count":8,"watchers_count":8,"language":"Lua","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":0,"watchers":8,"default_branch":"master"}},"base":{"label":"3scale:master","ref":"master","sha":"ed496183a81461da8651e9b4cd06d3272a64bf1c","user":{"login":"3scale","id":21415,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxNDE1","avatar_url":"https://avatars0.githubusercontent.com/u/21415?v=4","gravatar_id":"","url":"https://api.github.com/users/3scale","html_url":"https://github.com/3scale","followers_url":"https://api.github.com/users/3scale/followers","following_url":"https://api.github.com/users/3scale/following{/other_user}","gists_url":"https://api.github.com/users/3scale/gists{/gist_id}","starred_url":"https://api.github.com/users/3scale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3scale/subscriptions","organizations_url":"https://api.github.com/users/3scale/orgs","repos_url":"https://api.github.com/users/3scale/repos","events_url":"https://api.github.com/users/3scale/events{/privacy}","received_events_url":"https://api.github.com/users/3scale/received_events","type":"Organization","site_admin":false},"repo":{"id":96202770,"node_id":"MDEwOlJlcG9zaXRvcnk5NjIwMjc3MA==","name":"lua-resty-url","full_name":"3scale/lua-resty-url","owner":{"login":"3scale","id":21415,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIxNDE1","avatar_url":"https://avatars0.githubusercontent.com/u/21415?v=4","gravatar_id":"","url":"https://api.github.com/users/3scale","html_url":"https://github.com/3scale","followers_url":"https://api.github.com/users/3scale/followers","following_url":"https://api.github.com/users/3scale/following{/other_user}","gists_url":"https://api.github.com/users/3scale/gists{/gist_id}","starred_url":"https://api.github.com/users/3scale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3scale/subscriptions","organizations_url":"https://api.github.com/users/3scale/orgs","repos_url":"https://api.github.com/users/3scale/repos","events_url":"https://api.github.com/users/3scale/events{/privacy}","received_events_url":"https://api.github.com/users/3scale/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/3scale/lua-resty-url","description":"OpenResty library for parsing URI","fork":false,"url":"https://api.github.com/repos/3scale/lua-resty-url","forks_url":"https://api.github.com/repos/3scale/lua-resty-url/forks","keys_url":"https://api.github.com/repos/3scale/lua-resty-url/keys{/key_id}","collaborators_url":"https://api.github.com/repos/3scale/lua-resty-url/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/3scale/lua-resty-url/teams","hooks_url":"https://api.github.com/repos/3scale/lua-resty-url/hooks","issue_events_url":"https://api.github.com/repos/3scale/lua-resty-url/issues/events{/number}","events_url":"https://api.github.com/repos/3scale/lua-resty-url/events","assignees_url":"https://api.github.com/repos/3scale/lua-resty-url/assignees{/user}","branches_url":"https://api.github.com/repos/3scale/lua-resty-url/branches{/branch}","tags_url":"https://api.github.com/repos/3scale/lua-resty-url/tags","blobs_url":"https://api.github.com/repos/3scale/lua-resty-url/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/3scale/lua-resty-url/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/3scale/lua-resty-url/git/refs{/sha}","trees_url":"https://api.github.com/repos/3scale/lua-resty-url/git/trees{/sha}","statuses_url":"https://api.github.com/repos/3scale/lua-resty-url/statuses/{sha}","languages_url":"https://api.github.com/repos/3scale/lua-resty-url/languages","stargazers_url":"https://api.github.com/repos/3scale/lua-resty-url/stargazers","contributors_url":"https://api.github.com/repos/3scale/lua-resty-url/contributors","subscribers_url":"https://api.github.com/repos/3scale/lua-resty-url/subscribers","subscription_url":"https://api.github.com/repos/3scale/lua-resty-url/subscription","commits_url":"https://api.github.com/repos/3scale/lua-resty-url/commits{/sha}","git_commits_url":"https://api.github.com/repos/3scale/lua-resty-url/git/commits{/sha}","comments_url":"https://api.github.com/repos/3scale/lua-resty-url/comments{/number}","issue_comment_url":"https://api.github.com/repos/3scale/lua-resty-url/issues/comments{/number}","contents_url":"https://api.github.com/repos/3scale/lua-resty-url/contents/{+path}","compare_url":"https://api.github.com/repos/3scale/lua-resty-url/compare/{base}...{head}","merges_url":"https://api.github.com/repos/3scale/lua-resty-url/merges","archive_url":"https://api.github.com/repos/3scale/lua-resty-url/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/3scale/lua-resty-url/downloads","issues_url":"https://api.github.com/repos/3scale/lua-resty-url/issues{/number}","pulls_url":"https://api.github.com/repos/3scale/lua-resty-url/pulls{/number}","milestones_url":"https://api.github.com/repos/3scale/lua-resty-url/milestones{/number}","notifications_url":"https://api.github.com/repos/3scale/lua-resty-url/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/3scale/lua-resty-url/labels{/name}","releases_url":"https://api.github.com/repos/3scale/lua-resty-url/releases{/id}","deployments_url":"https://api.github.com/repos/3scale/lua-resty-url/deployments","created_at":"2017-07-04T09:49:23Z","updated_at":"2018-07-18T15:03:00Z","pushed_at":"2018-07-19T13:21:49Z","git_url":"git://github.com/3scale/lua-resty-url.git","ssh_url":"git@github.com:3scale/lua-resty-url.git","clone_url":"https://github.com/3scale/lua-resty-url.git","svn_url":"https://github.com/3scale/lua-resty-url","homepage":null,"size":31,"stargazers_count":8,"watchers_count":8,"language":"Lua","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":2,"open_issues":0,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/3scale/lua-resty-url/pulls/8"},"html":{"href":"https://github.com/3scale/lua-resty-url/pull/8"},"issue":{"href":"https://api.github.com/repos/3scale/lua-resty-url/issues/8"},"comments":{"href":"https://api.github.com/repos/3scale/lua-resty-url/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/3scale/lua-resty-url/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/3scale/lua-resty-url/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/3scale/lua-resty-url/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/3scale/lua-resty-url/statuses/dab26790de09fa7e14baea8a7c231b290ae36c31"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"mikz","id":154571,"node_id":"MDQ6VXNlcjE1NDU3MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/154571?v=4","gravatar_id":"","url":"https://api.github.com/users/mikz","html_url":"https://github.com/mikz","followers_url":"https://api.github.com/users/mikz/followers","following_url":"https://api.github.com/users/mikz/following{/other_user}","gists_url":"https://api.github.com/users/mikz/gists{/gist_id}","starred_url":"https://api.github.com/users/mikz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikz/subscriptions","organizations_url":"https://api.github.com/users/mikz/orgs","repos_url":"https://api.github.com/users/mikz/repos","events_url":"https://api.github.com/users/mikz/events{/privacy}","received_events_url":"https://api.github.com/users/mikz/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":115,"deletions":31,"changed_files":7}}
{"actor":{"display_login":"mikz"}}