Cox, Louis, WILLIAMS, Benjamin, VICKERS, James, WARD, Davin and HEADLEAND, Christopher (2025) Run-time Performance Comparison of Sparse-set and Archetype Entity-Component Systems. In: Computer Graphics & Visual Computing (CGVC) 2025: Eurographics UK Chapter Proceedings. The Eurographics Association, Liverpool John Moores University, UK. ISBN 978-3-03868-293-6
cgvc20251224.pdf - Publisher's typeset copy
Available under License Type Creative Commons Attribution 4.0 International (CC BY 4.0) .
Download (1MB) | Preview
Abstract or description
Entity-Component System (ECS) architectures have emerged as a powerful alternative to traditional object-oriented solutions in video games and real-time simulations. However, different ECS implementations present distinct trade-offs between iteration speed and modification costs. Despite its growing adoption, a comparative analysis on the performance characteristics of ECS implementation types has yet to be conducted. This study compares the performance of two widely-used ECS implementations: sparse-set and archetype-based. To facilitate this, an implementation of each architecture was developed in C++20 and their performance was examined in terms of iteration speed and entity modification costs. The results show sparse-set ECSes enable cheaper entity modifications but scale poorly during iteration, while archetypes excel at large-scale iteration through cache efficiency but incur higher composition change costs. These findings provide valuable and actionable guidance for developers selecting ECS architectures for their specific applications.
Item Type: | Book Chapter, Section or Conference Proceeding |
---|---|
Uncontrolled Keywords: | CCS Concepts: Applied computing; Computer games; General and reference; Performance; Computing methodologies; Realtime simulation; Computer graphics |
Faculty: | School of Digital, Technologies and Arts > Games Design, Production and Programming |
Event Title: | Computer Graphics & Visual Computing (CGVC) 2025 |
Event Location: | Liverpool John Moores University, UK |
Event Dates: | 11/09/2025 to 12/09/2025 |
Depositing User: | Benjamin WILLIAMS |
Date Deposited: | 20 Oct 2025 13:38 |
Last Modified: | 20 Oct 2025 13:38 |
URI: | https://eprints.staffs.ac.uk/id/eprint/9315 |