-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
[Merged by Bors] - Added boa examples #1161
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor things in the Cargo.toml
files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 typo and a change to make the Rust code more idiomatic.
Hello @jasonwilliams how is this going? |
OK, from what i remember it was just the change @RageKnify pointed out. |
I have updated the most simple examples, but the rest require some extra work. |
Test262 conformance changesVM implementation
|
Benchmark for 84abeccClick to view benchmark
|
Benchmark for 6cfef13Click to view benchmark
|
d4c5e94
to
785307d
Compare
Codecov Report
@@ Coverage Diff @@
## main #1161 +/- ##
==========================================
- Coverage 46.59% 46.58% -0.01%
==========================================
Files 205 206 +1
Lines 16753 16781 +28
==========================================
+ Hits 7806 7818 +12
- Misses 8947 8963 +16
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, I think these examples will be useful for our users. The only thing I'm missing is a small description on the top of each example with module level comments (//!
) explaining what the example is supposed to do.
Also, I would say we don't have an example that changes the global object, right? Do we want to have this? Is it possible with the current API?
How do you mean change the global object? Do you mean to add properties to it? |
I meant using "window" as a global object for example, but I guess that's just an alias, right? And then adding some attributes to it. |
@jasonwilliams do you think we could have this ready for 0.14? It would be nice to have new examples here. |
2c33e14
to
74014a5
Compare
Benchmark for 7a68787Click to view benchmark
|
I will look at this during the week, I would love to merge it asap :) |
Benchmark for be7b626Click to view benchmark
|
Added boa examples as per issue #446
* spelling mistake * Rust FMT
Benchmark for dab5b4cClick to view benchmark
|
|
Benchmark for 109c2d7Click to view benchmark
|
This is due to the way deriving works for that crate. Maybe it can be fixed with a PR to the gc crate |
Benchmark for 13117ebClick to view benchmark
|
@jedel1043 you happy with this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jedel1043 you happy with this?
Yep :)
bors r+ |
Added boa examples as per issue #446 Overtaken #634 Somehow screwed that branch up by rebasing it and losing access pings @elasmojs This Pull Request fixes/closes #446 . Co-authored-by: Jason Williams <jase.williams@gmail.com> Co-authored-by: Iban Eguia (Razican) <razican@protonmail.ch> Co-authored-by: jasonwilliams <jase.williams@gmail.com> Co-authored-by: jedel1043 <jedel0124@gmail.com>
Pull request successfully merged into main. Build succeeded: |
Added boa examples as per issue #446
Overtaken #634
Somehow screwed that branch up by rebasing it and losing access
pings @elasmojs
This Pull Request fixes/closes #446 .