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

Reduce the number of closures in Stream #210

Merged
merged 4 commits into from
Oct 9, 2018
Merged

Reduce the number of closures in Stream #210

merged 4 commits into from
Oct 9, 2018

Conversation

dubzzz
Copy link
Owner

@dubzzz dubzzz commented Oct 9, 2018

Stream class is currently highly used during the shrinking process. Reducing its footprint can highly benefit for a higher convergence speed.

Related to #147

Related to #147

Node 10.0.0
Reference = 38321d3
Test = this commit

Reference x 1.59 ops/sec ±2.77% (24 runs sampled)
Test x 1.84 ops/sec ±1.83% (24 runs sampled)
Reference x 1.54 ops/sec ±2.48% (23 runs sampled)
Test x 1.70 ops/sec ±2.95% (24 runs sampled)

Reference (target=es6) x 2.16 ops/sec ±1.13% (25 runs sampled)
Test (target=es6) x 6.26 ops/sec ±2.41% (35 runs sampled)
Reference (target=es6) x 2.12 ops/sec ±1.10% (25 runs sampled)
Test (target=es6) x 6.36 ops/sec ±3.81% (35 runs sampled)
Related to #147

Node 10.0.0
Reference = 38321d3
Prev = parent commit
Test = this commit

Reference x 1.62 ops/sec ±3.00% (23 runs sampled)
Prev x 1.82 ops/sec ±2.48% (24 runs sampled)
Test x 1.98 ops/sec ±4.09% (25 runs sampled)
Reference x 1.55 ops/sec ±1.91% (23 runs sampled)
Prev x 1.81 ops/sec ±2.91% (24 runs sampled)
Test x 2.07 ops/sec ±2.95% (25 runs sampled)

Reference (target=es6) x 2.10 ops/sec ±2.03% (25 runs sampled)
Prev (target=es6) x 6.40 ops/sec ±3.28% (35 runs sampled)
Test (target=es6) x 6.45 ops/sec ±2.94% (36 runs sampled)
Reference (target=es6) x 2.14 ops/sec ±1.95% (25 runs sampled)
Prev (target=es6) x 6.31 ops/sec ±2.88% (35 runs sampled)
Test (target=es6) x 6.47 ops/sec ±2.35% (36 runs sampled)
@coveralls
Copy link

coveralls commented Oct 9, 2018

Coverage Status

Coverage increased (+0.06%) to 92.415% when pulling 80fd9dc on feat/perfs/1 into 38321d3 on master.

@dubzzz dubzzz merged commit aabbad9 into master Oct 9, 2018
@dubzzz dubzzz deleted the feat/perfs/1 branch October 9, 2018 23:53
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.

2 participants