Skip to content

Commit 20da77d

Browse files
committed
updates from testing
1 parent 1fca678 commit 20da77d

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

cache/__tests__/cache-metrics-worst-case.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2262,11 +2262,13 @@ main() {
22622262
log_header "RERUM Cache Comprehensive Metrics & Functionality Test"
22632263

22642264
echo "This test suite will:"
2265-
echo " 1. Verify all API endpoints are functional with cache layer"
2266-
echo " 2. Measure read/write performance with empty cache"
2267-
echo " 3. Fill cache to 1000 entries"
2268-
echo " 4. Measure all endpoints with full cache (invalidation overhead)"
2269-
echo " 5. Generate comprehensive metrics report"
2265+
echo " 1. Test read endpoints with EMPTY cache (baseline performance)"
2266+
echo " 2. Fill cache to 1000 entries"
2267+
echo " 3. Test read endpoints with FULL cache (verify speedup)"
2268+
echo " 4. Clear cache and test write endpoints with EMPTY cache (baseline)"
2269+
echo " 5. Fill cache to 1000 entries again"
2270+
echo " 6. Test write endpoints with FULL cache (measure invalidation overhead)"
2271+
echo " 7. Generate comprehensive metrics report"
22702272
echo ""
22712273

22722274
# Setup

cache/__tests__/cache-metrics.sh

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2260,11 +2260,13 @@ main() {
22602260
log_header "RERUM Cache Comprehensive Metrics & Functionality Test"
22612261

22622262
echo "This test suite will:"
2263-
echo " 1. Verify all API endpoints are functional with cache layer"
2264-
echo " 2. Measure read/write performance with empty cache"
2265-
echo " 3. Fill cache to 1000 entries"
2266-
echo " 4. Measure all endpoints with full cache (invalidation overhead)"
2267-
echo " 5. Generate comprehensive metrics report"
2263+
echo " 1. Test read endpoints with EMPTY cache (baseline performance)"
2264+
echo " 2. Fill cache to 1000 entries"
2265+
echo " 3. Test read endpoints with FULL cache (verify speedup)"
2266+
echo " 4. Clear cache and test write endpoints with EMPTY cache (baseline)"
2267+
echo " 5. Fill cache to 1000 entries again"
2268+
echo " 6. Test write endpoints with FULL cache (measure invalidation overhead)"
2269+
echo " 7. Generate comprehensive metrics report"
22682270
echo ""
22692271

22702272
# Setup

0 commit comments

Comments
 (0)