{"action":"created","issue":{"url":"https://api.github.com/repos/kvark/fibe-rs/issues/6","labels_url":"https://api.github.com/repos/kvark/fibe-rs/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/kvark/fibe-rs/issues/6/comments","events_url":"https://api.github.com/repos/kvark/fibe-rs/issues/6/events","html_url":"https://github.com/kvark/fibe-rs/pull/6","id":69075118,"number":6,"title":"Use libpulse","user":{"login":"csherratt","id":62622,"avatar_url":"https://avatars.githubusercontent.com/u/62622?v=3","gravatar_id":"","url":"https://api.github.com/users/csherratt","html_url":"https://github.com/csherratt","followers_url":"https://api.github.com/users/csherratt/followers","following_url":"https://api.github.com/users/csherratt/following{/other_user}","gists_url":"https://api.github.com/users/csherratt/gists{/gist_id}","starred_url":"https://api.github.com/users/csherratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csherratt/subscriptions","organizations_url":"https://api.github.com/users/csherratt/orgs","repos_url":"https://api.github.com/users/csherratt/repos","events_url":"https://api.github.com/users/csherratt/events{/privacy}","received_events_url":"https://api.github.com/users/csherratt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-17T06:33:09Z","updated_at":"2015-04-17T15:43:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kvark/fibe-rs/pulls/6","html_url":"https://github.com/kvark/fibe-rs/pull/6","diff_url":"https://github.com/kvark/fibe-rs/pull/6.diff","patch_url":"https://github.com/kvark/fibe-rs/pull/6.patch"},"body":"This was an experiment to use [pulse](https://github.com/csherratt/pulse) to drive fibe-rs.\r\n\r\nA Handle is now just a Pulse, indicating that a task is done. Tasks are waited on via a `Barrier` which takes 0 to N Handles and converts it to a single pulse.\r\n\r\nThere are no `MPSC` channels that use pulses, so I had to rejigger the the backend to use C style `commands` via function calls. It's ugly, but it does work.\r\n\r\nThe Upshot, it's _much_ faster. The old system could push around ~10K tasks per second. This new one is pushing close to 300K.\r\n"},"comment":{"url":"https://api.github.com/repos/kvark/fibe-rs/issues/comments/94012380","html_url":"https://github.com/kvark/fibe-rs/pull/6#issuecomment-94012380","issue_url":"https://api.github.com/repos/kvark/fibe-rs/issues/6","id":94012380,"user":{"login":"kvark","id":107301,"avatar_url":"https://avatars.githubusercontent.com/u/107301?v=3","gravatar_id":"","url":"https://api.github.com/users/kvark","html_url":"https://github.com/kvark","followers_url":"https://api.github.com/users/kvark/followers","following_url":"https://api.github.com/users/kvark/following{/other_user}","gists_url":"https://api.github.com/users/kvark/gists{/gist_id}","starred_url":"https://api.github.com/users/kvark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvark/subscriptions","organizations_url":"https://api.github.com/users/kvark/orgs","repos_url":"https://api.github.com/users/kvark/repos","events_url":"https://api.github.com/users/kvark/events{/privacy}","received_events_url":"https://api.github.com/users/kvark/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T15:43:59Z","updated_at":"2015-04-17T15:43:59Z","body":"I'm going to wait for you to discuss on IRC"}}