Towards Autonomous Frontend Systems: AI-Based Bottleneck Detection and Performance Optimization

Authors

  • Parth Patel Independent Researcher, USA. Author

DOI:

https://doi.org/10.63282/3050-9246.IJETCSIT-V7I2P121

Keywords:

Frontend Performance, Real User Monitoring, Performance Telemetry, Core Web Vitals, Anomaly Detection, Bottleneck Localization, Component-Based Web Applications, Frontend Observability, Performance Optimization, Machine Learning

Abstract

Large frontend systems carry a wide mix of runtime costs: route bootstrapping, script evaluation, component rendering, image loading, layout work, and network waiting. In practice, teams usually watch dashboard thresholds and then inspect traces by hand when a route slows down. That process works for a small product, but it becomes hard to sustain when a platform has many routes, many shared components, frequent releases, and traffic from different devices. This paper presents a telemetry-driven pipeline for detecting frontend bottlenecks and routing the result into a simple optimization loop. The method combines browser-side performance collection, feature aggregation at route and session level, unsupervised anomaly screening, and a supervised classifier that labels the most likely bottleneck class. The evaluation uses a representative enterprise portal with injected faults such as oversized route chunks, repeated re-renders, render-blocking request chains, image priority mistakes, and layout thrashing. The proposed pipeline is compared with threshold rules and standard tree-based baselines. In the controlled study, the combined Isolation Forest and XGBoost pipeline achieves the best F1 score and shortens the time needed to narrow a performance issue to a likely source. The results also show that detection is more useful when the output is linked to concrete frontend actions such as chunk splitting, memoization, API parallelism, image priority correction, and selective render deferral. The paper is written as a practical engineering study intended for component-based web applications that use real user monitoring and continuous delivery.

Downloads

Download data is not yet available.

References

[1] Google, "Web Vitals," web.dev. https://web.dev/articles/vitals

[2] J. Wagner, "First Contentful Paint (FCP)," web.dev, Dec. 6, 2023. https://web.dev/articles/fcp

[3] P. Irish and B. Pollard, "Largest Contentful Paint (LCP)," web.dev, Aug. 8, 2019. https://web.dev/articles/lcp

[4] P. Irish and B. Pollard, "Interaction to Next Paint (INP)," web.dev. https://web.dev/articles/inp

[5] R. Viscomi, "Interaction to Next Paint is officially a Core Web Vital," web.dev, Mar. 12, 2024. https://web.dev/blog/inp-cwv-launch

[6] Google Chrome Developers, "Overview of CrUX," developer.chrome.com, Feb. 8, 2024. https://developer.chrome.com/docs/crux

[7] W3C, "Long Tasks API 1," W3C Recommendation, Mar. 19, 2026. https://www.w3.org/TR/longtasks-1/

[8] MDN Web Docs, "PerformanceObserver," Mozilla Developer Network, Oct. 12, 2024. https://developer.mozilla.org/en-US/docs/Web/API/PerformanceObserver

[9] F. T. Liu, K. M. Ting, and Z. H. Zhou, "Isolation Forest," in 2008 Eighth IEEE International Conference on Data Mining, Pisa, Italy, 2008, pp. 413–422. doi: 10.1109/ICDM.2008.17.

[10] F. T. Liu, K. M. Ting, and Z. H. Zhou, "Isolation-Based Anomaly Detection," ACM Transactions on Knowledge Discovery from Data, vol. 6, no. 1, article 3, 2012. doi: 10.1145/2133360.2133363.

[11] L. Breiman, "Random Forests," Machine Learning, vol. 45, no. 1, pp. 5–32, 2001. doi: 10.1023/A:1010933404324.

[12] T. Chen and C. Guestrin, "XGBoost: A Scalable Tree Boosting System," in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016, pp. 785–794. doi: 10.1145/2939672.2939785.

[13] C. Bansal, S. Renganathan, A. Asudani, O. Midy, and M. Janakiraman, "DeCaf: Diagnosing and Triaging Performance Issues in Large-Scale Cloud Services," in Proceedings of the ACM/IEEE 42nd International Conference on Software Engineering: Software Engineering in Practice, 2020, pp. 201–210. doi: 10.1145/3377813.3381353.

[14] M. S. Islam, W. Pourmajidi, L. Zhang, J. Steinbacher, T. Erwin, and A. Miranskyy, "Anomaly Detection in a Large-Scale Cloud Platform," in 2021 IEEE/ACM 43rd International Conference on Software Engineering: Software Engineering in Practice, 2021. doi: 10.1109/ICSE-SEIP52600.2021.00024.

[15] G. Yu, P. Chen, H. Chen, Z. Guan, Z. Huang, L. Jing, T. Weng, X. Sun, and X. Li, "MicroRank: End-to-End Latency Issue Localization with Extended Spectrum Analysis in Microservice Environments," in Proceedings of the Web Conference 2021, 2021, pp. 3087–3098. doi: 10.1145/3442381.3449905.

[16] A. Shatnawi, B. Rima, Z. Alshara, G. Darbord, A. D. Seriai, and C. Bortolaso, "Telemetry of Legacy Web Applications: An Industrial Case Study," TechRxiv, 2023. doi: 10.36227/techrxiv.24449092.v1.

[17] S. Shivakumar and P. V. Suresh, "A Survey and Analysis of Techniques and Tools for Web Performance Optimization," Journal of Information Organization, vol. 8, no. 2, pp. 31–57, 2018. doi: 10.6025/jio/2018/8/2/31-57.

Published

2026-04-23

Issue

Section

Articles

How to Cite

1.
Patel P. Towards Autonomous Frontend Systems: AI-Based Bottleneck Detection and Performance Optimization. IJETCSIT [Internet]. 2026 Apr. 23 [cited 2026 May 3];7(2):153-9. Available from: https://ijetcsit.org/index.php/ijetcsit/article/view/698

Similar Articles

261-270 of 548

You may also start an advanced similarity search for this article.