Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Evaluation of CPU and  Memory performance between Object-oriented Design and Data-oriented Design in Mobile games
2021 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

The popularity that mobile games gained recently gives the opportunity to develop more mobile games. Limited by the scarce resources on mobile phones, developing good games becomes critical and requires special optimization while choosing the design approach.

 

Object-oriented Design (OOD) and Data-oriented Design (DOD) are two programming paradigms that have different ways of defining and structuring data. The purpose of this student thesis is to investigate the CPU and Memory performance differences between the two approaches.

 

To answer the research questions an experiment is conducted where two identical mobile games are built, one according to OOD and the other to DOD to collect empirical quantitative data and compare the results. The study limits the scope by  running the games on Android mobile phones.

 

The results of comparing the CPU Usage show significant differences especially when the amount of data is large. For instance, in the DOD version of the game, the CPU spends 20.9% of the time on updating data, while it spends 69.2% of the time on the same action in the OOD version of the game.

No significant differences are observed regarding the total Memory allocated for the games in both versions. It can therefore be concluded that when the number of objects/data is big, a more optimized code should be written following the Data oriented Design approach with regard to better CPU and Memory Usage and    better game performance.

Place, publisher, year, edition, pages
2021. , p. 33
Keywords [en]
Mobile games, Object-Oriented Design, Data-Oriented Design, Game performance, CPU Usage, Memory Usage
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:hj:diva-53477ISRN: JU-JTH-DTA-1-20210136OAI: oai:DiVA.org:hj-53477DiVA, id: diva2:1569871
Subject / course
JTH, Computer Engineering
Examiners
Available from: 2021-08-05 Created: 2021-06-21 Last updated: 2025-10-13Bibliographically approved

Open Access in DiVA

fulltext(1379 kB)897 downloads
File information
File name FULLTEXT01.pdfFile size 1379 kBChecksum SHA-512
8b5a5e7b9e5a1dd78eb5fba2bd9378b6442417c299eed6533bc3e5e8b60568f8fa3035a59e373793c43d2cb3fdbca9e23b20b91394bd8471e0290c328582683f
Type fulltextMimetype application/pdf

Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 898 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1248 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf