Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add JSTypedArray.copyMemory(to:) method #315

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
kateinoigakukun merged 1 commit into main from yt/add-copy-memory
Mar 26, 2025
Merged

Conversation

@kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Mar 26, 2025

This method allows copying the contents of a typed array to a Swift memory buffer.

This method allows copying the contents of a typed array to a Swift
memory buffer.
@kateinoigakukun kateinoigakukun marked this pull request as ready for review March 26, 2025 07:33
Copy link

Time Change: +110ms (1%)

Total Time: 9,785ms

Test name Duration Change
Serialization/JavaScript function call through Wasm import 26ms +3ms (11%) ⚠️
Serialization/JavaScript function call through Wasm import with int 23ms +1ms (5%) 🔍
Serialization/JavaScript function call from Swift 140ms +19ms (13%) ⚠️
Serialization/Swift String to JavaScript with assignment 437ms +23ms (5%) 🔍
View Unchanged
Test name Duration Change
Serialization/Swift Int to JavaScript with assignment 344ms +12ms (3%)
Serialization/Swift Int to JavaScript with call 979ms +25ms (2%)
Serialization/JavaScript Number to Swift Int 272ms +6ms (2%)
Serialization/Swift String to JavaScript with call 1,080ms +38ms (3%)
Serialization/JavaScript String to Swift String 3,628ms -39ms (1%)
Object heap/Increment and decrement RC 2,817ms +13ms (0%)
View Baselines
Test name Duration
Serialization/Call JavaScript function directly 9ms
Serialization/Assign JavaScript number directly 9ms
Serialization/Call with JavaScript number directly 7ms
Serialization/Write JavaScript string directly 7ms
Serialization/Call with JavaScript string directly 7ms

@kateinoigakukun kateinoigakukun merged commit c0ddc7d into main Mar 26, 2025
6 checks passed
@kateinoigakukun kateinoigakukun deleted the yt/add-copy-memory branch March 26, 2025 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /