Skip to content

chore(benchmark): convert benchmark module to test producer (WPB-24729)#4821

Open
yamilmedina wants to merge 2 commits into
developfrom
perf/baseline-profiles-currentstate
Open

chore(benchmark): convert benchmark module to test producer (WPB-24729)#4821
yamilmedina wants to merge 2 commits into
developfrom
perf/baseline-profiles-currentstate

Conversation

@yamilmedina
Copy link
Copy Markdown
Contributor

@yamilmedina yamilmedina commented May 13, 2026

https://wearezeta.atlassian.net/browse/WPB-24729


PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

In order to use baseline profiles correctly in the app, we are preparing the current setup, this PR has":

  • Track and version current performance without baseline profiles (this is current state)
  • Convert the benchmark module into a test-type producer so the baseline plugin can be applied later.
  • Updated instructions on how to run under benchmark/README.md

Note

A following PR will come with 1) applying the baseline plugin to the app, so profiles can be actually used. 2) run on CI.

Testing

How to Test

run the tests like:

./gradlew :benchmark:connectedProdBenchmarkBenchmarkAndroidTest \
  -Pandroid.testInstrumentationRunnerArguments.class=com.wire.benchmark.StartupBenchmark#startUpWithoutBaselineProfiler

PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@yamilmedina yamilmedina requested a review from a team as a code owner May 13, 2026 10:16
@yamilmedina yamilmedina requested review from MohamadJaara, emmaoke-w, ohassine, saleniuk and typfel and removed request for a team May 13, 2026 10:16
@codecov
Copy link
Copy Markdown

codecov Bot commented May 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.11%. Comparing base (ee482be) to head (2fc226b).
⚠️ Report is 5 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4821      +/-   ##
===========================================
- Coverage    51.12%   51.11%   -0.01%     
===========================================
  Files          610      610              
  Lines        21093    21091       -2     
  Branches      3399     3392       -7     
===========================================
- Hits         10783    10780       -3     
- Misses        9295     9299       +4     
+ Partials      1015     1012       -3     

see 5 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee482be...2fc226b. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@yamilmedina yamilmedina force-pushed the perf/baseline-profiles-currentstate branch from b28a808 to 2fc226b Compare May 13, 2026 11:32
@sonarqubecloud
Copy link
Copy Markdown

@yamilmedina yamilmedina changed the title chore(benchmark): convert benchmark module to test producer (WPB-24725) (WPB-24729) chore(benchmark): convert benchmark module to test producer (WPB-24729) May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants