Skip to content
Open access

From Source Code to Cost: A Multilingual, Cost‐Aware Runtime Prediction Framework for Multi‐Cloud FaaS

Aug 2026 · Concurrency and Computation · Vol 38 · 0 citations · 42 references
Computer Science

TL;DR

An extended version of the Orama Framework is presented that advances runtime prediction toward a multilingual and cost‐aware approach and provides a unified approach for performance and cost‐aware prediction in serverless computing environments.

Abstract

Predicting the runtime and cost of Function‐as‐a‐Service (FaaS) applications remains challenging in multi‐cloud environments due to variations in code complexity, workload characteristics, and provider‐specific behaviors. This paper presents an extended version of the Orama Framework that advances runtime prediction toward a multilingual and cost‐aware approach. The framework incorporates a multilingual Halstead metric extractor for language‐agnostic static analysis and enhances the predictor to estimate execution costs by combining runtime forecasts with cloud pricing models across AWS Lambda, Google Cloud Functions, Azure Functions, and Alibaba Function Compute. To assess robustness and generalization, the data set is expanded with a scientific workload based on genetic sequence alignment, introducing input‐sensitive execution patterns. The extended data set integrates static code metrics, workload scale, infrastructure metadata, and empirical multi‐cloud execution traces. Neural network models (Dense, LSTM, and BLSTM) are retrained and evaluated using standard regression metrics and cost estimation. Results indicate that the enhanced BLSTM model maintains high predictive precision across heterogeneous workloads and providers, while enabling cross‐cloud cost estimation directly from source code. The extended framework provides a unified approach for performance and cost‐aware prediction in serverless computing environments.

Read PDF

Similar papers

Open access 2026

A Taxonomy and Empirical Evaluation of WebAssembly Runtimes for Performance and Energy Across Machine Learning and Arithmetic Workloads

WebAssembly (Wasm) has emerged as a lightweight, portable, and secure execution environment beyond the browser, with growing adoption in data-intensive, machine learning, and performance-sensitive workloads. However, the runtime ecosystem remains fragmented, and a systems-level understanding of how runtime design affec...

Sallar Khan, Tania Malik, K. Hasanov · 0 citations

Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmark

SWE-Flux is introduced, a repository-level benchmark for dynamic execution reasoning containing 480 execution-grounded instances across 12 real Python repositories, with gold answers automatically harvested from instrumented test executions rather than written manually or judged by LLMs.

Hamed Taherkhani, Mohammad Abdollahi, Melika Sepidband et al. · 1 citation
Open access Oct 2026

OptiMine: Scalable and Precise Code Optimization for Android Apps via LLM-Driven Semantic Analysis

OptiMine, a hybrid knowledge-to-code framework that integrates large language models with static program analysis to automatically uncover actionable performance optimizations, enables reliable and scalable performance auditing, bridging expert knowledge and actionable performance improvements in real-world mobile syst...

Peng-Bo Du, Qiu-Ping Yi, Liang-Zheng Zhang et al. · 0 citations
Conference Open access Sep 2026

CoCoMoE: Towards Efficient Code Completion with Sparse Mixture-of-Experts Architectures

Code completion is an important feature in modern integrated development environments (IDEs), aiming to improve developer’s productivity by predicting relevant code snippets. Recently, large language models (LLMs) have improved code completion quality significantly. However, the ever-growing size of LLMs imposes substa...

He Zhang, Zhi-Qi Wang, Yue Li et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.