PerfCurator: Curating a large-scale dataset of performance bug-related commits from public repositories

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Azad, Md Abul Kalam, Alexender, Manoj, Alexender, Matthew, Tariq, Syed Salauddin Mohammad, Hassan, Foyzul, Roy, Probir
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913393618714624
author Azad, Md Abul Kalam
Alexender, Manoj
Alexender, Matthew
Tariq, Syed Salauddin Mohammad
Hassan, Foyzul
Roy, Probir
author_facet Azad, Md Abul Kalam
Alexender, Manoj
Alexender, Matthew
Tariq, Syed Salauddin Mohammad
Hassan, Foyzul
Roy, Probir
contents Performance bugs challenge software development, degrading performance and wasting computational resources. Software developers invest substantial effort in addressing these issues. Curating these performance bugs can offer valuable insights to the software engineering research community, aiding in developing new mitigation strategies. However, there is no large-scale open-source performance bugs dataset available. To bridge this gap, we propose PerfCurator, a repository miner that collects performance bug-related commits at scale. PerfCurator employs PcBERT-KD, a 125M parameter BERT model trained to classify performance bug-related commits. Our evaluation shows PcBERT-KD achieves accuracy comparable to 7 billion parameter LLMs but with significantly lower computational overhead, enabling cost-effective deployment on CPU clusters. Utilizing PcBERT-KD as the core component, we deployed PerfCurator on a 50-node CPU cluster to mine GitHub repositories. This extensive mining operation resulted in the construction of a large-scale dataset comprising 114K performance bug-fix commits in Python, 217.9K in C++, and 76.6K in Java. Our results demonstrate that this large-scale dataset significantly enhances the effectiveness of data-driven performance bug detection systems.
format Preprint
id arxiv_https___arxiv_org_abs_2406_11731
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle PerfCurator: Curating a large-scale dataset of performance bug-related commits from public repositories
Azad, Md Abul Kalam
Alexender, Manoj
Alexender, Matthew
Tariq, Syed Salauddin Mohammad
Hassan, Foyzul
Roy, Probir
Software Engineering
Performance bugs challenge software development, degrading performance and wasting computational resources. Software developers invest substantial effort in addressing these issues. Curating these performance bugs can offer valuable insights to the software engineering research community, aiding in developing new mitigation strategies. However, there is no large-scale open-source performance bugs dataset available. To bridge this gap, we propose PerfCurator, a repository miner that collects performance bug-related commits at scale. PerfCurator employs PcBERT-KD, a 125M parameter BERT model trained to classify performance bug-related commits. Our evaluation shows PcBERT-KD achieves accuracy comparable to 7 billion parameter LLMs but with significantly lower computational overhead, enabling cost-effective deployment on CPU clusters. Utilizing PcBERT-KD as the core component, we deployed PerfCurator on a 50-node CPU cluster to mine GitHub repositories. This extensive mining operation resulted in the construction of a large-scale dataset comprising 114K performance bug-fix commits in Python, 217.9K in C++, and 76.6K in Java. Our results demonstrate that this large-scale dataset significantly enhances the effectiveness of data-driven performance bug detection systems.
title PerfCurator: Curating a large-scale dataset of performance bug-related commits from public repositories
topic Software Engineering
url https://arxiv.org/abs/2406.11731