issues
search
swiftwasm
/
JavaScriptKit
Swift framework to interact with JavaScript through WebAssembly.
https://swiftpackageindex.com/swiftwasm/JavaScriptKit/main/documentation/javascriptkit
MIT License
664
stars
44
forks
source link
Add `sharedMemory` option to allow threads with shared memory
#247
Closed
kateinoigakukun
closed
3 months ago
github-actions[bot]
commented
3 months ago
Time Change:
+230ms (2%)
Total Time:
9,278ms
Test name
Duration
Change
Serialization/JavaScript function call through Wasm import
18ms
-1ms (6%)
✅
View Unchanged
| Test name | Duration | Change | | :--- | :---: | :---: | | Serialization/JavaScript function call through Wasm import with int | 14ms | -0ms | | Serialization/JavaScript function call from Swift | 92ms | -3ms (3%) | | Serialization/Swift Int to JavaScript with assignment | 320ms | -4ms (1%) | | Serialization/Swift Int to JavaScript with call | 926ms | +13ms (1%) | | Serialization/JavaScript Number to Swift Int | 299ms | -1ms (0%) | | Serialization/Swift String to JavaScript with assignment | 375ms | +1ms | | Serialization/Swift String to JavaScript with call | 980ms | +17ms (1%) | | Serialization/JavaScript String to Swift String | 3,614ms | +142ms (3%) | | Object heap/Increment and decrement RC | 2,628ms | +67ms (2%) |
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 | 2ms |
Time Change: +230ms (2%)
Total Time: 9,278ms
View Unchanged
| Test name | Duration | Change | | :--- | :---: | :---: | | Serialization/JavaScript function call through Wasm import with int | 14ms | -0ms | | Serialization/JavaScript function call from Swift | 92ms | -3ms (3%) | | Serialization/Swift Int to JavaScript with assignment | 320ms | -4ms (1%) | | Serialization/Swift Int to JavaScript with call | 926ms | +13ms (1%) | | Serialization/JavaScript Number to Swift Int | 299ms | -1ms (0%) | | Serialization/Swift String to JavaScript with assignment | 375ms | +1ms | | Serialization/Swift String to JavaScript with call | 980ms | +17ms (1%) | | Serialization/JavaScript String to Swift String | 3,614ms | +142ms (3%) | | Object heap/Increment and decrement RC | 2,628ms | +67ms (2%) |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 | 2ms |