Commit Graph

5 Commits

Author SHA1 Message Date
Junyu Lai
9272120c48 Adds more data points for benchmarking tests
To have better observation of overall improvement, more real
data points from the fields are needed.
This change adds more anonymous data points which are collected
from users who agreed to share the dataset for testing purpose.

Test: atest ConnectivityBenchmarkTests
Bug: 269409485
Change-Id: If7cb1cbb8215e4a4abcbf90c1fdcc141e19ecc44
2023-10-04 17:37:46 +08:00
Junyu Lai
56b03edede Move test zip file to assets
This is a no-op refactoring which move test data from resources
to assets, and repacking zip file to contain netstats sub-folder.

This is needed for later patches to put more test data points,
and having easier way to access them in batch.

Test: atest ConnectivityBenchmarkTests
Bug: 269409485
Change-Id: I1d09ac0187c9ce12982161243929d8e10483da45
2023-10-04 17:24:37 +08:00
Junyu Lai
a0991ebbfc Address comments at aosp/2658225
Test: This
Bug: 269409485
Change-Id: I6bfde26939e7cb5970f90fe5c663bcb55d3700d9
2023-08-01 14:12:55 +08:00
Junyu Lai
4881aa7dc6 Add test for benchmarking NetworkStatsRecorder
While previous tests benchmarking performance of reading
NetworkStatsCollection, this measures performance impact
caused by implementation of FileRotator.

Test: atest ConnectivityBenchmarkTests
Bug: 269409485
Change-Id: Ifcfc034128d6d78d759f80a43785b9f2b1ebb9c9
2023-07-25 13:37:30 +08:00
Junyu Lai
ba7a6888cf Add test for benchmarking NetworkStatsCollection
Add a test for benchmarking NetworkStatsCollection.
The test use data that generated from real user dataset which
has many uid records and agreed to share the dataset for testing
purpose.

Test: atest ConnectivityBenchmarkTests
Bug: 269409485

Change-Id: I8981bfc9f65636897c6fc735cda5353b448a0db2
2023-07-24 15:35:23 +08:00