5 ms·
It's definitely slower to actually load pages — I'm guessing that there are still a lot of network optimizations that more mature codebases have accrued that Se
by reissbaker 10y ago
It's definitely slower to actually load pages — I'm guessing that there are still a lot of network optimizations that more mature codebases have accrued that Servo hasn't yet — but holy cow are pages buttery smooth once they do load (and even while they're loading, which is unusual). Comparing Chrome and Servo in terms of UI jank felt pretty shocking, in Servo's favor. Kudos, it looks like Rust and WebRender have paid off.
Looking forward to seeing this evolve.
- Manishearth 10y agoYeah; we've mostly ignored the network stack. So there's some extra copying in the IPC, and no speculative parsing, which can slow things down, among other factors. Can be fixed, but priorities :)
- WasimBhai 10y agoI will absolutely love to contribute toward the network stack. Can you provide me any pointers?
- riskable 10y agoUsing pointers in rust is discouraged!
- kibwen 10y agoDo you have a reference for that claim? :)
- Manishearth 10y agoboxes kibwen
- Manishearth 10y agoWe have http://starters.servo.org/ http://starters.servo.org/, though there may not be network stack bugs right now. I have some more involved projects planned for the network stack that aren't yet ready to be picked up though. I suggest working on some bugs above, getting familiar, and then asking in IRC for something in the network stack.
- frewsxcv 10y agoIn case you're looking for a place to jump in: The thread that handles all the resources (http:// http://, chrome://, file://, etc): https://github.com/servo/servo/blob/master/components/net/resource_thread.rs https://github.com/servo/servo/blob/master/components/net/re... And here's the file that handles HTTP requests: https://github.com/servo/servo/blob/master/components/net/http_loader.rs https://github.com/servo/servo/blob/master/components/net/ht...