Comparing performance between plain JavaScript and popular JavaScript frameworks

JavaScript is used on the web together with HTML and CSS, in many cases using frameworks for JavaScript such as jQuery and Backbone.js. This project is comparing the speed and memory allocation of the programming language JavaScript and its two most used frameworks as well as the language on its own...

Full description

Bibliographic Details
Main Author: Ladan, Zlatko
Format: Others
Language:English
Published: Linnéuniversitetet, Institutionen för datavetenskap (DV) 2015
Subjects:
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:lnu:diva-39646
id ndltd-UPSALLA1-oai-DiVA.org-lnu-39646
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-lnu-396462015-02-03T04:44:40ZComparing performance between plain JavaScript and popular JavaScript frameworksengLadan, ZlatkoLinnéuniversitetet, Institutionen för datavetenskap (DV)2015comparisonprogrammingframeworksJavaScriptjQueryBackbone.jsheap allocation time-lineCPU profile time-lineJavaScript is used on the web together with HTML and CSS, in many cases using frameworks for JavaScript such as jQuery and Backbone.js. This project is comparing the speed and memory allocation of the programming language JavaScript and its two most used frameworks as well as the language on its own. Since JavaScript is not very fast and it has some missing features or features that differ from browser to browser and frameworks solve this problem but at the cost of speed and memory allocation, the aim is to find out how well JavaScript and the two frameworks jQuery and Backbone.js are doing this on Google Chrome Canary. The results varied (mostly) between the implementations and show that the to-do application is a good enough example to use when comparing the results of heap allocation and CPU time of methods. The results where compared with their mean values and using ANOVA. JavaScript was the fastest, but it might not be enough for a developer to completely stop using frameworks. With JavaScript a developer can choose to create a custom framework, or use an existing one based on the results of this project. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:lnu:diva-39646application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic comparison
programming
frameworks
JavaScript
jQuery
Backbone.js
heap allocation time-line
CPU profile time-line
spellingShingle comparison
programming
frameworks
JavaScript
jQuery
Backbone.js
heap allocation time-line
CPU profile time-line
Ladan, Zlatko
Comparing performance between plain JavaScript and popular JavaScript frameworks
description JavaScript is used on the web together with HTML and CSS, in many cases using frameworks for JavaScript such as jQuery and Backbone.js. This project is comparing the speed and memory allocation of the programming language JavaScript and its two most used frameworks as well as the language on its own. Since JavaScript is not very fast and it has some missing features or features that differ from browser to browser and frameworks solve this problem but at the cost of speed and memory allocation, the aim is to find out how well JavaScript and the two frameworks jQuery and Backbone.js are doing this on Google Chrome Canary. The results varied (mostly) between the implementations and show that the to-do application is a good enough example to use when comparing the results of heap allocation and CPU time of methods. The results where compared with their mean values and using ANOVA. JavaScript was the fastest, but it might not be enough for a developer to completely stop using frameworks. With JavaScript a developer can choose to create a custom framework, or use an existing one based on the results of this project.
author Ladan, Zlatko
author_facet Ladan, Zlatko
author_sort Ladan, Zlatko
title Comparing performance between plain JavaScript and popular JavaScript frameworks
title_short Comparing performance between plain JavaScript and popular JavaScript frameworks
title_full Comparing performance between plain JavaScript and popular JavaScript frameworks
title_fullStr Comparing performance between plain JavaScript and popular JavaScript frameworks
title_full_unstemmed Comparing performance between plain JavaScript and popular JavaScript frameworks
title_sort comparing performance between plain javascript and popular javascript frameworks
publisher Linnéuniversitetet, Institutionen för datavetenskap (DV)
publishDate 2015
url http://urn.kb.se/resolve?urn=urn:nbn:se:lnu:diva-39646
work_keys_str_mv AT ladanzlatko comparingperformancebetweenplainjavascriptandpopularjavascriptframeworks
_version_ 1716729948429877248