Skip to content

[ios]device lab perf test should support running multiple times and aggregate the result for non-A/B test too #143770

@hellohuanlin

Description

@hellohuanlin

Use case

For device lab tests, if we run A/B test, we can pass in --ab=10, which runs the test 10X2 times and accumulates the results.

Sometimes I just want to compare the performance of several local engine branches (e.g. local main, branch1, branch2, branch3), I don't want to know how they perform compared to non-local engine (which is the A/B test)

Proposal

Option 1:
Upgrade the A/B tests to allow a flag that takes a list of local branch names. e.g. instead of doing --ab=10, we do --count=10 branches=main,branch1,branch2,branch3...

Option 2:
Just allow non-A/B tests to run multiple times and accumulate the result. (e.g. --count=10). It should accumulate the result, and I will compare different branches manually.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions