From 5abe8138425d6b083e66bbf5299537f1cc851b6a Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Tue, 21 Apr 2026 13:35:18 +0800 Subject: Update benchmarks to check rebase frequency. --- _log/vcs-1.md | 57 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) (limited to '_log/vcs-1.md') diff --git a/_log/vcs-1.md b/_log/vcs-1.md index 63addda..8fce6ff 100644 --- a/_log/vcs-1.md +++ b/_log/vcs-1.md @@ -184,77 +184,78 @@ Repo size | 91620 KB | 70592 KB ### Impact of commits over time -Each commit modifies 2% of files — a few lines added, a few deleted. - ``` ============================================================= - HISTORY BENCHMARK: 1000 files (100 commits) + REBASE BENCHMARK: 1000 files (100 commits) + CONDITIONS: Depth=2, Files Mod=5%, Change=50% + INITIAL RAW DATA SIZE: 16976 KB ============================================================= SNAPSHOT: Commit #20 ------------------------------------------------------------- METRIC | URN | GIT ----------------+----------------------+--------------------- -Time | 0.34s | 0.18s +Time | 0.29s | 0.05s Max RSS | 0.02 MB | 0.01 MB -Page Faults | Maj:0/Min:0 | Maj:0/Min:0 -Inodes | 1302 | 2122 -Repo Size | 19220 KB | 21944 KB +Page faults | Maj:0 / Min:0 | Maj:0 / Min:0 +Inodes | 1578 | 2334 +Repo size | 20404 KB | 19380 KB ------------------------------------------------------------- SNAPSHOT: Commit #40 ------------------------------------------------------------- METRIC | URN | GIT ----------------+----------------------+--------------------- -Time | 0.41s | 0.11s +Time | 0.54s | 0.05s Max RSS | 0.02 MB | 0.01 MB -Page Faults | Maj:0/Min:0 | Maj:0/Min:0 -Inodes | 1342 | 2924 -Repo Size | 19380 KB | 28848 KB +Page faults | Maj:0 / Min:0 | Maj:0 / Min:0 +Inodes | 1607 | 3374 +Repo size | 20520 KB | 23788 KB ------------------------------------------------------------- SNAPSHOT: Commit #60 ------------------------------------------------------------- METRIC | URN | GIT ----------------+----------------------+--------------------- -Time | 0.41s | 0.09s +Time | 0.31s | 0.05s Max RSS | 0.02 MB | 0.01 MB -Page Faults | Maj:0/Min:0 | Maj:0/Min:0 -Inodes | 1383 | 3719 -Repo Size | 19544 KB | 35796 KB +Page faults | Maj:0 / Min:0 | Maj:0 / Min:0 +Inodes | 1635 | 4414 +Repo size | 20632 KB | 28196 KB ------------------------------------------------------------- SNAPSHOT: Commit #80 ------------------------------------------------------------- METRIC | URN | GIT ----------------+----------------------+--------------------- -Time | 0.42s | 0.11s +Time | 0.29s | 0.05s Max RSS | 0.02 MB | 0.01 MB -Page Faults | Maj:0/Min:0 | Maj:0/Min:0 -Inodes | 1424 | 4532 -Repo Size | 19708 KB | 42868 KB +Page faults | Maj:0 / Min:0 | Maj:0 / Min:0 +Inodes | 1664 | 5454 +Repo size | 20748 KB | 32596 KB ------------------------------------------------------------- SNAPSHOT: Commit #100 ------------------------------------------------------------- METRIC | URN | GIT ----------------+----------------------+--------------------- -Time | 0.40s | 0.10s +Time | 0.54s | 0.10s Max RSS | 0.02 MB | 0.01 MB -Page Faults | Maj:0/Min:0 | Maj:0/Min:0 -Inodes | 1464 | 5341 -Repo Size | 19868 KB | 49840 KB +Page faults | Maj:0 / Min:0 | Maj:0 / Min:0 +Inodes | 1693 | 6495 +Repo size | 20864 KB | 37008 KB ------------------------------------------------------------- + +TOTAL URN REBASES: 273 ``` Git wins on speed and memory. Cold start is the exception — urn's add + commit beats git there. Git's zlib compression wins on initial disk usage. -Over time the picture flips. 80 commits: git wrote 27 MB, urn wrote 0.6 MB. -Git's inode count went from 2,122 to 5,341. Urn's went from 1,302 to 1,464. The +Over time the picture flips. 80 commits: git wrote 17 MB, urn wrote 0.5 MB. +Git's inode count went from 2,334 to 6,495. Urn's went from 1,578 to 1,693. The thing it was built to do, it does. - Commit: 57eb41d +href="https://git.asciimx.com/urn/commit/?id=49ae7748e4a95afa1fd9d08f4886952dfc1deca4" +class="external" target="_blank" rel="noopener noreferrer">49ae774 -- cgit v1.2.3