Features of Using Frameworks and Artificial Intelligence Language Models for JavaScript Code Optimization in Web Application Development

This work is dedicated to exploring methods for writing rational and functional code when developing web applications using JavaScript frameworks, as well as paths for its optimization. The results of JavaScript code optimization without losing upstream code functionality using artificial intelligence (AI) models based on Large Language Models (LLMs) are presented. The essence of the experiment involved loading a JavaScript file from a web application package for recognition and incremental optimization in a dialogue mode conducted by various AI models trained on diverse programming language datasets. During recognition, the AI identified the main scripts by their purpose and optimized the code as required. Using GPT-4o, an improved version of the code was obtained, featuring changes such as removal of redundant checks and operations, consolidation of similar operations into functions, elimination of code duplication, and others. As a result, code readability and performance, as well as page loading speed, were improved. Similarly, other AI models were tested, comparing their capabilities in both optimization and generation of code with specified functionalities.

Authors

Institutions

Publication Details

Published
2024-10-11
DOI
https://doi.org/10.1109/dessert65323.2024.11122152
Primary Topic
Advanced Data Processing Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Features of Using Frameworks and Artificial Intelligence Language Models for JavaScript Code Optimization in Web Application Development

Ihor Sliusar, Oleksandr Halych, Vadym Slyusar, Yurii Utkin et al.
Advanced Data Processing Techniques
article

Features of Using Frameworks and Artificial Intelligence Language Models for JavaScript Code Optimization in Web Application Development

Ihor Sliusar, Oleksandr Halych, Vadym Slyusar, Yurii Utkin, Olena Kopishynska, Olena Skryl
article en

Abstract

This work is dedicated to exploring methods for writing rational and functional code when developing web applications using JavaScript frameworks, as well as paths for its optimization. The results of JavaScript code optimization without losing upstream code functionality using artificial intelligence (AI) models based on Large Language Models (LLMs) are presented. The essence of the experiment involved loading a JavaScript file from a web application package for recognition and incremental optimization in a dialogue mode conducted by various AI models trained on diverse programming language datasets. During recognition, the AI identified the main scripts by their purpose and optimized the code as required. Using GPT-4o, an improved version of the code was obtained, featuring changes such as removal of redundant checks and operations, consolidation of similar operations into functions, elimination of code duplication, and others. As a result, code readability and performance, as well as page loading speed, were improved. Similarly, other AI models were tested, comparing their capabilities in both optimization and generation of code with specified functionalities.

Central Scientific Research Institute of Armament and Military Equipment of the Armed Forces of Ukraine (UA), Poltava State Agrarian University (UA)
Openalex Percentile: Top 61%
Advanced Data Processing Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.