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

Support latest nightly snapshot #246

Merged
merged 5 commits into from
May 8, 2024
Merged

Support latest nightly snapshot #246

merged 5 commits into from
May 8, 2024

Conversation

kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented May 8, 2024

  • Drop @wasmer/wasi support
  • Allow async main entry point with JavaScriptEventLoop
  • Migrate test scripts to ES module for upcoming @bjorn/browser_wasi_shim support

Copy link

github-actions bot commented May 8, 2024

Time Change: +26ms (0%)

Total Time: 9,207ms

Test name Duration Change
Serialization/JavaScript function call through Wasm import with int 14ms -1ms (7%)
View Unchanged
Test name Duration Change
Serialization/JavaScript function call through Wasm import 21ms +1ms
Serialization/JavaScript function call from Swift 95ms -1ms (1%)
Serialization/Swift Int to JavaScript with assignment 327ms +9ms (2%)
Serialization/Swift Int to JavaScript with call 920ms -17ms (1%)
Serialization/JavaScript Number to Swift Int 302ms +2ms (0%)
Serialization/Swift String to JavaScript with assignment 387ms +4ms (1%)
Serialization/Swift String to JavaScript with call 974ms -4ms (0%)
Serialization/JavaScript String to Swift String 3,566ms +36ms (1%)
Object heap/Increment and decrement RC 2,588ms -3ms (0%)
View Baselines
Test name Duration
Serialization/Call JavaScript function directly 3ms
Serialization/Assign JavaScript number directly 2ms
Serialization/Call with JavaScript number directly 3ms
Serialization/Write JavaScript string directly 2ms
Serialization/Call with JavaScript string directly 3ms

@kateinoigakukun kateinoigakukun force-pushed the yt/async-main branch 2 times, most recently from ae81bfa to 16a7ae1 Compare May 8, 2024 13:08
This change allows the Swift program to have an async main entry point
when the JavaScriptEventLoop is installed as the global executor.
We no longer use it in carton
@kateinoigakukun kateinoigakukun merged commit 74c35de into main May 8, 2024
15 checks passed
@kateinoigakukun kateinoigakukun deleted the yt/async-main branch May 8, 2024 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants