swiftwasm / JavaScriptKit

Swift framework to interact with JavaScript through WebAssembly.
https://swiftpackageindex.com/swiftwasm/JavaScriptKit/main/documentation/javascriptkit
MIT License
693 stars 45 forks source link

Add diagnostics for those who build with WASI command line ABI #202

Closed kateinoigakukun closed 2 years ago

kateinoigakukun commented 2 years ago

It's hard to find the root cause of crash when building with WASI command ABI

Mitigate unfortunate situations like https://github.com/swiftwasm/JavaScriptKit/issues/199

github-actions[bot] commented 2 years ago

Time Change: -706ms (3%)

Total Time: 20,340ms

Test name Duration Change
Serialization/Write JavaScript string directly 452ms -32ms (7%)
View Unchanged | Test name | Duration | Change | | :--- | :---: | :---: | | Serialization/Write JavaScript number directly | 436ms | +1ms | | Serialization/Swift Int to JavaScript | 6,668ms | -216ms (3%) | | Serialization/Swift String to JavaScript | 6,679ms | -182ms (2%) | | Object heap/Increment and decrement RC | 6,105ms | -278ms (4%) |