-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbenchmark-report-redis.json
More file actions
88 lines (88 loc) · 3.67 KB
/
Copy pathbenchmark-report-redis.json
File metadata and controls
88 lines (88 loc) · 3.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
"generated_at": "2026-05-04T19:18:15+00:00",
"environment": {
"php": "8.4.20",
"laravel": "13.5.0",
"driver": "redis",
"iterations": 10,
"note": "Local benchmark results depend on hardware, cache driver, serialization settings, and payload shape."
},
"profiles": [
{
"profile": "medium",
"description": "Small mixed payload below large-data thresholds.",
"goal": "control",
"success_metric": "No optimization should be applied to small payloads.",
"strategy": "none",
"chunks": 0,
"original_bytes": 307,
"smartcache_bytes": 307,
"size_reduction_percent": 0,
"laravel_write_ms_avg": 0.3463,
"laravel_read_ms_avg": 0.0962,
"smartcache_write_ms_avg": 0.207,
"smartcache_read_ms_avg": 0.0566,
"data_integrity": true,
"key_shape_preserved": true,
"goal_passed": true,
"result_summary": "Passed: SmartCache correctly skipped optimization for a small payload."
},
{
"profile": "api-json",
"description": "Large repetitive API-style response.",
"goal": "compression",
"success_metric": "Compressed storage should be smaller than raw storage.",
"strategy": "compression",
"chunks": 0,
"original_bytes": 323811,
"smartcache_bytes": 7829,
"size_reduction_percent": 97.58,
"laravel_write_ms_avg": 0.2269,
"laravel_read_ms_avg": 0.3085,
"smartcache_write_ms_avg": 1.9599,
"smartcache_read_ms_avg": 0.2807,
"data_integrity": true,
"key_shape_preserved": true,
"goal_passed": true,
"result_summary": "Passed: compression reduced stored size for a large repetitive JSON payload."
},
{
"profile": "large-array",
"description": "Large Eloquent-like list of associative records.",
"goal": "driver-safety",
"success_metric": "Payload should be split into chunks and restored with data integrity.",
"strategy": "chunking",
"chunks": 2,
"original_bytes": 563978,
"smartcache_bytes": 564337,
"size_reduction_percent": -0.06,
"laravel_write_ms_avg": 0.7648,
"laravel_read_ms_avg": 1.5797,
"smartcache_write_ms_avg": 1.7083,
"smartcache_read_ms_avg": 1.7315,
"data_integrity": true,
"key_shape_preserved": true,
"goal_passed": true,
"result_summary": "Passed: chunking split a large array and restored it with data integrity; byte reduction is not the goal for this profile."
},
{
"profile": "sparse-array",
"description": "Large sparse numeric array used to verify key preservation.",
"goal": "key-preservation",
"success_metric": "Sparse numeric keys should survive chunking and restore.",
"strategy": "chunking",
"chunks": 2,
"original_bytes": 300195,
"smartcache_bytes": 300557,
"size_reduction_percent": -0.12,
"laravel_write_ms_avg": 0.3269,
"laravel_read_ms_avg": 0.5846,
"smartcache_write_ms_avg": 0.8164,
"smartcache_read_ms_avg": 0.6581,
"data_integrity": true,
"key_shape_preserved": true,
"goal_passed": true,
"result_summary": "Passed: chunking preserved sparse numeric keys; byte reduction is not the goal for this profile."
}
]
}