Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run EmberPerf benchmark #16720

Open
metajack opened this issue May 3, 2017 · 21 comments
Open

Run EmberPerf benchmark #16720

metajack opened this issue May 3, 2017 · 21 comments
Labels

Comments

@metajack
Copy link
Contributor

@metajack metajack commented May 3, 2017

Get EmberPerf working in Servo. EmberPerf is here: http://emberperf.eviltrout.com/

This metabug is specifically just to get it running. Performance issues will be tracked in a separate metabug.

  • ???

Part of #16717.

@metajack
Copy link
Contributor Author

@metajack metajack commented May 3, 2017

Marking this easy. The task here is to run Servo on this benchmark and file bugs for any errors you find that prevent it from running.

@highfive
Copy link

@highfive highfive commented May 3, 2017

Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the #servo channel in IRC.

If you intend to work on this issue, then add @highfive: assign me to your comment, and I'll assign this to you. 😄

@metajack metajack mentioned this issue May 3, 2017
1 of 4 tasks complete
@jonathandturner
Copy link

@jonathandturner jonathandturner commented May 3, 2017

Just to note, the latested (2.11.1) EmberPerf benchmark does not run successfully for me on any of the browsers I tested (Nightly Firefox, Chrome, etc).

Do we have a version we're aiming to compare against?

@metajack
Copy link
Contributor Author

@metajack metajack commented May 4, 2017

@cpeterso Do you know if this is working in Gecko currently?

@cpeterso
Copy link

@cpeterso cpeterso commented May 4, 2017

@eviltrout, is there a problem with EmberPref benchmark hosted on emberperf.eviltrout.com?

The benchmark, even older versions, now stops at "17 test(s) remaining" in Firefox, Edge, and Chrome. I see the following JavaScript error in the devtools console:

TypeError: Ember.LinkView is undefined[Learn More] index.js:35:9
setup http://emberperf.eviltrout.com/benchmarks/link-to/active/index.js:35:9
runner http://emberperf.eviltrout.com/assets/test-client.js:265:30
one http://emberperf.eviltrout.com/assets/test-client.js:1209:9
apiLoadAsync/</< http://emberperf.eviltrout.com/assets/test-client.js:1425:25
load/< http://emberperf.eviltrout.com/assets/test-client.js:1461:13
process http://emberperf.eviltrout.com/assets/test-client.js:1557:17

AWFY continues to report new EmberPerf measurements.

@eviltrout
Copy link

@eviltrout eviltrout commented May 8, 2017

Apologies - the Link related tests broke some time ago on newer Ember releases. I've removed them in the latest version and deployed it to emberperf.eviltrout.com

@bnjbvr
Copy link
Contributor

@bnjbvr bnjbvr commented May 9, 2017

@eviltrout Hi! As of today, the two following tests are still raising errors on Firefox Nightly and Chromium stable:

  • Ember.Component.create
  • Render bind-attr

Is there anything to be done with these tests?

@eviltrout
Copy link

@eviltrout eviltrout commented May 9, 2017

Well that's embarrassing! As you might have figured out by now we don't tend to run all the tests. We somewhat got in the habit of sticking to the Complex List tests since we found them the most reflective of Discourse performance :)

I've removed those tests now and confirmed the suite now runs all tests for the latest versions of Ember.

@bnjbvr
Copy link
Contributor

@bnjbvr bnjbvr commented May 10, 2017

I've removed those tests now and confirmed the suite now runs all tests for the latest versions of Ember.

Thanks! That's great.

@mihajlija
Copy link

@mihajlija mihajlija commented Jun 9, 2017

This is what I get on macOS 10.12.4 when running default settings (2.13.0)

ERROR:script::dom::bindings::error: Error at http://emberperf.eviltrout.com/benchmarks/ember-get/primed/index.js:13:9 Ember is not defined

The "latest release" test works though http://imgur.com/jNEc0lW :)

@eviltrout
Copy link

@eviltrout eviltrout commented Jun 9, 2017

Is this a servo bug? I just ran the suite with default settings in safari and everything worked.

@mihajlija
Copy link

@mihajlija mihajlija commented Jun 9, 2017

@eviltrout Servo I guess, I get the same error when running JetStream benchmark ("JetStream is not defined")

@jdm
Copy link
Member

@jdm jdm commented Jun 9, 2017

I cannot reproduce that JS error when running with the default settings. I have tried a debug build, a release build, and a nightly.

@jonathandturner
Copy link

@jonathandturner jonathandturner commented Jun 11, 2017

I can't see the JS error, but when I run this benchmark, this is what I see:

screen shot 2017-06-12 at 10 48 19

@jonathandturner
Copy link

@jonathandturner jonathandturner commented Jun 11, 2017

I take that back, if I let it run long enough, I do see:

ERROR:script::dom::bindings::error: Error at http://emberperf.eviltrout.com/benchmarks/ember-set/primed/index.js:7:9 Ember is not defined
@jonathandturner
Copy link

@jonathandturner jonathandturner commented Jun 11, 2017

As the screenshot suggests, the benchmark doesn't seem to be working the same way as on other browsers, as there doesn't appear to be any status updates as the benchmarks run

@jonathandturner
Copy link

@jonathandturner jonathandturner commented Jun 11, 2017

(apologies for the spamming)

I was able to get a successful run that didn't have the error. Not sure what causes it to occur, yet.

screen shot 2017-06-12 at 11 42 45

Here's Firefox 53 for comparison:

screen shot 2017-06-12 at 11 47 49

@jonathandturner
Copy link

@jonathandturner jonathandturner commented Jun 19, 2017

I filed a follow-up bug around the EmberPerf performance numbers here: #17329

@tamird
Copy link
Contributor

@tamird tamird commented Aug 18, 2017

Is it time to close this? This issue appears to be about just getting it to run, which @jonathandturner seems to have done.

This issue still appears on ServoStarters.

@jdm jdm removed the E-easy label Aug 18, 2017
@jonathandturner
Copy link

@jonathandturner jonathandturner commented Aug 20, 2017

@tamird - I mention in my runs that I was getting errors with some runs and not others. I'll check and report back whether the intermittent error is still occurring.

@jonathandturner
Copy link

@jonathandturner jonathandturner commented Aug 20, 2017

@tamird - I can confirm we're still seeing the "ERROR:script::dom::bindings::error: Error at http://emberperf.eviltrout.com/assets/test-client.js:341:5 Ember is not defined" on some runs (and not others).

@jdm - I don't know how we want to handle intermittent failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
9 participants
You can’t perform that action at this time.