Please use this identifier to cite or link to this item: http://hdl.handle.net/1893/36538
Full metadata record
DC FieldValueLanguage
dc.contributor.authorWatkinson, Mylesen_UK
dc.contributor.authorBrownlee, Alexander E. I.en_UK
dc.date.accessioned2024-12-07T01:02:59Z-
dc.date.available2024-12-07T01:02:59Z-
dc.date.issued2024-05en_UK
dc.identifier.other28en_UK
dc.identifier.urihttp://hdl.handle.net/1893/36538-
dc.description.abstractProfiling is an important tool in the software developer’s box, used to identify hot methods where most computational resources are used, to focus efforts at improving efficiency. Profilers are also important in the context of Genetic improvement (GI) of software. GI applies search-based optimisation to existing software with many examples of success in a variety of contexts. GI generates variants of the original program, testing each for functionality and properties such as run time or memory footprint, and profiling can be used to target the code variations to increase the search efficiency. We report on an experimental study comparing two profilers included with different versions of the Java Development Kit (JDK), HPROF (JDK 8) and Java Flight Recorder (JFR) (JDK 8, 9, and 17), within the GI toolbox Gin on six open-source applications, for both run time and memory use. We find that a core set of methods are labelled hot in most runs, with a long tail appearing rarely. We suggest five repeats enough to overcome this noise. Perhaps unsurprisingly, changing the profiler and JDK dramatically change the hot methods identified, so profiling must be rerun for new JDKs. We also show that using profiling for test case subset selection is unwise, often missing relevant members of the test suite. Similar general patterns are seen for memory profiling as for run time but the identified hot methods are often quite different.en_UK
dc.language.isoenen_UK
dc.publisherSpringer Science and Business Media LLCen_UK
dc.relationWatkinson M & Brownlee AEI (2024) Comparing apples and oranges? Investigating the consistency of CPU and memory profiler results across multiple java versions. <i>Automated Software Engineering</i>, 31, Art. No.: 28. https://doi.org/10.1007/s10515-024-00423-2en_UK
dc.rightsThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.en_UK
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/en_UK
dc.subjectProfilingen_UK
dc.subjectRuntimeen_UK
dc.subjectMemory useen_UK
dc.subjectGenetic improvementen_UK
dc.subjectJavaen_UK
dc.subjectEmpirical studyen_UK
dc.titleComparing apples and oranges? Investigating the consistency of CPU and memory profiler results across multiple java versionsen_UK
dc.typeJournal Articleen_UK
dc.identifier.doi10.1007/s10515-024-00423-2en_UK
dc.citation.jtitleAutomated Software Engineeringen_UK
dc.citation.issn1573-7535en_UK
dc.citation.issn0928-8910en_UK
dc.citation.volume31en_UK
dc.citation.publicationstatusPublisheden_UK
dc.citation.peerreviewedRefereeden_UK
dc.type.statusVoR - Version of Recorden_UK
dc.author.emailalexander.brownlee@stir.ac.uken_UK
dc.citation.date22/03/2024en_UK
dc.contributor.affiliationUniversity of Adelaideen_UK
dc.contributor.affiliationComputing Science and Mathematics - Divisionen_UK
dc.identifier.isiWOS:001189238600001en_UK
dc.identifier.scopusid2-s2.0-85188463760en_UK
dc.identifier.wtid2070865en_UK
dc.contributor.orcid0000-0003-2892-5059en_UK
dc.date.accepted2024-02-01en_UK
dcterms.dateAccepted2024-02-01en_UK
dc.date.filedepositdate2024-12-03en_UK
rioxxterms.apcpaiden_UK
rioxxterms.versionVoRen_UK
local.rioxx.authorWatkinson, Myles|en_UK
local.rioxx.authorBrownlee, Alexander E. I.|0000-0003-2892-5059en_UK
local.rioxx.projectInternal Project|University of Stirling|https://isni.org/isni/0000000122484331en_UK
local.rioxx.freetoreaddate2024-12-03en_UK
local.rioxx.licencehttp://creativecommons.org/licenses/by/4.0/|2024-12-03|en_UK
local.rioxx.filenames10515-024-00423-2.pdfen_UK
local.rioxx.filecount1en_UK
local.rioxx.source1573-7535en_UK
Appears in Collections:Computing Science and Mathematics Journal Articles

Files in This Item:
File Description SizeFormat 
s10515-024-00423-2.pdfFulltext - Published Version1.76 MBAdobe PDFView/Open


This item is protected by original copyright



A file in this item is licensed under a Creative Commons License Creative Commons

Items in the Repository are protected by copyright, with all rights reserved, unless otherwise indicated.

The metadata of the records in the Repository are available under the CC0 public domain dedication: No Rights Reserved https://creativecommons.org/publicdomain/zero/1.0/

If you believe that any material held in STORRE infringes copyright, please contact library@stir.ac.uk providing details and we will remove the Work from public display in STORRE and investigate your claim.