{"action":"created","issue":{"url":"https://api.github.com/repos/servo/servo/issues/6705","labels_url":"https://api.github.com/repos/servo/servo/issues/6705/labels{/name}","comments_url":"https://api.github.com/repos/servo/servo/issues/6705/comments","events_url":"https://api.github.com/repos/servo/servo/issues/6705/events","html_url":"https://github.com/servo/servo/pull/6705","id":96739199,"number":6705,"title":"canvas: Move to shared memory for images and canvas backing stores.","user":{"login":"pcwalton","id":157897,"avatar_url":"https://avatars.githubusercontent.com/u/157897?v=3","gravatar_id":"","url":"https://api.github.com/users/pcwalton","html_url":"https://github.com/pcwalton","followers_url":"https://api.github.com/users/pcwalton/followers","following_url":"https://api.github.com/users/pcwalton/following{/other_user}","gists_url":"https://api.github.com/users/pcwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/pcwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcwalton/subscriptions","organizations_url":"https://api.github.com/users/pcwalton/orgs","repos_url":"https://api.github.com/users/pcwalton/repos","events_url":"https://api.github.com/users/pcwalton/events{/privacy}","received_events_url":"https://api.github.com/users/pcwalton/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/servo/servo/labels/S-awaiting-review","name":"S-awaiting-review","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2015-07-23T06:01:11Z","updated_at":"2015-07-24T23:59:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/servo/servo/pulls/6705","html_url":"https://github.com/servo/servo/pull/6705","diff_url":"https://github.com/servo/servo/pull/6705.diff","patch_url":"https://github.com/servo/servo/pull/6705.patch"},"body":"The idea here is to land this before making images and canvas IPC-safe,\r\nbecause this will shake out bugs relating to the shared memory. There\r\nare currently test timeouts that are preventing multiprocess images and\r\ncanvas from landing, and I believe those are due to the inefficiency of\r\nsending large amounts of data in the unoptimized builds we test with. By\r\nmoving to shared memory, this should drastically reduce the number of\r\ncopies and `serde` serialization.\r\n\r\nUnder the hood, this uses Mach OOL messages on Mac and temporary\r\nmemory-mapped files on Linux.\r\n\r\nr? @jdm\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/servo/servo/6705)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/servo/servo/issues/comments/124771348","html_url":"https://github.com/servo/servo/pull/6705#issuecomment-124771348","issue_url":"https://api.github.com/repos/servo/servo/issues/6705","id":124771348,"user":{"login":"bors-servo","id":4368172,"avatar_url":"https://avatars.githubusercontent.com/u/4368172?v=3","gravatar_id":"","url":"https://api.github.com/users/bors-servo","html_url":"https://github.com/bors-servo","followers_url":"https://api.github.com/users/bors-servo/followers","following_url":"https://api.github.com/users/bors-servo/following{/other_user}","gists_url":"https://api.github.com/users/bors-servo/gists{/gist_id}","starred_url":"https://api.github.com/users/bors-servo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors-servo/subscriptions","organizations_url":"https://api.github.com/users/bors-servo/orgs","repos_url":"https://api.github.com/users/bors-servo/repos","events_url":"https://api.github.com/users/bors-servo/events{/privacy}","received_events_url":"https://api.github.com/users/bors-servo/received_events","type":"User","site_admin":false},"created_at":"2015-07-24T23:59:43Z","updated_at":"2015-07-24T23:59:43Z","body":":sunny: Test successful - [android](http://build.servo.org/builders/android/builds/2404), [gonk](http://build.servo.org/builders/gonk/builds/1554), [linux1](http://build.servo.org/builders/linux1/builds/2406), [linux2](http://build.servo.org/builders/linux2/builds/2415), [linux3](http://build.servo.org/builders/linux3/builds/561), [mac1](http://build.servo.org/builders/mac1/builds/2653), [mac2](http://build.servo.org/builders/mac2/builds/2639), [mac3](http://build.servo.org/builders/mac3/builds/596)"}}