FCoral: A Framework for Fine-grained Concurrency Evaluation Across Programming Language Runtimes
Jianjun Shi, Yinghui Huang, Bingxin Liu, Danying Ge, Jianhua Gao, Yuxiang Zhang, Weixing Ji
Key points
From the paper's conclusion- To address the challenges of existing approaches in performance evaluation across concurrent runtimes, we propose FCoral, a cross-language framework for fine-grained concurrency evaluation.
- FCoral successfully constructs cross-language benchmarks, facilitating systematic performance comparisons across concurrent runtimes. Based on the evaluation results, we propose two application-level optimization strategies.
- FCoral successfully constructs cross-language benchmarks, facilitating systematic performance comparisons across concurrent runtimes.
Abstract
Modern programming languages increasingly support lightweight concurrency abstractions (e.g., coroutines), which are managed by language-level runtimes to improve scalability and performance in highly concurrent applications. Compared with coarse-grained thread-level concurrency, the performance of fine-grained coroutine-level concurrency depends not only on system resources but is even more sensitive to the efficiency of the concurrent runtimes. Performance evaluation across concurrent runtimes is important for understanding performance bottlenecks and improving the efficiency of both concurrent applications and runtime systems. However, existing approaches mainly rely on manually crafted, language-specific benchmarks, making it difficult to ensure semantic consistency across languages and perform fair cross-runtime comparisons. Moreover, they often treat concurrent runtimes as black boxes, overlooking the impact of internal runtime mechanisms on concurrency performance. In this paper, we propose FCoral, a cross-language framework for fine-grained concurrency evaluation. By constructing formally verified and language-agnostic Concurrent Workload Programs (CWPs), FCoral automatically generates semantically consistent benchmarks across different runtimes. It further employs a parameterized methodology to evaluate runtime performance across different concurrency scales, task granularities, and workload types. Using FCoral, we conduct a comprehensive study of five representative runtimes–—FFRT (C++), Go, JVM, Tokio (Rust), and Cangjie–—across CPU-intensive, I/O-intensive, and mixed workloads. We further evaluate FCoral on two real-world high-concurrency applications. Results show that FCoral successfully constructs cross-language benchmarks, facilitating systematic performance comparisons across concurrent runtimes. Based on the evaluation results, we propose two application-level optimization strategies. Experimental results demonstrate that these strategies not only achieve significant performance improvements over the unoptimized versions but also further validate the effectiveness of FCoral.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- To address the challenges of existing approaches in performance evaluation across concurrent runtimes, we propose FCoral, a cross-language framework for fine-grained concurrency evaluation.
- FCoral successfully constructs cross-language benchmarks, facilitating systematic performance comparisons across concurrent runtimes. Based on the evaluation results, we propose two application-level optimization strategies.
- FCoral successfully constructs cross-language benchmarks, facilitating systematic performance comparisons across concurrent runtimes.
Readers' thoughts
No reader thoughts yet.
Related papers
- CONCUR: Benchmarking LLMs for Concurrent Code GenerationProceedings of the ACM on Software Engineering · 2026
- PolyCodeEval: Benchmarking Multilingual Code Generation from Functions to RepositoriesarXiv · 2026
- Modular Responsiveness Verification of Rust Async RuntimesarXiv · 2026
- Adaptive Skill Granularity for Coding Agents: Runtime Routing and Macro-to-Micro RecoveryarXiv · 2026
- VerusWeave: A Benchmark for Proof Repair in Concurrent Verus ProgramsarXiv · 2026
- HEL: A Heterogeneous Extensible Layer for GPU-Resident Runtime OrchestrationarXiv · 2026