Speed Performance Comparison of JavaScript MVC Frameworks
2015 (Engelska)Självständigt arbete på grundnivå (kandidatexamen), 20 poäng / 30 hp
Studentuppsats (Examensarbete)
Abstract [en]
ABSTRACT
Context: Many websites today are very interactive and the users are getting used to sites that change hundreds of elements every second. Often a JavaScript framework is used to build the web site and with many changing elements on the site the need for a JavaScript framework that can handle the fast changes are needed. Each frameworks do it differently to achieving this but most of them do some manipulation with the Document Object Model (DOM).
Objectives: This research will show how fast the selected MCV like JavaScript frameworks (AngularJs, AngularJs 2.0, Aurelia, Backbone, Ember, Knockout, Mithril, Vue) can create, delete and update HTML elements on the screen.
Methods: This research have used Google Chromes TimeLine tool to measure the speed of the frameworks. The test involves creating a HTML table and fill it with a thousand rows of data with six columns. The tables content are tested to see how fast the frameworks can create, update and remove the elements.
Conclusions: Angular 2.0 almost achieved first place in all tests. Angular 1.5 did very good in the update tests and was good in the create elements test. Backbone and Ember did not do so well in the create and update tests but Backbone was the best framework in one of the delete tests. Aurelia got very good results and so did Vue which almost had the same values as Aurelia throughout the tests. Mithril and Knockout performed well in the create test which placed them in the middle among all the selected frameworks. When it came to the update tests Mithril and Knockout also found them self in the middle positions of all the frameworks.
Key Words: JavaScript, Framework, performance, Angular, Aurelia, Backbone, Ember, Knockout, Mithril, Vue.
Ort, förlag, år, upplaga, sidor
2015. , s. 53
Nyckelord [en]
JavaScript Framework Angular Aurelia Backbone Ember Knockout Mithril Vue
Nationell ämneskategori
Teknik och teknologier
Identifikatorer
URN: urn:nbn:se:bth-13046OAI: oai:DiVA.org:bth-13046DiVA, id: diva2:998701
Ämne / kurs
PA1418 Kandidatarbete - Stort programvaruprojekt i grupp
Utbildningsprogram
PAGWE Webbprogrammering
Presentation
2016-09-02, Blekinge Institute of Technology, SE-371 79, KARLSKRONA, 20:50 (Svenska)
Handledare
Examinatorer
2016-10-062016-09-292016-10-06Bibliografiskt granskad