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

build(global): enable aggressive closure optimization #2243

Closed
wants to merge 1 commit into from

Conversation

kwonoj
Copy link
Member

@kwonoj kwonoj commented Jan 2, 2017

Description:
This PR enables 'ADVANCED' optimization in closure compiler to generate more compressed minified global build.

Size comparsion:
image

gain around ~30kb of more compression.

I'm marking it as BLOCKED - cause there isn't reliable way to validate regressions of this optimization. I have filed related issue #2229, which'll allow to test global builds correctly on browsers.

Related issue (if exists):
#2229
#2227
#2225

@kwonoj kwonoj added the blocked label Jan 2, 2017
@coveralls
Copy link

coveralls commented Jan 2, 2017

Coverage Status

Coverage remained the same at 97.69% when pulling 42e9874 on kwonoj:chore-closure into 6922b16 on ReactiveX:master.

@trxcllnt
Copy link
Member

trxcllnt commented Jan 3, 2017

nice looking forward to this!

@benlesh
Copy link
Member

benlesh commented Feb 17, 2017

@kwonoj do you think we could validate regressions by somehow building and running the specs against the this optimized build? This seems like something we should prioritize.

@kwonoj
Copy link
Member Author

kwonoj commented Feb 17, 2017

As noted in PR, I already filed #2229 to change browser testing's target to use UMD build instead of CJS. I gave a quick shot and found it wasn't trivial though.

@kwonoj
Copy link
Member Author

kwonoj commented Aug 15, 2017

I'm going to close this for now and reopen once we have pipeline for testing against browser.

@kwonoj kwonoj closed this Aug 15, 2017
@kwonoj kwonoj deleted the chore-closure branch August 15, 2017 00:18
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants