{"action":"created","issue":{"url":"https://api.github.com/repos/JoshuaWise/jellysocket/issues/3","repository_url":"https://api.github.com/repos/JoshuaWise/jellysocket","labels_url":"https://api.github.com/repos/JoshuaWise/jellysocket/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/JoshuaWise/jellysocket/issues/3/comments","events_url":"https://api.github.com/repos/JoshuaWise/jellysocket/issues/3/events","html_url":"https://github.com/JoshuaWise/jellysocket/issues/3","id":142349455,"number":3,"title":"Performance impact due to msgpack","user":{"login":"carstenschwede","id":234960,"avatar_url":"https://avatars.githubusercontent.com/u/234960?v=3","gravatar_id":"","url":"https://api.github.com/users/carstenschwede","html_url":"https://github.com/carstenschwede","followers_url":"https://api.github.com/users/carstenschwede/followers","following_url":"https://api.github.com/users/carstenschwede/following{/other_user}","gists_url":"https://api.github.com/users/carstenschwede/gists{/gist_id}","starred_url":"https://api.github.com/users/carstenschwede/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carstenschwede/subscriptions","organizations_url":"https://api.github.com/users/carstenschwede/orgs","repos_url":"https://api.github.com/users/carstenschwede/repos","events_url":"https://api.github.com/users/carstenschwede/events{/privacy}","received_events_url":"https://api.github.com/users/carstenschwede/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-21T13:36:53Z","updated_at":"2016-03-21T18:59:14Z","closed_at":null,"body":"While msgpack produces smaller serializations in comparison to JSON, the process of encoding/decoding seems to be a lot slower:\r\n\r\nhttps://jsperf.com/msgpack-vs-json-perf/12\r\n\r\nSample run in Chrome:\r\n\r\n    MsgPack: 7,911 ops/second\r\n    JSON: 212,227 ops/second\r\n\r\n**Edit/Update**\r\nWhen using the correct msgpack-package at https://jsperf.com/msgpack-vs-json-perf/13 the results are\r\n\r\n    MsgPack: 38,092 ops/second\r\n    JSON: 208.359 ops/second\r\n\r\nA benchmark test might be nice to get a better idea about the tradeoffs involved (e.g. msgpack might be better for larger serializations when the duration of transfer exceeds the duration of encoding/decoding)."},"comment":{"url":"https://api.github.com/repos/JoshuaWise/jellysocket/issues/comments/199425235","html_url":"https://github.com/JoshuaWise/jellysocket/issues/3#issuecomment-199425235","issue_url":"https://api.github.com/repos/JoshuaWise/jellysocket/issues/3","id":199425235,"user":{"login":"JoshuaWise","id":8255757,"avatar_url":"https://avatars.githubusercontent.com/u/8255757?v=3","gravatar_id":"","url":"https://api.github.com/users/JoshuaWise","html_url":"https://github.com/JoshuaWise","followers_url":"https://api.github.com/users/JoshuaWise/followers","following_url":"https://api.github.com/users/JoshuaWise/following{/other_user}","gists_url":"https://api.github.com/users/JoshuaWise/gists{/gist_id}","starred_url":"https://api.github.com/users/JoshuaWise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoshuaWise/subscriptions","organizations_url":"https://api.github.com/users/JoshuaWise/orgs","repos_url":"https://api.github.com/users/JoshuaWise/repos","events_url":"https://api.github.com/users/JoshuaWise/events{/privacy}","received_events_url":"https://api.github.com/users/JoshuaWise/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T18:59:14Z","updated_at":"2016-03-21T18:59:14Z","body":"Yes, I think it's a good idea to keep it open until I create a solid benchmark.\r\n\r\nThanks for being interested in JellySocket!"}}