-
Notifications
You must be signed in to change notification settings - Fork 331
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
Remove stream laziness #469
base: master
Are you sure you want to change the base?
Conversation
b8aa74e
to
ed78755
Compare
Did you try this with your work project? That's the performance that matters, after all. |
Not yet. I could run some stress tests and see if this has any noticeable difference, but that would only show if there's any difference problems we've previously encountered. For a real test I'll have to wait to Monday evening when all the US people are online. |
Performance seems better without laziness especially when the extra iteration in Bacon.when was removed. This isn't unexpected as Flowdock isn't really built to take advantage of it. |
Will this get merged in 0.8? I guess it needs some update too, as things like this were added later: d49fd51 |
This is again mergeable: compiled JS had conflicts. |
@raimohanska, any interest in merging this in? If so, I can rebase this to work on master. |
I think this might be one of the things to include into 0.8, as it's a quite a major change indeed. I suggest we create a version-0.8 branch for that stuff. Ok? |
I've rebased this to work on master. This should also apply on the |
Thanks! -juha-
|
Based on discussed in #465, remove laziness from stream evaluation. The performance didn't change drastically. Sampling is slower, but simple things such as map and scan are faster. However, at least for map, similar performance boost could be achieved by removing instanceof checks from event classes.
After
Before