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 the benchmark on various engines as part of CI #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mathiasbynens
Copy link
Member

No description provided.

.travis.yml Outdated
- "8"
script:
- npm test
- node dist/cli.js
- jsvu --os=linux64 --engines=all
- chakra dist/cli.js
- # javascriptcore dist/cli.js
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: jsc doesn’t offer Linux builds yet: https://github.com/GoogleChromeLabs/jsvu#supported-engines

@mathiasbynens mathiasbynens force-pushed the ci branch 2 times, most recently from 9e43838 to 1606ce0 Compare December 7, 2017 15:54
.travis.yml Outdated
- "8"
script:
- npm test
- node dist/cli.js
- jsvu --os=linux64 --engines=all
- ~/.jsvu/chakra dist/cli.js
- # ~/.jsvu/javascriptcore dist/cli.js

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😢

Copy link
Member Author

@mathiasbynens mathiasbynens Dec 7, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jfbastien Did you see https://github.com/GoogleChromeLabs/jsvu#supported-engines, and specifically https://bugs.webkit.org/show_bug.cgi?id=179945? I’d love to support JSC on Linux, but I can’t seem to find any downloads for it! Can you help?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's available on wasm-stat.us, which is built from https://github.com/webassembly/waterfall

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jsvu has a policy of only trusting installers that come straight from the source, i.e. from Apple directly.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jfbastien Even so, it looks like the Linux builder doesn’t include the “JSC” step :(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mathiasbynens that should be super easy to fix on https://github.com/webassembly/waterfall. I'm sure @dschuff is happy to take the PR for it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WebAssembly/waterfall#299, but this does not mean I am okay with changing jsvu’s policy! ;)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jfbastien In fact, if Apple could provide these downloads directly, WebAssembly/waterfall could just use jsvu to get them instead of compiling everything from source. (Same for all the other JS engines.) 👍

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed on your webkit-dev post, the GTK folks maintain the Linux port. Lucas says we're happy to host the binary.

Apple provides an official jsc with MacOS.

.travis.yml Outdated
@@ -1,11 +1,14 @@
language: node_js
node_js:
- "6"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd love to keep 6 and 8, and add 9 instead, so we have coverage for all (relevant) LTS versions and for the current node version.

mathiasbynens added a commit to mathiasbynens/waterfall that referenced this pull request Dec 8, 2017
mathiasbynens added a commit to mathiasbynens/waterfall that referenced this pull request Dec 8, 2017
@mathiasbynens mathiasbynens force-pushed the ci branch 2 times, most recently from 458af1d to aa633cd Compare December 20, 2017 12:19
@jdalton
Copy link

jdalton commented Feb 9, 2018

I noticed the travis-ci test failed (seemed one-off-ish).
I believe travis has a retry feature similar to appveyor for things like npm install steps.

Update:

Ah yep! See travis_retry.

@bmeurer
Copy link
Member

bmeurer commented Feb 9, 2018

@jdalton Wanna submit a PR? 😎

Copy link
Member

@bmeurer bmeurer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, this fell off my plate somehow. Changes LGTM. Restarted the CI.

@jdalton
Copy link

jdalton commented Feb 9, 2018

Wanna submit a PR?

Sure, I'll do a follow up.

@mathiasbynens mathiasbynens force-pushed the ci branch 4 times, most recently from a6b034d to f03b110 Compare February 14, 2018 17:59
@mathiasbynens mathiasbynens force-pushed the master branch 2 times, most recently from c289d6a to 164db67 Compare May 13, 2018 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants