{"action":"closed","number":2378,"pull_request":{"url":"https://api.github.com/repos/spf13/hugo/pulls/2378","id":82088956,"html_url":"https://github.com/spf13/hugo/pull/2378","diff_url":"https://github.com/spf13/hugo/pull/2378.diff","patch_url":"https://github.com/spf13/hugo/pull/2378.patch","issue_url":"https://api.github.com/repos/spf13/hugo/issues/2378","number":2378,"state":"closed","locked":false,"title":"Make summary, wordcount etc. more effective","user":{"login":"bep","id":394382,"avatar_url":"https://avatars.githubusercontent.com/u/394382?v=3","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"body":"In total, the effect with this branch compared with master:\r\n\r\n```\r\nbenchmark           old ns/op      new ns/op      delta\r\nBenchmarkHugo-4     3166246627     3038050615     -4.05%\r\n\r\nbenchmark           old allocs     new allocs     delta\r\nBenchmarkHugo-4     10557420       10540152       -0.16%\r\n\r\nbenchmark           old bytes      new bytes      delta\r\nBenchmarkHugo-4     1621203992     1605716520     -0.96%\r\n```\r\n\r\nSee: https://github.com/bep/hugo-benchmark\r\n\r\nWord counting benchmark:\r\n\r\n``` \r\nBenchmarkTotalWords-4            100000         18795 ns/op           0  B/op           0 allocs/op \r\nBenchmarkTotalWordsOld-4          30000         46751 ns/op           6400 B/op           1 allocs/op\r\n```\r\n\r\nNew auto-summary benchmark:\r\n\r\n``` \r\nBenchmarkTestTruncateWordsToWholeSentence-4            300000         4720 ns/op         0 B/op              0 allocs/op\r\nBenchmarkTestTruncateWordsToWholeSentenceOld-4         100000         17699 ns/op        3072 B/op           3 allocs/op\r\n```","created_at":"2016-08-20T20:37:07Z","updated_at":"2016-09-14T08:57:49Z","closed_at":"2016-09-14T08:57:49Z","merged_at":null,"merge_commit_sha":"3d5cfb6c6cd759d3c0565a1f6077136e9731d848","assignee":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"assignees":[{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/spf13/hugo/pulls/2378/commits","review_comments_url":"https://api.github.com/repos/spf13/hugo/pulls/2378/comments","review_comment_url":"https://api.github.com/repos/spf13/hugo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spf13/hugo/issues/2378/comments","statuses_url":"https://api.github.com/repos/spf13/hugo/statuses/dfdcbe033aa2975d8a4dea9601df2fb4cdea73bb","head":{"label":"bep:truncate-whole-sentence","ref":"truncate-whole-sentence","sha":"dfdcbe033aa2975d8a4dea9601df2fb4cdea73bb","user":{"login":"bep","id":394382,"avatar_url":"https://avatars.githubusercontent.com/u/394382?v=3","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"repo":{"id":23870368,"name":"hugo","full_name":"bep/hugo","owner":{"login":"bep","id":394382,"avatar_url":"https://avatars.githubusercontent.com/u/394382?v=3","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bep/hugo","description":"A Fast and Flexible Static Site Generator built with love by spf13 in GoLang","fork":true,"url":"https://api.github.com/repos/bep/hugo","forks_url":"https://api.github.com/repos/bep/hugo/forks","keys_url":"https://api.github.com/repos/bep/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bep/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bep/hugo/teams","hooks_url":"https://api.github.com/repos/bep/hugo/hooks","issue_events_url":"https://api.github.com/repos/bep/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/bep/hugo/events","assignees_url":"https://api.github.com/repos/bep/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/bep/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/bep/hugo/tags","blobs_url":"https://api.github.com/repos/bep/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bep/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bep/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/bep/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bep/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/bep/hugo/languages","stargazers_url":"https://api.github.com/repos/bep/hugo/stargazers","contributors_url":"https://api.github.com/repos/bep/hugo/contributors","subscribers_url":"https://api.github.com/repos/bep/hugo/subscribers","subscription_url":"https://api.github.com/repos/bep/hugo/subscription","commits_url":"https://api.github.com/repos/bep/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/bep/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/bep/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/bep/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/bep/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/bep/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bep/hugo/merges","archive_url":"https://api.github.com/repos/bep/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bep/hugo/downloads","issues_url":"https://api.github.com/repos/bep/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/bep/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/bep/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/bep/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bep/hugo/labels{/name}","releases_url":"https://api.github.com/repos/bep/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/bep/hugo/deployments","created_at":"2014-09-10T10:25:42Z","updated_at":"2016-05-15T09:05:09Z","pushed_at":"2016-09-14T08:29:57Z","git_url":"git://github.com/bep/hugo.git","ssh_url":"git@github.com:bep/hugo.git","clone_url":"https://github.com/bep/hugo.git","svn_url":"https://github.com/bep/hugo","homepage":"http://hugo.spf13.com","size":33602,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spf13:master","ref":"master","sha":"74ffb45fbe2c121881b2386fc3210f8b1c6bd952","user":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"repo":{"id":11180687,"name":"hugo","full_name":"spf13/hugo","owner":{"login":"spf13","id":173412,"avatar_url":"https://avatars.githubusercontent.com/u/173412?v=3","gravatar_id":"","url":"https://api.github.com/users/spf13","html_url":"https://github.com/spf13","followers_url":"https://api.github.com/users/spf13/followers","following_url":"https://api.github.com/users/spf13/following{/other_user}","gists_url":"https://api.github.com/users/spf13/gists{/gist_id}","starred_url":"https://api.github.com/users/spf13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spf13/subscriptions","organizations_url":"https://api.github.com/users/spf13/orgs","repos_url":"https://api.github.com/users/spf13/repos","events_url":"https://api.github.com/users/spf13/events{/privacy}","received_events_url":"https://api.github.com/users/spf13/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spf13/hugo","description":"A Fast and Flexible Static Site Generator built with love in GoLang","fork":false,"url":"https://api.github.com/repos/spf13/hugo","forks_url":"https://api.github.com/repos/spf13/hugo/forks","keys_url":"https://api.github.com/repos/spf13/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spf13/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spf13/hugo/teams","hooks_url":"https://api.github.com/repos/spf13/hugo/hooks","issue_events_url":"https://api.github.com/repos/spf13/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/spf13/hugo/events","assignees_url":"https://api.github.com/repos/spf13/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/spf13/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/spf13/hugo/tags","blobs_url":"https://api.github.com/repos/spf13/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spf13/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spf13/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/spf13/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spf13/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/spf13/hugo/languages","stargazers_url":"https://api.github.com/repos/spf13/hugo/stargazers","contributors_url":"https://api.github.com/repos/spf13/hugo/contributors","subscribers_url":"https://api.github.com/repos/spf13/hugo/subscribers","subscription_url":"https://api.github.com/repos/spf13/hugo/subscription","commits_url":"https://api.github.com/repos/spf13/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/spf13/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/spf13/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/spf13/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/spf13/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/spf13/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spf13/hugo/merges","archive_url":"https://api.github.com/repos/spf13/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spf13/hugo/downloads","issues_url":"https://api.github.com/repos/spf13/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/spf13/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/spf13/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/spf13/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spf13/hugo/labels{/name}","releases_url":"https://api.github.com/repos/spf13/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/spf13/hugo/deployments","created_at":"2013-07-04T15:26:26Z","updated_at":"2016-09-14T08:54:56Z","pushed_at":"2016-09-14T08:57:44Z","git_url":"git://github.com/spf13/hugo.git","ssh_url":"git@github.com:spf13/hugo.git","clone_url":"https://github.com/spf13/hugo.git","svn_url":"https://github.com/spf13/hugo","homepage":"http://gohugo.io","size":45262,"stargazers_count":11560,"watchers_count":11560,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1862,"mirror_url":null,"open_issues_count":314,"forks":1862,"open_issues":314,"watchers":11560,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spf13/hugo/pulls/2378"},"html":{"href":"https://github.com/spf13/hugo/pull/2378"},"issue":{"href":"https://api.github.com/repos/spf13/hugo/issues/2378"},"comments":{"href":"https://api.github.com/repos/spf13/hugo/issues/2378/comments"},"review_comments":{"href":"https://api.github.com/repos/spf13/hugo/pulls/2378/comments"},"review_comment":{"href":"https://api.github.com/repos/spf13/hugo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spf13/hugo/pulls/2378/commits"},"statuses":{"href":"https://api.github.com/repos/spf13/hugo/statuses/dfdcbe033aa2975d8a4dea9601df2fb4cdea73bb"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":230,"deletions":64,"changed_files":7}}
{"actor":{"display_login":"bep"}}