Skip to content
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

vdiff: remove unnecessary collect during diffing #539

Merged
merged 1 commit into from
Aug 2, 2019

Conversation

totorigolo
Copy link
Contributor

What the title says.

I didn't bench if this improves performances, since there is currently no bench in yew. I'm open to ideas on how to.

@jstarry
Copy link
Member

jstarry commented Jul 26, 2019

Nice! I agree that we should add benchmarks to this project to be able to push for much better performance. Before working on optimizations like this one, I think we should add an automated bench marking tool to this project to see what kind of improvements we are getting. Something like: https://github.com/krausest/js-framework-benchmark

@jstarry
Copy link
Member

jstarry commented Aug 2, 2019

@totorigolo I ran benchmarks against your commit and its parent. The results looked good, thanks!

Screenshot 2019-08-01 23 05 59

@jstarry
Copy link
Member

jstarry commented Aug 2, 2019

bors r+

bors bot added a commit that referenced this pull request Aug 2, 2019
539: vdiff: remove unnecessary collect during diffing r=jstarry a=totorigolo

What the title says.

I didn't bench if this improves performances, since there is currently no bench in yew. I'm open to ideas on how to.

Co-authored-by: Thomas Lacroix <toto.rigolo@free.fr>
@bors
Copy link
Contributor

bors bot commented Aug 2, 2019

Build succeeded

@bors bors bot merged commit ce70a0b into yewstack:master Aug 2, 2019
@totorigolo totorigolo deleted the remove-vec-copy-in-vdiff branch August 2, 2019 08:35
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.

None yet

2 participants