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

Improve development build performance (remove the Error instances created for autotracking transactions) #1066

Merged
merged 1 commit into from
Mar 26, 2020

Conversation

pzuraq
Copy link
Member

@pzuraq pzuraq commented Mar 25, 2020

These errors are expensive to generate, and have become problematic for
development mode in general. The plan is to remove them for now, and try
to bring them back some time in the future in a opt-in way that is more
conventional and comprehensive (e.g. show all possible consumption
locations, not just the first one).

Related: emberjs/ember.js#18834
Related: emberjs/ember.js#18798

These errors are expensive to generate, and have become problematic for
development mode in general. The plan is to remove them for now, and try
to bring them back some time in the future in a opt-in way that is more
conventional and comprehensive (e.g. show all possible consumption
locations, not just the first one).
@pzuraq pzuraq merged commit d16f573 into master Mar 26, 2020
@pzuraq pzuraq deleted the perf/remove-error-from-autotracking-transaction branch March 26, 2020 00:36
@bendemboski
Copy link
Contributor

bendemboski commented Mar 30, 2020

🎉

Porting some stuff to tracked has totally murdered my performance in tests, and I've verified that this is the cause. I have a test module that takes 110s to run, or 2s to run with the error construction removed. Any idea when this will be released? Trying to decide whether or not to hold up my porting to tracked until this is released so dev cycle, CI time, etc., doesn't skyrocket.

@rwjblue rwjblue added the bug label Apr 3, 2020
@rwjblue rwjblue changed the title [PERF] Removes the Errors created for autotracking transactions Improve development build performance (remove the Error instances created for autotracking transactions) Apr 3, 2020
@rwjblue
Copy link
Member

rwjblue commented Apr 3, 2020

@bendemboski - Started that process in emberjs/ember.js#18861.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants