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
LFX Workspace: Improving the performance of running miniruby #1292
Comments
Week 1
next week
|
Week 2
Next week
|
Week 3
Next week
|
Week 4
Next week
|
Week 5
Next week
|
Week 6
opcode-tableNext week
|
Week 7
interpreter mode: interpreter_mode_branchmiss:
interpreter_mode_cachemiss:
AOT clock: Loader::parseModule:
AOT branch miss && cache miss: VM destructor and (linux)native library Next week
|
Week 8Do few things due to May Day (holiday evenly 5days in my local) This week
|
Week 9
This week
|
Week 10Stuck with issue#1457, I try different ways to solve and run various test cases, but the time cost in the interpreter is not improved much(the branch misses certainly decrease, but it depends on the branch miss take percent) This weekTry to improve/ fix this issuehttps://github.com//issues/1457 |
Week 11Sorry for the late report, I was busy with my final exam. And I do a few simple tests last week, I hope to solve this issue as soon as possible. |
SummaryThe main goal for this mentorship is to improve the whole VM performance by running the ruby test case above the miniruby file. And what I had done is small: I just solve an issue that occur useless instruction counting due to incorrect initialization. And for the future plan/ potential optimization point: the loader in loading content and issue #1457 . I really appreciate the mentor’s patient guidance(I get many test methods/tips which are not easy to get from books/videos). Besides, the code in the WasmEdge runtime is also needed further study, (It uses a long switch case table to dispatch various instructions in interpreter mode, maybe there have other VM implements way also works well). |
|
Close as completed. |
Motivation
Miniruby is a porting ruby to wasm file.
With this container hope to find the bottleneck both in interpreter mode and AOT mode.
Handle the bottleneck in miniruby and achieve a whole improvement(not specific for miniruby).
Details
Appendix
miniruby proposal: https://bugs.ruby-lang.org/issues/18462
Output PR
#1587
#1382
The text was updated successfully, but these errors were encountered: