Benchmarking react library: a developer perspective

No Thumbnail Available
Authors
Siddalingaswamy, Chandana Nettekere
Issue Date
2021
Degree
MSc in Information Systems with Computing
Publisher
Dublin Business School
Rights
Items in eSource are protected by copyright. Previously published items are made available in accordance with the copyright policy of the publisher/copyright holder.
Abstract
Developers are often reluctant to adapt to the new framework since they need to allocate time in training and adapt. This study aims to determine the need for benchmarking JS and ReactJS application in a developer’s viewpoint contributing detailed attention to React features and in this context, evaluating the gap in comparing JS and React applications by considering the performance as principal criteria. To test the hypothesis, considered optimised methods, coding standards, and best practices using proper design and structure, using event listeners in JS, react-virtualized list, avoiding mutated values, and considering the production environment in React JS applications. The results showed a massive difference in the performance between the applications in hightraffic situations since the React application uses virtual DOM that rendered what is needed at that point, making ReactJS approximately 97% faster than Javascript. On this basis, React should be considered for developing apps as its advantages outweigh its disadvantages, making it easy to migrate for any organisations or developers.