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

Appearance settings

Gardening tests#133

Merged
kateinoigakukun merged 7 commits into
mainswiftwasm/JavaScriptKit:mainfrom
katei/gardening-testsswiftwasm/JavaScriptKit:katei/gardening-testsCopy head branch name to clipboard
Jul 18, 2021
Merged

Gardening tests#133
kateinoigakukun merged 7 commits into
mainswiftwasm/JavaScriptKit:mainfrom
katei/gardening-testsswiftwasm/JavaScriptKit:katei/gardening-testsCopy head branch name to clipboard

Conversation

@kateinoigakukun

@kateinoigakukun kateinoigakukun commented Jul 18, 2021

Copy link
Copy Markdown
Member

@github-actions

github-actions Bot commented Jul 18, 2021

Copy link
Copy Markdown

Time Change: +157.75ms (1%)

Total Time: 10,526ms

ℹ️ View Unchanged
Test name Duration Change
Serialization/Write JavaScript number directly 207ms +3.5ms (1%)
Serialization/Write JavaScript string directly 205.5ms -1ms
Serialization/Swift Int to JavaScript 3,341.25ms +89.75ms (2%)
Serialization/Swift String to JavaScript 3,430.75ms +25.25ms (0%)
Object heap/Increment and decrement RC 3,341.5ms +40.25ms (1%)

performance-action

c1.release()
// Call a released closure
print("======= BEGIN OF EXPECTED FATAL ERROR =====")
_ = try expectThrow(try evalClosure.throws(c1))

@MaxDesiatov MaxDesiatov Jul 18, 2021

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should expectThrow contain these prints to avoid repetition?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

expectThrow is not for crash tests, so I added another helper function

@MaxDesiatov MaxDesiatov left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems legit, thanks!

@kateinoigakukun kateinoigakukun merged commit 7f41fb4 into main Jul 18, 2021
@kateinoigakukun kateinoigakukun deleted the katei/gardening-tests branch July 18, 2021 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make test crashes due to JSClosure memory issues

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.