Files
mtusi2026lab4/results/reconcile-cost-f883fcbc45b94382aec0437d5b42a552/summary.json
T
2026-11-08 18:17:48 +03:00

205 lines
5.2 KiB
JSON

{
"passed": true,
"hypothesis": "Traversal calls grow approximately linearly with attachment count; wall time also contains fixed overhead.",
"sizes": [
10,
100,
1000
],
"repeats": 3,
"grace_seconds": 60,
"fixture_size_bytes": 111817,
"fixture_sha256": "99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75",
"environment": {
"docker_cpus": 12,
"docker_memory_bytes": 8171163648,
"worker_image_id": "sha256:1e2c36d99dfe28d7f9eb8f57dc8b5273ec75e20ae88e8427e560b72f4594bbb4",
"worker_memory_limit_bytes": 268435456,
"worker_cpu_limit": 1,
"services": [
{
"service": "api",
"image_id": "sha256:e456a669c8359e68019347a54c5cdf714cc2c3a3cf670170275e7d3ad92350c0",
"memory_limit_bytes": 805306368,
"nano_cpus": 1000000000
},
{
"service": "api",
"image_id": "sha256:e456a669c8359e68019347a54c5cdf714cc2c3a3cf670170275e7d3ad92350c0",
"memory_limit_bytes": 805306368,
"nano_cpus": 1000000000
},
{
"service": "minio",
"image_id": "sha256:15390497731537341d1ea625d0cd38d4326c90718f90adf6eebe09ea118dd7dd",
"memory_limit_bytes": 805306368,
"nano_cpus": 1000000000
},
{
"service": "postgres",
"image_id": "sha256:1d04b9ba1d4996401f2552b51beda8187f175c0645c091e4781134fc9c9a3eef",
"memory_limit_bytes": 536870912,
"nano_cpus": 1000000000
}
]
},
"groups": [
{
"attachments": 10,
"chat_id": "6c688ac5-95ce-4090-b541-cc4527d4c228",
"uploaded": 10
},
{
"attachments": 100,
"chat_id": "c5df07c9-e473-448b-8e41-46a497c930c6",
"uploaded": 100
},
{
"attachments": 1000,
"chat_id": "9744f9e6-1a0c-4511-9053-3c59d12124fa",
"uploaded": 1000
}
],
"samples": [
{
"attachments": 100,
"trial": "run-1",
"worker_seconds": 1.949,
"launcher_seconds": 10.892,
"sql_calls": 503,
"s3_calls": 102,
"s3_list_calls": 1,
"s3_head_calls": 100
},
{
"attachments": 10,
"trial": "run-1",
"worker_seconds": 0.604,
"launcher_seconds": 9.694,
"sql_calls": 53,
"s3_calls": 12,
"s3_list_calls": 1,
"s3_head_calls": 10
},
{
"attachments": 1000,
"trial": "run-1",
"worker_seconds": 11.09,
"launcher_seconds": 20.019,
"sql_calls": 5004,
"s3_calls": 1003,
"s3_list_calls": 2,
"s3_head_calls": 1000
},
{
"attachments": 10,
"trial": "run-2",
"worker_seconds": 0.413,
"launcher_seconds": 9.58,
"sql_calls": 53,
"s3_calls": 12,
"s3_list_calls": 1,
"s3_head_calls": 10
},
{
"attachments": 1000,
"trial": "run-2",
"worker_seconds": 14.097,
"launcher_seconds": 23.009,
"sql_calls": 5004,
"s3_calls": 1003,
"s3_list_calls": 2,
"s3_head_calls": 1000
},
{
"attachments": 100,
"trial": "run-2",
"worker_seconds": 1.484,
"launcher_seconds": 10.708,
"sql_calls": 503,
"s3_calls": 102,
"s3_list_calls": 1,
"s3_head_calls": 100
},
{
"attachments": 100,
"trial": "run-3",
"worker_seconds": 2.003,
"launcher_seconds": 10.885,
"sql_calls": 503,
"s3_calls": 102,
"s3_list_calls": 1,
"s3_head_calls": 100
},
{
"attachments": 1000,
"trial": "run-3",
"worker_seconds": 14.241,
"launcher_seconds": 23.21,
"sql_calls": 5004,
"s3_calls": 1003,
"s3_list_calls": 2,
"s3_head_calls": 1000
},
{
"attachments": 10,
"trial": "run-3",
"worker_seconds": 0.381,
"launcher_seconds": 9.415,
"sql_calls": 53,
"s3_calls": 12,
"s3_list_calls": 1,
"s3_head_calls": 10
}
],
"summary": [
{
"attachments": 10,
"worker_seconds_min": 0.381,
"worker_seconds_median": 0.413,
"worker_seconds_max": 0.604,
"launcher_seconds_median": 9.58,
"sql_calls_observed": [
53
],
"s3_calls_observed": [
12
],
"sql_calls_expected_for_current_algorithm": 53,
"s3_calls_expected_for_current_algorithm": 12
},
{
"attachments": 100,
"worker_seconds_min": 1.484,
"worker_seconds_median": 1.949,
"worker_seconds_max": 2.003,
"launcher_seconds_median": 10.885,
"sql_calls_observed": [
503
],
"s3_calls_observed": [
102
],
"sql_calls_expected_for_current_algorithm": 503,
"s3_calls_expected_for_current_algorithm": 102
},
{
"attachments": 1000,
"worker_seconds_min": 11.09,
"worker_seconds_median": 14.097,
"worker_seconds_max": 14.241,
"launcher_seconds_median": 23.009,
"sql_calls_observed": [
5004
],
"s3_calls_observed": [
1003
],
"sql_calls_expected_for_current_algorithm": 5004,
"s3_calls_expected_for_current_algorithm": 1003
}
],
"method": "Separate chats; API uploads; real grace wait; one warm-up per size; shuffled measured rounds; dry-run only.",
"setup_seconds": 95.224
}