From 4197ffb0ea9f657fe412d7419ce8ac532062fb4a Mon Sep 17 00:00:00 2001
From: Arthur Lu <learthurgo@gmail.com>
Date: Tue, 4 Mar 2025 06:29:06 +0000
Subject: [PATCH] INVALIDclear! initial results

---
 tests/results_baseline       | 48 ++++++++++++++++++++++++++++++++++++
 tests/results_ideal          | 48 ++++++++++++++++++++++++++++++++++++
 tests/results_nocache        | 48 ++++++++++++++++++++++++++++++++++++
 tests/results_readafterwrite | 48 ++++++++++++++++++++++++++++++++++++
 tests/results_tiered         | 48 ++++++++++++++++++++++++++++++++++++
 5 files changed, 240 insertions(+)
 create mode 100644 tests/results_baseline
 create mode 100644 tests/results_ideal
 create mode 100644 tests/results_nocache
 create mode 100644 tests/results_readafterwrite
 create mode 100644 tests/results_tiered

diff --git a/tests/results_baseline b/tests/results_baseline
new file mode 100644
index 0000000..d4d39cb
--- /dev/null
+++ b/tests/results_baseline
@@ -0,0 +1,48 @@
+
+--- random_read Results ---
+hits: 507 misses: 9493 ratio: 0.0507
+average response time (ms)           : 12.171702599525451
+average cache hit response time (ms) : 0.0013355202458549063
+average cache miss response time (ms): 12.821694815810583
+cache throughput (requests / s)      : 82.15777470926605
+real throughput  (requests / s)      : 75.03700407782604
+
+--- read_heavy Results ---
+hits: 394 misses: 7631 ratio: 0.04909657320872274
+average response time (ms)           : 12.201453324790313
+average cache hit response time (ms) : 0.0013572915556467125
+average cache miss response time (ms): 12.831362620701
+cache throughput (requests / s)      : 81.95744993493923
+real throughput  (requests / s)      : 73.58096764800857
+
+--- write_heavy Results ---
+hits: 112 misses: 1906 ratio: 0.05550049554013875
+average response time (ms)           : 12.256505940666992
+average cache hit response time (ms) : 0.0013560056686401367
+average cache miss response time (ms): 12.976640669271303
+cache throughput (requests / s)      : 81.58932120140436
+real throughput  (requests / s)      : 58.17744310065741
+
+--- frequent_users Results ---
+hits: 7096 misses: 2904 ratio: 0.7096
+average response time (ms)           : 3.7240190267562867
+average cache hit response time (ms) : 0.000715490930378773
+average cache miss response time (ms): 12.822008658374966
+cache throughput (requests / s)      : 268.52709205168185
+real throughput  (requests / s)      : 211.60014253369587
+
+--- frequent_after_write Results ---
+hits: 360 misses: 6691 ratio: 0.05105658771805418
+average response time (ms)           : 12.206905700690086
+average cache hit response time (ms) : 0.0013311703999837239
+average cache miss response time (ms): 12.863609755525601
+cache throughput (requests / s)      : 81.92084255582212
+real throughput  (requests / s)      : 72.59562338297498
+
+--- friend_based Results ---
+hits: 471 misses: 9529 ratio: 0.0471
+average response time (ms)           : 12.215143609046937
+average cache hit response time (ms) : 0.0013505324183502522
+average cache miss response time (ms): 12.818847726907368
+cache throughput (requests / s)      : 81.86559503560541
+real throughput  (requests / s)      : 74.81244764857128
diff --git a/tests/results_ideal b/tests/results_ideal
new file mode 100644
index 0000000..2c5b2e9
--- /dev/null
+++ b/tests/results_ideal
@@ -0,0 +1,48 @@
+
+--- random_read Results ---
+hits: 10000 misses: 0 ratio: 1.0
+average response time (ms)           : 2.7374683618545532
+average cache hit response time (ms) : 2.7374683618545532
+average cache miss response time (ms): N/A
+cache throughput (requests / s)      : 365.3010255514076
+real throughput  (requests / s)      : 264.62084114988136
+
+--- read_heavy Results ---
+hits: 8025 misses: 0 ratio: 1.0
+average response time (ms)           : 2.3531507034539434
+average cache hit response time (ms) : 2.3531507034539434
+average cache miss response time (ms): N/A
+cache throughput (requests / s)      : 424.96215755846185
+real throughput  (requests / s)      : 174.59831308637462
+
+--- write_heavy Results ---
+hits: 2018 misses: 0 ratio: 1.0
+average response time (ms)           : 2.5427952275876367
+average cache hit response time (ms) : 2.5427952275876367
+average cache miss response time (ms): N/A
+cache throughput (requests / s)      : 393.26800253149185
+real throughput  (requests / s)      : 24.773972578001025
+
+--- frequent_users Results ---
+hits: 10000 misses: 0 ratio: 1.0
+average response time (ms)           : 1.3468331575393677
+average cache hit response time (ms) : 1.3468331575393677
+average cache miss response time (ms): N/A
+cache throughput (requests / s)      : 742.4824629555278
+real throughput  (requests / s)      : 424.7398305196224
+
+--- frequent_after_write Results ---
+hits: 7051 misses: 0 ratio: 1.0
+average response time (ms)           : 2.385091923632667
+average cache hit response time (ms) : 2.385091923632667
+average cache miss response time (ms): N/A
+cache throughput (requests / s)      : 419.2710520259227
+real throughput  (requests / s)      : 135.68660253639203
+
+--- friend_based Results ---
+hits: 10000 misses: 0 ratio: 1.0
+average response time (ms)           : 2.2926381111145018
+average cache hit response time (ms) : 2.2926381111145018
+average cache miss response time (ms): N/A
+cache throughput (requests / s)      : 436.17873887382865
+real throughput  (requests / s)      : 301.36281418496594
diff --git a/tests/results_nocache b/tests/results_nocache
new file mode 100644
index 0000000..90b6cb7
--- /dev/null
+++ b/tests/results_nocache
@@ -0,0 +1,48 @@
+
+--- random_read Results ---
+hits: 0 misses: 10000 ratio: 0.0
+average response time (ms)           : 12.805271649360657
+average cache hit response time (ms) : N/A
+average cache miss response time (ms): 12.805271649360657
+cache throughput (requests / s)     : 78.09283765174385
+real throughput  (requests / s)     : 71.53643320734811
+
+--- read_heavy Results ---
+hits: 0 misses: 8025 ratio: 0.0
+average response time (ms)           : 12.849865197392639
+average cache hit response time (ms) : N/A
+average cache miss response time (ms): 12.849865197392639
+cache throughput (requests / s)     : 77.82182806111534
+real throughput  (requests / s)     : 70.04929255901189
+
+--- write_heavy Results ---
+hits: 0 misses: 2018 ratio: 0.0
+average response time (ms)           : 12.95277124826452
+average cache hit response time (ms) : N/A
+average cache miss response time (ms): 12.95277124826452
+cache throughput (requests / s)     : 77.20355596752974
+real throughput  (requests / s)     : 55.53823196963498
+
+--- frequent_users Results ---
+hits: 0 misses: 10000 ratio: 0.0
+average response time (ms)           : 11.695257019996642
+average cache hit response time (ms) : N/A
+average cache miss response time (ms): 11.695257019996642
+cache throughput (requests / s)     : 85.50474763318087
+real throughput  (requests / s)     : 77.81244515584922
+
+--- frequent_after_write Results ---
+hits: 0 misses: 7033 ratio: 0.0
+average response time (ms)           : 12.835719143701926
+average cache hit response time (ms) : N/A
+average cache miss response time (ms): 12.835719143701926
+cache throughput (requests / s)      : 77.90759433145341
+real throughput  (requests / s)      : 69.39886021669655
+
+--- friend_based Results ---
+hits: 0 misses: 10000 ratio: 0.0
+average response time (ms)           : 12.832593774795532
+average cache hit response time (ms) : N/A
+average cache miss response time (ms): 12.832593774795532
+cache throughput (requests / s)      : 77.92656866954658
+real throughput  (requests / s)      : 71.39764514813521
\ No newline at end of file
diff --git a/tests/results_readafterwrite b/tests/results_readafterwrite
new file mode 100644
index 0000000..bf22f96
--- /dev/null
+++ b/tests/results_readafterwrite
@@ -0,0 +1,48 @@
+
+--- random_read Results ---
+hits: 505 misses: 9495 ratio: 0.0505
+average response time (ms)           : 12.217395067214966
+average cache hit response time (ms) : 0.0012926536031288675
+average cache miss response time (ms): 12.867119313541872
+cache throughput (requests / s)      : 81.85050859847135
+real throughput  (requests / s)      : 74.74830604127537
+
+--- read_heavy Results ---
+hits: 394 misses: 7631 ratio: 0.04909657320872274
+average response time (ms)           : 12.254692267777392
+average cache hit response time (ms) : 0.001333086623758229
+average cache miss response time (ms): 12.887351620073884
+cache throughput (requests / s)      : 81.6013962773598
+real throughput  (requests / s)      : 73.22107615138934
+
+--- write_heavy Results ---
+hits: 112 misses: 1906 ratio: 0.05550049554013875
+average response time (ms)           : 12.277225436729529
+average cache hit response time (ms) : 0.001330460820879255
+average cache miss response time (ms): 12.998579181378936
+cache throughput (requests / s)      : 81.45162806967119
+real throughput  (requests / s)      : 57.99762893791816
+
+--- frequent_users Results ---
+hits: 7096 misses: 2904 ratio: 0.7096
+average response time (ms)           : 3.7444978952407837
+average cache hit response time (ms) : 0.0007732812285826467
+average cache miss response time (ms): 12.8923869658436
+cache throughput (requests / s)      : 267.05850236182243
+real throughput  (requests / s)      : 210.51762371076964
+
+--- frequent_after_write Results ---
+hits: 360 misses: 6691 ratio: 0.05105658771805418
+average response time (ms)           : 12.24339290673539
+average cache hit response time (ms) : 0.001308653089735243
+average cache miss response time (ms): 12.902061316735754
+cache throughput (requests / s)      : 81.67670576428822
+real throughput  (requests / s)      : 72.40871904858658
+
+--- friend_based Results ---
+hits: 471 misses: 9529 ratio: 0.0471
+average response time (ms)           : 12.260680532455444
+average cache hit response time (ms) : 0.0013343341284749867
+average cache miss response time (ms): 12.866636252826103
+cache throughput (requests / s)      : 81.56154116836206
+real throughput  (requests / s)      : 74.51413302473193
diff --git a/tests/results_tiered b/tests/results_tiered
new file mode 100644
index 0000000..759e69d
--- /dev/null
+++ b/tests/results_tiered
@@ -0,0 +1,48 @@
+
+--- random_read Results ---
+hits: 1966 misses: 8034 ratio: 0.1966
+average response time (ms)           : 10.438107824325561
+average cache hit response time (ms) : 0.09135385010759076
+average cache miss response time (ms): 12.97006180905453
+cache throughput (requests / s)      : 95.80280418923658
+real throughput  (requests / s)      : 86.41953468377949
+
+--- read_heavy Results ---
+hits: 1563 misses: 6462 ratio: 0.19476635514018692
+average response time (ms)           : 10.474605560302734
+average cache hit response time (ms) : 0.0937643984686619
+average cache miss response time (ms): 12.98547754048637
+cache throughput (requests / s)      : 95.46898871207694
+real throughput  (requests / s)      : 84.39105440656928
+
+--- write_heavy Results ---
+hits: 415 misses: 1603 ratio: 0.20564915758176414
+average response time (ms)           : 10.430269364204822
+average cache hit response time (ms) : 0.0991062945630177
+average cache miss response time (ms): 13.10489985322625
+cache throughput (requests / s)      : 95.87480103168338
+real throughput  (requests / s)      : 64.8966729031306
+
+--- frequent_users Results ---
+hits: 7557 misses: 2443 ratio: 0.7557
+average response time (ms)           : 3.1802247285842897
+average cache hit response time (ms) : 0.011482802872243217
+average cache miss response time (ms): 12.982182457854012
+cache throughput (requests / s)      : 314.44318730430115
+real throughput  (requests / s)      : 240.3280431399857
+
+--- frequent_after_write Results ---
+hits: 1407 misses: 5644 ratio: 0.1995461636647284
+average response time (ms)           : 10.426392708749843
+average cache hit response time (ms) : 0.09242710528343218
+average cache miss response time (ms): 13.002560250223485
+cache throughput (requests / s)      : 95.91044841048415
+real throughput  (requests / s)      : 83.59508469213804
+
+--- friend_based Results ---
+hits: 1985 misses: 8015 ratio: 0.1985
+average response time (ms)           : 10.411664342880249
+average cache hit response time (ms) : 0.09287454619515753
+average cache miss response time (ms): 12.967222389844679
+cache throughput (requests / s)      : 96.04612356561653
+real throughput  (requests / s)      : 86.65535301946677