-
-
Notifications
You must be signed in to change notification settings - Fork 673
Update nbody example for Rust #528
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
Conversation
| **AssemblyScript WASM** | **2921** | **2** | | ||
| AssemblyScript ASMJS | 3807 | 19* | | ||
| JavaScript | 2757 | 5* | | ||
| Rust WASM | 2866 | 20 / 2** | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get 13Kb before running wasm-gc
. And get 1.4Kb after wasm-gc
. How did you get those numbers?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You used s
flag instead 3
. I commented about this in prev PR. You could recheck size by yourself using latest nightly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main goal of this example is speed bench and size was measured as side effect, so both compilers using -O3
opt flags
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Numbers in the result table aren't correct.
Why? You got another values for sizes? |
With the optimisation level |
Great! I opened new PR because I should update timings anyway (previous measured on my local machine) But I very appreciate of your efforts and improvements. Thanks! |
Relate to #527