Skip to content

Commit

Permalink
move metrics to client
Browse files Browse the repository at this point in the history
  • Loading branch information
yashgorana committed Dec 15, 2024
1 parent 4f8d8d7 commit 8432263
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion syftbox/client/benchmark/network_metric.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import requests

from syftbox.client.base import BaseMetric, MetricCollector
from syftbox.client.benchmark.metrics import HTTPMetrics, HTTPPerfStats, TCPMetrics, TCPPerfStats
from syftbox.lib.client_config import SyftClientConfig
from syftbox.lib.metrics import HTTPMetrics, HTTPPerfStats, TCPMetrics, TCPPerfStats


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/client/benchmark_network_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import pytest
import requests

from syftbox.client.benchmark.metrics import AggregateStats, HTTPMetrics, TCPMetrics
from syftbox.client.benchmark.network_metric import NetworkMetric, ServerNetworkMetricCollector
from syftbox.lib.metrics import AggregateStats, HTTPMetrics, TCPMetrics


@pytest.fixture
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/client/benchmark_report_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@

import pytest

from syftbox.client.benchmark.metrics import AggregateStats, HTTPMetrics, TCPMetrics
from syftbox.client.benchmark.report import (
HumanReadableBenchmarkReport,
JsonBenchmarkReport,
NetworkMetric,
SyncPerformanceMetric,
)
from syftbox.client.benchmark.sync_metric import PerformanceMetrics, SizePerformanceData
from syftbox.lib.metrics import AggregateStats, HTTPMetrics, TCPMetrics


@pytest.fixture
Expand Down

0 comments on commit 8432263

Please sign in to comment.