Digitala Vetenskapliga Arkivet

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
Performance analysis of data structures in Java using micro benchmarking
Uppsala University, Disciplinary Domain of Science and Technology, Mathematics and Computer Science, Department of Information Technology.
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Choosing the right collection framework can be difficult, especially in a data-intensive environment. For this reason, Coupa Software AB in Uppsala has designed custom data structures. In this thesis, we compare the performance of the Java Collection framework, Eclipse collection, and Coupa's custom data structures for two classes provided by Coupa, TELongSet, and TELongLongSet. An evaluation of the garbage collectors Garbage First Garbage Collectors,  Z Garbage Collectors, and  Generational Z Garbage Collectors was also performed to analyze its effects in a system characterized by heavy object creation. The garbage collectors were tested in Coupas systems handling one million objects.  The two classes were implemented using Eclipse Collections and Java Collection Framework, they were benchmark tested for throughput and compared with the existing custom data structures. The result of the garbage collector showed that Coupa should use G1 GC, complementary memory usage testing would be valuable before making a final decision. The Eclipse implementation of TELongLongSet performed more operations per second in 6 out of 8 methods compared to JCF. In the class TELongSet, Coupa’s original implementation performed best, and JCF performed slightly better than Eclipse. Switching to an open-source framework might be better, given the low maintenance cost, but more experimentation is needed. Given the limited scope of the present study, results may not generalize, and therefore we cannot make conclusive recommendations. 

Place, publisher, year, edition, pages
2024. , p. 34
Series
IT ; kDV 24 021
Keywords [en]
Java, Eclipse, JCF, JMH, data structures
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:uu:diva-536710OAI: oai:DiVA.org:uu-536710DiVA, id: diva2:1891282
External cooperation
Coupa Software Sweden AB
Educational program
Bachelor Programme in Computer Science
Presentation
2024-05-24, 18:32 (English)
Supervisors
Examiners
Available from: 2024-08-23 Created: 2024-08-21 Last updated: 2024-08-23Bibliographically approved

Open Access in DiVA

fulltext(1477 kB)375 downloads
File information
File name FULLTEXT01.pdfFile size 1477 kBChecksum SHA-512
0dbed9acda33c84f070189bfc91fa6ba7a3612075bc09e01a6d7db1e7e55fba15035e27c823e9d190fafc6d7f956f6b054f276ecc350dcc97daeb7cba92560f7
Type fulltextMimetype application/pdf

By organisation
Department of Information Technology
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 376 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: 308 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