AngularJS is a popular JavaScript MVC-based framework to construct single-page web applications. In this paper, we report the results of a survey with 95 professional developers about performance issues of AngularJS applications. We report common practices followed by developers to avoid performance problems (e.g., use of third-party or custom components), the general causes of performance problems in AngularJS applications (e.g., inadequate architecture decisions taken by AngularJS users), and the technical and specific causes of performance problems (e.g., unnecessary processing included in the digest cycle, which is the internal computation that automatically updates the view with changes detected in the model).
翻译:在本文件中,我们报告了与95名专业开发人员就角JS应用的性能问题进行的一次调查的结果。我们报告了开发人员为避免性能问题(例如第三方或海关部件的使用)、角JS应用中性能问题的一般原因(例如角JS用户作出的建筑决定不充分)以及性能问题的技术原因和具体原因(例如,消化循环中包含不必要的处理,这是自动更新观点并改变模型的内部计算)。