{"action":"created","issue":{"url":"https://api.github.com/repos/Swizz/snabbdom-pragma/issues/29","repository_url":"https://api.github.com/repos/Swizz/snabbdom-pragma","labels_url":"https://api.github.com/repos/Swizz/snabbdom-pragma/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/Swizz/snabbdom-pragma/issues/29/comments","events_url":"https://api.github.com/repos/Swizz/snabbdom-pragma/issues/29/events","html_url":"https://github.com/Swizz/snabbdom-pragma/pull/29","id":322557176,"number":29,"title":"Add scripts to compare performance between two branches","user":{"login":"blikblum","id":3047126,"avatar_url":"https://avatars0.githubusercontent.com/u/3047126?v=4","gravatar_id":"","url":"https://api.github.com/users/blikblum","html_url":"https://github.com/blikblum","followers_url":"https://api.github.com/users/blikblum/followers","following_url":"https://api.github.com/users/blikblum/following{/other_user}","gists_url":"https://api.github.com/users/blikblum/gists{/gist_id}","starred_url":"https://api.github.com/users/blikblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blikblum/subscriptions","organizations_url":"https://api.github.com/users/blikblum/orgs","repos_url":"https://api.github.com/users/blikblum/repos","events_url":"https://api.github.com/users/blikblum/events{/privacy}","received_events_url":"https://api.github.com/users/blikblum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-05-13T02:03:55Z","updated_at":"2018-05-20T18:14:43Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/Swizz/snabbdom-pragma/pulls/29","html_url":"https://github.com/Swizz/snabbdom-pragma/pull/29","diff_url":"https://github.com/Swizz/snabbdom-pragma/pull/29.diff","patch_url":"https://github.com/Swizz/snabbdom-pragma/pull/29.patch"},"body":"Add scripts that compares performance of the current branch checked in the local repository and a base one (develop).\r\n\r\nSteps:\r\n * builds current branch\r\n * checkout develop\r\n * builds develop branch\r\n * checkout current branch\r\n * run perf suites based on benchmark.js\r\n\r\nAdd two npm scripts: \r\n  * perf:all -> build the two branches and run perf suite\r\n  * perf -> run perf suite\r\n\r\nThis PR contains changes from #27 \r\n\r\nHere is the output of perf suite comparing #27 and develop:\r\n\r\nBenchmarking no props\r\nhyperscript x 13,230,387 ops/sec ±5.07% (91 runs sampled)\r\njsx-base x 699,560 ops/sec ±2.24% (98 runs sampled)\r\njsx-new x 676,120 ops/sec ±2.98% (93 runs sampled)\r\nno props - fastest is hyperscript   fastest JSX is  [ 'jsx-base' ]\r\n\r\nBenchmarking simple props\r\nhyperscript x 13,216,166 ops/sec ±0.73% (98 runs sampled)\r\njsx-base x 41,596 ops/sec ±0.76% (92 runs sampled)\r\njsx-new x 45,047 ops/sec ±0.57% (98 runs sampled)\r\nsimple props - fastest is hyperscript   fastest JSX is  [ 'jsx-new' ]\r\n\r\nBenchmarking module object props\r\nhyperscript x 9,655,921 ops/sec ±0.62% (101 runs sampled)\r\njsx-base x 41,222 ops/sec ±2.70% (97 runs sampled)\r\njsx-new x 34,262 ops/sec ±4.33% (82 runs sampled)\r\nmodule object props - fastest is hyperscript   fastest JSX is  [ 'jsx-base' ]\r\n\r\nBenchmarking modules attribute props\r\nhyperscript x 7,928,043 ops/sec ±5.80% (81 runs sampled)\r\njsx-base x 28,325 ops/sec ±2.04% (89 runs sampled)\r\njsx-new x 29,938 ops/sec ±1.11% (102 runs sampled)\r\nmodules attribute props - fastest is hyperscript   fastest JSX is  [ 'jsx-new' ]\r\n\r\nBenchmarking real world form\r\njsx-base x 2,844 ops/sec ±1.19% (99 runs sampled)\r\njsx-new x 3,024 ops/sec ±0.66% (101 runs sampled)\r\nreal world form - fastest is jsx-new   fastest JSX is  [ 'jsx-new' ]\r\n\r\nAll benchmarks complete\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Swizz/snabbdom-pragma/issues/comments/390500650","html_url":"https://github.com/Swizz/snabbdom-pragma/pull/29#issuecomment-390500650","issue_url":"https://api.github.com/repos/Swizz/snabbdom-pragma/issues/29","id":390500650,"user":{"login":"blikblum","id":3047126,"avatar_url":"https://avatars0.githubusercontent.com/u/3047126?v=4","gravatar_id":"","url":"https://api.github.com/users/blikblum","html_url":"https://github.com/blikblum","followers_url":"https://api.github.com/users/blikblum/followers","following_url":"https://api.github.com/users/blikblum/following{/other_user}","gists_url":"https://api.github.com/users/blikblum/gists{/gist_id}","starred_url":"https://api.github.com/users/blikblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blikblum/subscriptions","organizations_url":"https://api.github.com/users/blikblum/orgs","repos_url":"https://api.github.com/users/blikblum/repos","events_url":"https://api.github.com/users/blikblum/events{/privacy}","received_events_url":"https://api.github.com/users/blikblum/received_events","type":"User","site_admin":false},"created_at":"2018-05-20T18:14:43Z","updated_at":"2018-05-20T18:14:43Z","author_association":"COLLABORATOR","body":"Done"}}
{"actor":{"display_login":"blikblum"}}