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

Trivial fixes to JSTypedArray #223

Closed kateinoigakukun closed 1 year ago

github-actions[bot] commented 1 year ago

Time Change: -2ms (0%)

Total Time: 16,540ms

Test name Duration Change
Serialization/JavaScript function call through Wasm import with int 35ms +8ms (23%) 🚨
View Unchanged | Test name | Duration | Change | | :--- | :---: | :---: | | Serialization/JavaScript function call through Wasm import | 54ms | +1ms | | Serialization/JavaScript function call from Swift | 233ms | +8ms (3%) | | Serialization/Swift Int to JavaScript with assignment | 507ms | +2ms (0%) | | Serialization/Swift Int to JavaScript with call | 1,510ms | -8ms (0%) | | Serialization/JavaScript Number to Swift Int | 526ms | +5ms (0%) | | Serialization/Swift String to JavaScript with assignment | 584ms | -4ms (0%) | | Serialization/Swift String to JavaScript with call | 1,601ms | +22ms (1%) | | Serialization/JavaScript String to Swift String | 6,972ms | -27ms (0%) | | Object heap/Increment and decrement RC | 4,493ms | -8ms (0%) |
View Baselines | Test name | Duration | | :--- | :---: | | Serialization/Call JavaScript function directly | 3ms | | Serialization/Assign JavaScript number directly | 4ms | | Serialization/Call with JavaScript number directly | 4ms | | Serialization/Write JavaScript string directly | 10ms | | Serialization/Call with JavaScript string directly | 4ms |