{"action":"created","comment":{"url":"https://api.github.com/repos/openresty/openresty.org/pulls/comments/86089420","pull_request_review_id":6763634,"id":86089420,"diff_hunk":"@@ -63,3 +69,86 @@ So on my laptop, for a single nginx worker, we've got 20k+ r/s. For comparison,\n HelloWorld servers using nginx + php-fpm 5.2.8 gives 4k r/s, Erlang R14B2 raw\n gen_tcp server gives 8k r/s, and [[node.js|http://nodejs.org/] v0.4.8 yields 5.7k\n r/s.\n+\n+--->\n+\n+<!---Below is the original benchmark page from English site.--->\n+\n+# HelloWorld\n+Testing the performance of a HelloWorld server does not mean many things but\n+it does tell us where the ceiling is.\n+测试 HelloWorld 服务器运行效果的意义在于，让我们知道它的瓶颈所在。\n+\n+The HelloWorld server based on [OpenResty](openresty.html) is described in the\n+[GettingStarted](getting-started.html) document.\n+基于 [OpenResty](openresty.html) 的 HelloWorld 服务器，在[新手上路](getting-started.html)页面中有介绍。\n+\n+Below is the result using the command `http_load -p 10 -s 5 http://localhost:8080/` on\n+my ThinkPad T400 laptop with ngx_openresty 1.0.10.1:\n+以下运行结果来自于，配有ngx_openresty 1.0.10.1的 ThinkPad T400 笔记本电脑，并使用命令`http_load -p 10 -s 5 http://localhost:8080/`\n+\n+```\n+139620 fetches, 10 max parallel, 1.67544e+06 bytes, in 5.00001 seconds\n+12 mean bytes/connection\n+27923.9 fetches/sec, 335087 bytes/sec\n+msecs/connect: 0.0531258 mean, 4.076 max, 0.014 min\n+msecs/first-response: 0.258796 mean, 5.353 max, 0.067 min\n+HTTP response codes:\n+  code 200 -- 139620\n+```\n+\n+\n+So on my laptop, for only a single worker nginx server, we've got ~28k r/s.\n+The memory footprint of the `node` process under load is 38.0m VIRT, 2.5m RES.\n+在这台笔记本电脑上，针对一个单一的 nginx 服务器，我们得到的结果是 ~28k r/s。负载下的`node`进程的内存占用是38.0m VIRT, 2.5m RES。","path":"v2/cn/benchmark.md","position":59,"original_position":59,"commit_id":"2e796b1280e894ea289c09dbb4ff0484bc84b766","original_commit_id":"2e796b1280e894ea289c09dbb4ff0484bc84b766","user":{"login":"doujiang24","id":570391,"avatar_url":"https://avatars.githubusercontent.com/u/570391?v=3","gravatar_id":"","url":"https://api.github.com/users/doujiang24","html_url":"https://github.com/doujiang24","followers_url":"https://api.github.com/users/doujiang24/followers","following_url":"https://api.github.com/users/doujiang24/following{/other_user}","gists_url":"https://api.github.com/users/doujiang24/gists{/gist_id}","starred_url":"https://api.github.com/users/doujiang24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doujiang24/subscriptions","organizations_url":"https://api.github.com/users/doujiang24/orgs","repos_url":"https://api.github.com/users/doujiang24/repos","events_url":"https://api.github.com/users/doujiang24/events{/privacy}","received_events_url":"https://api.github.com/users/doujiang24/received_events","type":"User","site_admin":false},"body":"该负载下的 `worker` 进程内存占用是 38.0m VIRT, 2.5m RES。\r\n\r\n@agentzh I think it's a mistake in en doc, `node` should be `worker` ?","created_at":"2016-11-02T08:12:32Z","updated_at":"2016-11-02T08:12:32Z","html_url":"https://github.com/openresty/openresty.org/pull/48#discussion_r86089420","pull_request_url":"https://api.github.com/repos/openresty/openresty.org/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/openresty/openresty.org/pulls/comments/86089420"},"html":{"href":"https://github.com/openresty/openresty.org/pull/48#discussion_r86089420"},"pull_request":{"href":"https://api.github.com/repos/openresty/openresty.org/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/openresty/openresty.org/pulls/48","id":88570976,"html_url":"https://github.com/openresty/openresty.org/pull/48","diff_url":"https://github.com/openresty/openresty.org/pull/48.diff","patch_url":"https://github.com/openresty/openresty.org/pull/48.patch","issue_url":"https://api.github.com/repos/openresty/openresty.org/issues/48","number":48,"state":"open","locked":false,"title":"Adding translation for cn","user":{"login":"tuantuancc","id":22400777,"avatar_url":"https://avatars.githubusercontent.com/u/22400777?v=3","gravatar_id":"","url":"https://api.github.com/users/tuantuancc","html_url":"https://github.com/tuantuancc","followers_url":"https://api.github.com/users/tuantuancc/followers","following_url":"https://api.github.com/users/tuantuancc/following{/other_user}","gists_url":"https://api.github.com/users/tuantuancc/gists{/gist_id}","starred_url":"https://api.github.com/users/tuantuancc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuantuancc/subscriptions","organizations_url":"https://api.github.com/users/tuantuancc/orgs","repos_url":"https://api.github.com/users/tuantuancc/repos","events_url":"https://api.github.com/users/tuantuancc/events{/privacy}","received_events_url":"https://api.github.com/users/tuantuancc/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-09T06:49:32Z","updated_at":"2016-11-02T08:41:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9f026cb7a203aafa2cf683328912738f39d2090a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openresty/openresty.org/pulls/48/commits","review_comments_url":"https://api.github.com/repos/openresty/openresty.org/pulls/48/comments","review_comment_url":"https://api.github.com/repos/openresty/openresty.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openresty/openresty.org/issues/48/comments","statuses_url":"https://api.github.com/repos/openresty/openresty.org/statuses/2e796b1280e894ea289c09dbb4ff0484bc84b766","head":{"label":"tuantuancc:master","ref":"master","sha":"2e796b1280e894ea289c09dbb4ff0484bc84b766","user":{"login":"tuantuancc","id":22400777,"avatar_url":"https://avatars.githubusercontent.com/u/22400777?v=3","gravatar_id":"","url":"https://api.github.com/users/tuantuancc","html_url":"https://github.com/tuantuancc","followers_url":"https://api.github.com/users/tuantuancc/followers","following_url":"https://api.github.com/users/tuantuancc/following{/other_user}","gists_url":"https://api.github.com/users/tuantuancc/gists{/gist_id}","starred_url":"https://api.github.com/users/tuantuancc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuantuancc/subscriptions","organizations_url":"https://api.github.com/users/tuantuancc/orgs","repos_url":"https://api.github.com/users/tuantuancc/repos","events_url":"https://api.github.com/users/tuantuancc/events{/privacy}","received_events_url":"https://api.github.com/users/tuantuancc/received_events","type":"User","site_admin":false},"repo":{"id":69392710,"name":"openresty.org","full_name":"tuantuancc/openresty.org","owner":{"login":"tuantuancc","id":22400777,"avatar_url":"https://avatars.githubusercontent.com/u/22400777?v=3","gravatar_id":"","url":"https://api.github.com/users/tuantuancc","html_url":"https://github.com/tuantuancc","followers_url":"https://api.github.com/users/tuantuancc/followers","following_url":"https://api.github.com/users/tuantuancc/following{/other_user}","gists_url":"https://api.github.com/users/tuantuancc/gists{/gist_id}","starred_url":"https://api.github.com/users/tuantuancc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuantuancc/subscriptions","organizations_url":"https://api.github.com/users/tuantuancc/orgs","repos_url":"https://api.github.com/users/tuantuancc/repos","events_url":"https://api.github.com/users/tuantuancc/events{/privacy}","received_events_url":"https://api.github.com/users/tuantuancc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tuantuancc/openresty.org","description":"Code and data for the openresty.org site","fork":true,"url":"https://api.github.com/repos/tuantuancc/openresty.org","forks_url":"https://api.github.com/repos/tuantuancc/openresty.org/forks","keys_url":"https://api.github.com/repos/tuantuancc/openresty.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuantuancc/openresty.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuantuancc/openresty.org/teams","hooks_url":"https://api.github.com/repos/tuantuancc/openresty.org/hooks","issue_events_url":"https://api.github.com/repos/tuantuancc/openresty.org/issues/events{/number}","events_url":"https://api.github.com/repos/tuantuancc/openresty.org/events","assignees_url":"https://api.github.com/repos/tuantuancc/openresty.org/assignees{/user}","branches_url":"https://api.github.com/repos/tuantuancc/openresty.org/branches{/branch}","tags_url":"https://api.github.com/repos/tuantuancc/openresty.org/tags","blobs_url":"https://api.github.com/repos/tuantuancc/openresty.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuantuancc/openresty.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuantuancc/openresty.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuantuancc/openresty.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuantuancc/openresty.org/statuses/{sha}","languages_url":"https://api.github.com/repos/tuantuancc/openresty.org/languages","stargazers_url":"https://api.github.com/repos/tuantuancc/openresty.org/stargazers","contributors_url":"https://api.github.com/repos/tuantuancc/openresty.org/contributors","subscribers_url":"https://api.github.com/repos/tuantuancc/openresty.org/subscribers","subscription_url":"https://api.github.com/repos/tuantuancc/openresty.org/subscription","commits_url":"https://api.github.com/repos/tuantuancc/openresty.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuantuancc/openresty.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuantuancc/openresty.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuantuancc/openresty.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuantuancc/openresty.org/contents/{+path}","compare_url":"https://api.github.com/repos/tuantuancc/openresty.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuantuancc/openresty.org/merges","archive_url":"https://api.github.com/repos/tuantuancc/openresty.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuantuancc/openresty.org/downloads","issues_url":"https://api.github.com/repos/tuantuancc/openresty.org/issues{/number}","pulls_url":"https://api.github.com/repos/tuantuancc/openresty.org/pulls{/number}","milestones_url":"https://api.github.com/repos/tuantuancc/openresty.org/milestones{/number}","notifications_url":"https://api.github.com/repos/tuantuancc/openresty.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuantuancc/openresty.org/labels{/name}","releases_url":"https://api.github.com/repos/tuantuancc/openresty.org/releases{/id}","deployments_url":"https://api.github.com/repos/tuantuancc/openresty.org/deployments","created_at":"2016-09-27T19:47:22Z","updated_at":"2016-09-27T19:47:24Z","pushed_at":"2016-11-01T06:47:42Z","git_url":"git://github.com/tuantuancc/openresty.org.git","ssh_url":"git@github.com:tuantuancc/openresty.org.git","clone_url":"https://github.com/tuantuancc/openresty.org.git","svn_url":"https://github.com/tuantuancc/openresty.org","homepage":"https://openresty.org","size":4381,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openresty:master","ref":"master","sha":"5bd462673bbd21c0e554795166b0d88c0ee6a7b9","user":{"login":"openresty","id":7390180,"avatar_url":"https://avatars.githubusercontent.com/u/7390180?v=3","gravatar_id":"","url":"https://api.github.com/users/openresty","html_url":"https://github.com/openresty","followers_url":"https://api.github.com/users/openresty/followers","following_url":"https://api.github.com/users/openresty/following{/other_user}","gists_url":"https://api.github.com/users/openresty/gists{/gist_id}","starred_url":"https://api.github.com/users/openresty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openresty/subscriptions","organizations_url":"https://api.github.com/users/openresty/orgs","repos_url":"https://api.github.com/users/openresty/repos","events_url":"https://api.github.com/users/openresty/events{/privacy}","received_events_url":"https://api.github.com/users/openresty/received_events","type":"Organization","site_admin":false},"repo":{"id":1927301,"name":"openresty.org","full_name":"openresty/openresty.org","owner":{"login":"openresty","id":7390180,"avatar_url":"https://avatars.githubusercontent.com/u/7390180?v=3","gravatar_id":"","url":"https://api.github.com/users/openresty","html_url":"https://github.com/openresty","followers_url":"https://api.github.com/users/openresty/followers","following_url":"https://api.github.com/users/openresty/following{/other_user}","gists_url":"https://api.github.com/users/openresty/gists{/gist_id}","starred_url":"https://api.github.com/users/openresty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openresty/subscriptions","organizations_url":"https://api.github.com/users/openresty/orgs","repos_url":"https://api.github.com/users/openresty/repos","events_url":"https://api.github.com/users/openresty/events{/privacy}","received_events_url":"https://api.github.com/users/openresty/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openresty/openresty.org","description":"Code and data for the openresty.org site","fork":false,"url":"https://api.github.com/repos/openresty/openresty.org","forks_url":"https://api.github.com/repos/openresty/openresty.org/forks","keys_url":"https://api.github.com/repos/openresty/openresty.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openresty/openresty.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openresty/openresty.org/teams","hooks_url":"https://api.github.com/repos/openresty/openresty.org/hooks","issue_events_url":"https://api.github.com/repos/openresty/openresty.org/issues/events{/number}","events_url":"https://api.github.com/repos/openresty/openresty.org/events","assignees_url":"https://api.github.com/repos/openresty/openresty.org/assignees{/user}","branches_url":"https://api.github.com/repos/openresty/openresty.org/branches{/branch}","tags_url":"https://api.github.com/repos/openresty/openresty.org/tags","blobs_url":"https://api.github.com/repos/openresty/openresty.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openresty/openresty.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openresty/openresty.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/openresty/openresty.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openresty/openresty.org/statuses/{sha}","languages_url":"https://api.github.com/repos/openresty/openresty.org/languages","stargazers_url":"https://api.github.com/repos/openresty/openresty.org/stargazers","contributors_url":"https://api.github.com/repos/openresty/openresty.org/contributors","subscribers_url":"https://api.github.com/repos/openresty/openresty.org/subscribers","subscription_url":"https://api.github.com/repos/openresty/openresty.org/subscription","commits_url":"https://api.github.com/repos/openresty/openresty.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/openresty/openresty.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/openresty/openresty.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/openresty/openresty.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/openresty/openresty.org/contents/{+path}","compare_url":"https://api.github.com/repos/openresty/openresty.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openresty/openresty.org/merges","archive_url":"https://api.github.com/repos/openresty/openresty.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openresty/openresty.org/downloads","issues_url":"https://api.github.com/repos/openresty/openresty.org/issues{/number}","pulls_url":"https://api.github.com/repos/openresty/openresty.org/pulls{/number}","milestones_url":"https://api.github.com/repos/openresty/openresty.org/milestones{/number}","notifications_url":"https://api.github.com/repos/openresty/openresty.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openresty/openresty.org/labels{/name}","releases_url":"https://api.github.com/repos/openresty/openresty.org/releases{/id}","deployments_url":"https://api.github.com/repos/openresty/openresty.org/deployments","created_at":"2011-06-21T03:50:26Z","updated_at":"2016-11-01T10:31:26Z","pushed_at":"2016-11-01T06:47:43Z","git_url":"git://github.com/openresty/openresty.org.git","ssh_url":"git@github.com:openresty/openresty.org.git","clone_url":"https://github.com/openresty/openresty.org.git","svn_url":"https://github.com/openresty/openresty.org","homepage":"https://openresty.org","size":5181,"stargazers_count":799,"watchers_count":799,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":207,"mirror_url":null,"open_issues_count":11,"forks":207,"open_issues":11,"watchers":799,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openresty/openresty.org/pulls/48"},"html":{"href":"https://github.com/openresty/openresty.org/pull/48"},"issue":{"href":"https://api.github.com/repos/openresty/openresty.org/issues/48"},"comments":{"href":"https://api.github.com/repos/openresty/openresty.org/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/openresty/openresty.org/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/openresty/openresty.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openresty/openresty.org/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/openresty/openresty.org/statuses/2e796b1280e894ea289c09dbb4ff0484bc84b766"}}}}
{"actor":{"display_login":"doujiang24"}}