diff --git a/measure_latency/tests/data/sample_latency_results.json b/measure_latency/tests/data/sample_latency_results.json new file mode 100644 index 0000000..d34729e --- /dev/null +++ b/measure_latency/tests/data/sample_latency_results.json @@ -0,0 +1,42 @@ +[ + { + "upload_end_time": "2024-06-01T12:00:00.000Z", + "api_response_time": "2024-06-01T12:00:00.150Z", + "fs_mtime": "2024-06-01T12:00:00.180Z", + "offsets": { + "api_minus_upload": 150, + "fs_minus_api": 30, + "total_span": 180 + } + }, + { + "upload_end_time": "2024-06-01T12:01:10.000Z", + "api_response_time": "2024-06-01T12:01:10.120Z", + "fs_mtime": "2024-06-01T12:01:10.145Z", + "offsets": { + "api_minus_upload": 120, + "fs_minus_api": 25, + "total_span": 145 + } + }, + { + "upload_end_time": "2024-06-01T12:02:25.000Z", + "api_response_time": "2024-06-01T12:02:25.300Z", + "fs_mtime": "2024-06-01T12:02:25.340Z", + "offsets": { + "api_minus_upload": 300, + "fs_minus_api": 40, + "total_span": 340 + } + }, + { + "upload_end_time": "2024-06-01T12:03:50.000Z", + "api_response_time": "2024-06-01T12:03:50.220Z", + "fs_mtime": "2024-06-01T12:03:50.250Z", + "offsets": { + "api_minus_upload": 220, + "fs_minus_api": 30, + "total_span": 250 + } + } +] \ No newline at end of file