Feature-driven comparison of Git and Mercurial using DBSCAN and Random Forest

Git and Mercurial are prominent distributed version control systems that differ in their underlying architecture and resource consumption. This study presents a systematic comparison between their performance using a machine learning-driven approach that measures their resource consumption based on synthetically generated repositories to systematically control key variables. To eliminate anomalies, the Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm was applied. The influence of repository features was determined using the Random Forest (RF) in three performance dimensions: CPU time, memory usage, and repository size. The findings indicate that Git demonstrated superior efficiency in CPU and memory usage, particularly in branching operations, while Mercurial exhibited better storage optimization and consistency, making it suitable for large-scale projects with constrained storage capacity. To interpret our results, SHapley Additive exPlanations (SHAP) was used to reveal the direction and strength of features influence that correspond to the repository characteristics. These findings offer a practical guidance for selecting version control systems based on specific project requirements. • Systematic Random Forest + DBSCAN used to compare Git and Mercurial. • Synthetic repos created to control features and test scalability. • Git showed superior CPU and memory efficiency in branching. • Mercurial optimized storage, ideal for large-scale projects. • SHAP revealed trade-offs in computation vs. storage resilience.

Authors

Institutions

Publication Details

Journal
Array
Published
2025-09-23
DOI
https://doi.org/10.1016/j.array.2025.100519
Primary Topic
Advanced Steganography and Watermarking Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Feature-driven comparison of Git and Mercurial using DBSCAN and Random Forest

Rashed Bahlool, Sameh Foulad, Sami Dagash
Array
Advanced Steganography and Watermarking Techniques
article

Feature-driven comparison of Git and Mercurial using DBSCAN and Random Forest

Rashed Bahlool, Sameh Foulad, Sami Dagash
article en

Abstract

Git and Mercurial are prominent distributed version control systems that differ in their underlying architecture and resource consumption. This study presents a systematic comparison between their performance using a machine learning-driven approach that measures their resource consumption based on synthetically generated repositories to systematically control key variables. To eliminate anomalies, the Density-Based Spatial Clustering of Applications with Noise (DBSCAN) algorithm was applied. The influence of repository features was determined using the Random Forest (RF) in three performance dimensions: CPU time, memory usage, and repository size. The findings indicate that Git demonstrated superior efficiency in CPU and memory usage, particularly in branching operations, while Mercurial exhibited better storage optimization and consistency, making it suitable for large-scale projects with constrained storage capacity. To interpret our results, SHapley Additive exPlanations (SHAP) was used to reveal the direction and strength of features influence that correspond to the repository characteristics. These findings offer a practical guidance for selecting version control systems based on specific project requirements. • Systematic Random Forest + DBSCAN used to compare Git and Mercurial. • Synthetic repos created to control features and test scalability. • Git showed superior CPU and memory efficiency in branching. • Mercurial optimized storage, ideal for large-scale projects. • SHAP revealed trade-offs in computation vs. storage resilience.

ArrayVol. 28
University of Bahrain (BH)
Openalex Percentile: Top 75%
Advanced Steganography and Watermarking Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Feature-driven comparison of Git and Mercurial using DBSCAN and Random Forest — Rashed Bahlool, Sameh Foulad, et al. · Array (2025) | TGRS Research Map | TGRS