Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upSlowness in EmberPerf #17329
Slowness in EmberPerf #17329
Comments
|
JSC people are ASM wizards. |
|
@emilio - I'd be happy to help. What's the best way to get a profile? |
I can also take a look if you tell me a good way to get STR... Though I guess it's just loading and running http://emberperf.eviltrout.com/... I can get some profiles. |
|
Yeah, to get it working I just tried running http://emberperf.eviltrout.com/ through all the default tests. Sometimes it takes a couple tries since you might get an error that something isn't defined sometimes. |
|
I'll look into instruments on macOS and see what I can see |
|
From a quick look with I've seen |
I saw this function appear in the profiles at servo#17329. It was under set_device, which isn't a Stylo path, but probably worth there anyway. This reduces the reported overhead of RulesIterator::next in perf from ~8% to 0.46%
style: Avoid some branches in common RuleIterator::next cases. I saw this function appear in the profiles at #17329. It was under set_device, which isn't a Stylo path, but probably worth there anyway. This reduces the reported overhead of RulesIterator::next in perf from ~8% to 0.46% <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/17330) <!-- Reviewable:end -->
I did a comparison of EmberPerf's performance between Servo and the most recent stable Firefox, Safari, and Chrome.
You can see that generally Servo is the slowest of the bunch, though there are a couple places that Servo does decently.