-
Notifications
You must be signed in to change notification settings - Fork 203
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
Create developer's guide for performance enhancements #928
Comments
That's sounds nice :) I'd love to write a draft document 💪 Also, it would be better to be able to describe how to measure performance? (heaptrack, mimalloc-stats, memory layout ... etc) |
@fukusuket Thank you so much! I will assign you then. |
@YamatoSecurity |
@fukusuket Looks great! |
Thank you for reviewing :) I'll update the order paragraphs and put a screenshot! |
@YamatoSecurity |
@fukusuket Thank you so much! It might take a little while as I have to prepare for teaching SANS next week but can definitely do it after that. @hitenkoku Can you add whatever performance advice you have as well? |
@fukusuket Thank you for writing. It is very useful for me. @YamatoSecurity I have nothing to add. |
I would like to create some documentation about Rust performance for future developers as well as Rust programmers interested in making their programs very fast and memory efficient.
We can put it under
doc/RustPerformance-English.md
anddoc/RustPerformance-Japanese.md
.@fukusuket Could I ask you to write the first draft? (No hurry, so whenever you have extra time.)
You can just document all of your performance enhancements you made recently in Japanese and I can handle the English translations when it is finished.
I would like to include the old sample code versus new sample code and roughly how much it improves speed and/or memory.
Maybe group by category. For example:
Iterators can reduce memory usage because memory allocation only occurs one record at a time.
Also, change the return type to Box to make Iterator the return value of the function.
Iterator is trait (not structs), so need to be wrapped in a Box to return from a function
What do you think?
The text was updated successfully, but these errors were encountered: