Commit graph android_packages_modules_Co.../tests/benchmark
Message SHA1
[DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
<add g3 doc link>

Bug: 304529413
Test: N/A
(cherry picked from https://android-review.googlesource.com/q/commit:a8ac702eb268d687d089ba218926ae6b17cda33c)

Change-Id: I243f17b3f0ad7af9ffa15ca242456e36688733f5
Merged-In: I243f17b3f0ad7af9ffa15ca242456e36688733f5

Aditya Choudhary   commited 2024-01-31 14:10:00 +00:00
71086be55e
[AF06] Fill file attributes metrics
Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.net.NetworkStatsRecorderTest
Bug: 313841499

Change-Id: I12759e14c29917ad61eedad4cfee21f153a1a6bd

Junyu Lai   commited 2023-12-25 10:39:59 +08:00
ed1097b733
[AF02.1] Support read by FastDataInput in the NetworkStatsRecorder
This increased reading performance by 35% while running
benchmark tests. But the feature is not enabled in the production
code until the service turns it on.

Test: atest ConnectivityBenchmarkTests
Test: atest ConnectivityCoverageTests:android.net.connectivity.android.net.NetworkStatsCollectionTest
Bug: 313841499

Change-Id: Ic827e6c4848cc31d46d62aa93993b483114a1f12

Junyu Lai   commited 2023-12-21 15:14:59 +08:00
2dce848e88
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

Junyu Lai   commited 2023-10-04 17:37:46 +08:00
9272120c48
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

Junyu Lai   commited 2023-10-04 17:24:37 +08:00
56b03edede
Address comments at aosp/2658225
Test: This
Bug: 269409485
Change-Id: I6bfde26939e7cb5970f90fe5c663bcb55d3700d9

Junyu Lai   commited 2023-08-01 14:12:55 +08:00
a0991ebbfc
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

Junyu Lai   commited 2023-07-25 13:37:30 +08:00
4881aa7dc6
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

Junyu Lai   commited 2023-07-24 15:35:23 +08:00
ba7a6888cf