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

Start migrating imported functions to the new definition style #252

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 3 commits into main from katei/refactor-import-funcs
Jun 11, 2024

Conversation

@kateinoigakukun
Copy link
Member

@kateinoigakukun kateinoigakukun commented Jun 11, 2024

Use of different function names for C-name and Wasm's import name is a bit confusing. Also use of unprefixed function names in the C code is not a good practice. This commit starts migrating imported functions to the new naming convention and removes duplicated function definitions just for IDE support by using macro.

Use of different function names for C-name and Wasm's import name is a
bit confusing. Also use of unprefixed function names in the C code is
not a good practice. This commit starts migrating imported functions to
the new naming convention and removes duplicated function definitions
just for IDE support by using macro.
Copy link

github-actions bot commented Jun 11, 2024
edited
Loading

Time Change: -394ms (4%)

Total Time: 9,416ms

Test name Duration Change
Serialization/JavaScript function call through Wasm import 20ms -1ms (5%)
Serialization/Swift String to JavaScript with assignment 387ms -33ms (8%)
Serialization/Swift String to JavaScript with call 985ms -50ms (5%)
Serialization/JavaScript String to Swift String 3,698ms -259ms (7%)
View Unchanged
Test name Duration Change
Serialization/JavaScript function call through Wasm import with int 15ms +1ms
Serialization/JavaScript function call from Swift 104ms +0ms
Serialization/Swift Int to JavaScript with assignment 320ms -14ms (4%)
Serialization/Swift Int to JavaScript with call 946ms -36ms (3%)
Serialization/JavaScript Number to Swift Int 300ms -11ms (3%)
Object heap/Increment and decrement RC 2,629ms +15ms (0%)
View Baselines
Test name Duration
Serialization/Call JavaScript function directly 4ms
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

@kateinoigakukun kateinoigakukun marked this pull request as ready for review June 11, 2024 11:13
@kateinoigakukun kateinoigakukun deleted the katei/refactor-import-funcs branch June 11, 2024 11:14
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 によって変換されたページ (->オリジナル) /