summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2026-04-20 11:15:19 +0800
committerSadeep Madurange <sadeep@asciimx.com>2026-04-20 11:15:19 +0800
commit57eb41d13914c2fdadcb863d36d73848a5fd589b (patch)
tree4da26e94fd589155cc007d392074893ebfac464a
parent45f33db4d75d4ae05660625e0a3ea313ac1596ec (diff)
downloadurn-57eb41d13914c2fdadcb863d36d73848a5fd589b.tar.gz
Increase chunk size and benchmark again.HEADmaster
-rw-r--r--bm/BM_HISTORY_1000_100.txt30
-rw-r--r--bm/BM_REPO_SIZE_200_20.txt16
-rw-r--r--bm/BM_REPO_SIZE_5000_50.txt14
-rw-r--r--urn2
4 files changed, 31 insertions, 31 deletions
diff --git a/bm/BM_HISTORY_1000_100.txt b/bm/BM_HISTORY_1000_100.txt
index 9ad3844..00243fb 100644
--- a/bm/BM_HISTORY_1000_100.txt
+++ b/bm/BM_HISTORY_1000_100.txt
@@ -6,54 +6,54 @@ SNAPSHOT: Commit #20
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 0.35s | 0.10s
+Time | 0.34s | 0.18s
Max RSS | 0.02 MB | 0.01 MB
Page Faults | Maj:0/Min:0 | Maj:0/Min:0
-Inodes | 1302 | 2107
-Repo Size | 19164 KB | 21492 KB
+Inodes | 1302 | 2122
+Repo Size | 19220 KB | 21944 KB
-------------------------------------------------------------
SNAPSHOT: Commit #40
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 0.43s | 0.12s
+Time | 0.41s | 0.11s
Max RSS | 0.02 MB | 0.01 MB
Page Faults | Maj:0/Min:0 | Maj:0/Min:0
-Inodes | 1342 | 2917
-Repo Size | 19324 KB | 28320 KB
+Inodes | 1342 | 2924
+Repo Size | 19380 KB | 28848 KB
-------------------------------------------------------------
SNAPSHOT: Commit #60
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 0.43s | 0.11s
+Time | 0.41s | 0.09s
Max RSS | 0.02 MB | 0.01 MB
Page Faults | Maj:0/Min:0 | Maj:0/Min:0
-Inodes | 1382 | 3721
-Repo Size | 19484 KB | 35340 KB
+Inodes | 1383 | 3719
+Repo Size | 19544 KB | 35796 KB
-------------------------------------------------------------
SNAPSHOT: Commit #80
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 0.41s | 0.11s
+Time | 0.42s | 0.11s
Max RSS | 0.02 MB | 0.01 MB
Page Faults | Maj:0/Min:0 | Maj:0/Min:0
-Inodes | 1423 | 4527
-Repo Size | 19648 KB | 42096 KB
+Inodes | 1424 | 4532
+Repo Size | 19708 KB | 42868 KB
-------------------------------------------------------------
SNAPSHOT: Commit #100
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 0.42s | 0.09s
+Time | 0.40s | 0.10s
Max RSS | 0.02 MB | 0.01 MB
Page Faults | Maj:0/Min:0 | Maj:0/Min:0
-Inodes | 1464 | 5333
-Repo Size | 19812 KB | 48968 KB
+Inodes | 1464 | 5341
+Repo Size | 19868 KB | 49840 KB
-------------------------------------------------------------
diff --git a/bm/BM_REPO_SIZE_200_20.txt b/bm/BM_REPO_SIZE_200_20.txt
index ec1dd66..69531c5 100644
--- a/bm/BM_REPO_SIZE_200_20.txt
+++ b/bm/BM_REPO_SIZE_200_20.txt
@@ -17,22 +17,22 @@ ACTION: Add
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 0.17s | 0.18s
+Time | 0.16s | 0.17s
Max RSS | 0.02 MB | 0.00 MB
Page faults | Maj:0 / Min:0 | Maj:0 / Min:0
-Inodes | 225 | 376
-Repo size | 3708 KB | 3604 KB
+Inodes | 225 | 360
+Repo size | 3700 KB | 3348 KB
-------------------------------------------------------------
ACTION: Commit
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 0.17s | 0.05s
+Time | 0.17s | 0.04s
Max RSS | 0.02 MB | 0.01 MB
Page faults | Maj:0 / Min:0 | Maj:0 / Min:0
-Inodes | 341 | 414
-Repo size | 4196 KB | 3756 KB
+Inodes | 347 | 397
+Repo size | 4212 KB | 3496 KB
-------------------------------------------------------------
ACTION: Status(Clean)
@@ -42,7 +42,7 @@ METRIC | URN | GIT
Time | 0.10s | 0.01s
Max RSS | 0.02 MB | 0.00 MB
Page faults | Maj:0 / Min:0 | Maj:0 / Min:0
-Inodes | 341 | 414
-Repo size | 4196 KB | 3756 KB
+Inodes | 347 | 397
+Repo size | 4212 KB | 3496 KB
-------------------------------------------------------------
diff --git a/bm/BM_REPO_SIZE_5000_50.txt b/bm/BM_REPO_SIZE_5000_50.txt
index 2c8cf02..cd90798 100644
--- a/bm/BM_REPO_SIZE_5000_50.txt
+++ b/bm/BM_REPO_SIZE_5000_50.txt
@@ -6,7 +6,7 @@ ACTION: Status
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 0.27s | 0.00s
+Time | 0.26s | 0.00s
Max RSS | 0.02 MB | 0.00 MB
Page faults | Maj:0 / Min:0 | Maj:0 / Min:0
Inodes | 6 | 27
@@ -17,32 +17,32 @@ ACTION: Add
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 2.87s | 4.69s
+Time | 2.82s | 4.62s
Max RSS | 0.02 MB | 0.01 MB
Page faults | Maj:0 / Min:0 | Maj:0 / Min:0
Inodes | 5055 | 5284
-Repo size | 89712 KB | 70568 KB
+Repo size | 89444 KB | 70360 KB
-------------------------------------------------------------
ACTION: Commit
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 1.19s | 0.96s
+Time | 1.18s | 0.93s
Max RSS | 0.03 MB | 0.01 MB
Page faults | Maj:0 / Min:0 | Maj:0 / Min:0
Inodes | 5264 | 5342
-Repo size | 91888 KB | 70800 KB
+Repo size | 91620 KB | 70592 KB
-------------------------------------------------------------
ACTION: Status(Clean)
-------------------------------------------------------------
METRIC | URN | GIT
----------------+----------------------+---------------------
-Time | 0.34s | 0.11s
+Time | 0.34s | 0.10s
Max RSS | 0.02 MB | 0.01 MB
Page faults | Maj:0 / Min:0 | Maj:0 / Min:0
Inodes | 5264 | 5342
-Repo size | 91888 KB | 70800 KB
+Repo size | 91620 KB | 70592 KB
-------------------------------------------------------------
diff --git a/urn b/urn
index 9bfd637..069b695 100644
--- a/urn
+++ b/urn
@@ -22,7 +22,7 @@ use constant OBJ_DIR => REPO . '/obj'; # Object store
use constant REV_DIR => REPO . '/rev'; # Revisions
use constant TMP_DIR => REPO . '/stg'; # Staging area
-use constant CHUNK_LEN => 4096;
+use constant CHUNK_LEN => 8192;
use constant MEM_LIMIT => 64 * 1024 * 1024;
use constant IO_LAYER => ":raw:perlio(layer=" . CHUNK_LEN . ")";