2 ms·
The official Angular docs describe it thusly: You may want to disable this in production for a significant performance boost https://docs.angularjs.or
by aaronbrethorst 11y ago
The official Angular docs describe it thusly:
You may want to disable this in production
for a significant performance boost
https://docs.angularjs.org/api/ng/provider/$compileProvider https://docs.angularjs.org/api/ng/provider/$compileProvider
I'm inclined to believe the engineers who wrote the docs on this.
- Bahamut 11y agoA Twitter engineer mentioned this in a lightning talk in the AngularJS SF meetup a little more than a year ago - he mentioned that he found speed gains of about 33% with that one line. It's a great tool to have in your belt for optimizing angular apps, most people working with angular are not aware of this unfortunately.
- MaulingMonkey 11y agoI'd be inclined not to believe even myself, had I wrote such a thing, without hard data. Even if I was right then, things may have changed. And just what constitutes significant, anyways?