Skip to content

Conversation

tejasd
Copy link
Contributor

@tejasd tejasd commented Jun 16, 2025

No description provided.

Copy link
Contributor

Firebase AI Mock Responses Check ⚠️

A newer major version of the mock responses for Firebase AI unit tests is available. update_responses.sh should be updated to clone the latest version of the responses: v14.1

Copy link
Contributor

📝 PRs merging into main branch

Our main branch should always be in a releasable state. If you are working on a larger change, or if you don't want this change to see the light of the day just yet, consider using a feature branch first, and only merge into the main branch when the code complete and ready to be released.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary of Changes

Hello @tejasd, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request focuses on enhancing the clarity and conciseness of the firebase-perf README by simplifying the instructions for integrating and testing the SDK locally. It removes outdated or overly complex sections related to release candidate generation and provides more direct guidance for local Maven publishing and dependency configuration.

Highlights

  • Documentation Simplification: Removed detailed instructions for creating release candidates, streamlining the README's focus to local development workflows.
  • Local Publishing Streamlined: Updated the gradlew command for publishing the SDK to Maven Local, making it more concise and specific to the firebase-perf module.
  • Dependency Version Clarity: Modified the example dependency version to remove the -SNAPSHOT suffix and clarified that the local SDK version is defined in firebase-perf/gradle.properties.
  • Gradle Configuration Flexibility: Updated guidance to include settings.gradle as an alternative location for adding mavenLocal(), accommodating different project setups.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@google-oss-bot
Copy link
Contributor

1 Warning
⚠️ Did you forget to add a changelog entry? (Add the 'no-changelog' label to the PR to silence this warning.)

Generated by 🚫 Danger

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request updates the Firebase Perf README to simplify integration instructions. The changes remove the release candidate creation steps and streamline the publishing and versioning instructions. The updated instructions are clearer and more concise, improving the developer experience.

@tejasd tejasd requested a review from mrober June 16, 2025 15:23
@google-oss-bot
Copy link
Contributor

Copy link
Contributor

Test Results

  110 files   -   914    110 suites   - 914   2m 2s ⏱️ - 32m 37s
  970 tests  - 4 827    970 ✅  - 4 804  0 💤  - 22  0 ❌  - 1 
1 948 runs   - 9 709  1 948 ✅  - 9 664  0 💤  - 44  0 ❌  - 1 

Results for commit 3eae9bd. ± Comparison against base commit f735209.

This pull request removes 4827 tests.
com.google.android.datatransport.cct.CctBackendFactoryTest ‑ create_returnCCTBackend_WhenBackendNameIsCCT
com.google.android.datatransport.cct.CctDestinationTest ‑ cctDestination_shouldOnlySupportProtoAndJson
com.google.android.datatransport.cct.CctDestinationTest ‑ cctDestination_shouldSupportProtoAndJson
com.google.android.datatransport.cct.CctTransportBackendTest ‑ decorate_whenOffline_shouldProperlyPopulateNetworkInfo
com.google.android.datatransport.cct.CctTransportBackendTest ‑ decorate_whenOnline_shouldProperlyPopulateNetworkInfo
com.google.android.datatransport.cct.CctTransportBackendTest ‑ schedule_shouldAddCookieOnPseudonymousIds
com.google.android.datatransport.cct.CctTransportBackendTest ‑ schedule_shouldDropCookieOnMixedPseudonymousIds
com.google.android.datatransport.cct.CctTransportBackendTest ‑ send_CompressedResponseIsUncompressed
com.google.android.datatransport.cct.CctTransportBackendTest ‑ send_whenBackendRedirectsMoreThan5Times_shouldOnlyRedirect4Times
com.google.android.datatransport.cct.CctTransportBackendTest ‑ send_whenBackendRedirects_shouldCorrectlyFollowTheRedirectViaPost
…

@google-oss-bot
Copy link
Contributor

@tejasd tejasd requested a review from themiswang June 16, 2025 15:54
@google-oss-bot
Copy link
Contributor

Startup Time Report 1

Note: Layout is sometimes suboptimal due to limited formatting support on GitHub. Please check this report on GCS.

Notes

Startup Times

  • fire-perf

    DeviceStatisticsDistributions
    oriole-32
    Percentilef7352093d91cbfDiffSignificant (?)
    p10264 ±18 μs260 ±16 μs-4.51 μs (-1.7%)NO
    p25274 ±16 μs270 ±16 μs-3.64 μs (-1.3%)NO
    p50288 ±16 μs286 ±16 μs-1.37 μs (-0.5%)NO
    p75311 ±16 μs315 ±13 μs+3.49 μs (+1.1%)NO
    p90370 ±28 μs379 ±40 μs+8.78 μs (+2.4%)NO

    20 test runs in comparison
    CommitTest Runs
    f735209
    • 2025-06-12_04:42:10.816909_VwBw
    • 2025-06-12_04:42:10.816941_DVgT
    • 2025-06-12_04:42:10.816953_WIHe
    • 2025-06-12_04:42:10.816962_CFRO
    • 2025-06-12_04:42:10.816969_lBFD
    • 2025-06-12_04:42:10.816977_kUAg
    • 2025-06-12_04:42:10.816984_YHzP
    • 2025-06-12_04:42:10.816991_IDYs
    • 2025-06-12_04:42:10.816998_xXvL
    • 2025-06-12_04:42:10.817004_VjYU
    3d91cbf
    • 2025-06-16_15:39:26.066580_rnwK
    • 2025-06-16_15:39:26.066619_iwAk
    • 2025-06-16_15:39:26.066629_lXbp
    • 2025-06-16_15:39:26.066637_ycvW
    • 2025-06-16_15:39:26.066644_IoPR
    • 2025-06-16_15:39:26.066651_jbzR
    • 2025-06-16_15:39:26.066658_wHns
    • 2025-06-16_15:39:26.066665_LoWJ
    • 2025-06-16_15:39:26.066672_Jskf
    • 2025-06-16_15:39:26.066679_WSqC
    redfin-30
    Percentilef7352093d91cbfDiffSignificant (?)
    p10712 ±73 μs755 ±77 μs+43.1 μs (+6.1%)NO
    p25749 ±68 μs801 ±68 μs+52.0 μs (+6.9%)NO
    p50826 ±98 μs882 ±81 μs+56.5 μs (+6.8%)NO
    p75948 ±174 μs991 ±98 μs+42.8 μs (+4.5%)NO
    p901.07 ±0.2 ms1.10 ±0.1 ms+32.9 μs (+3.1%)NO

    20 test runs in comparison
    CommitTest Runs
    f735209
    • 2025-06-12_04:42:10.816909_VwBw
    • 2025-06-12_04:42:10.816941_DVgT
    • 2025-06-12_04:42:10.816953_WIHe
    • 2025-06-12_04:42:10.816962_CFRO
    • 2025-06-12_04:42:10.816969_lBFD
    • 2025-06-12_04:42:10.816977_kUAg
    • 2025-06-12_04:42:10.816984_YHzP
    • 2025-06-12_04:42:10.816991_IDYs
    • 2025-06-12_04:42:10.816998_xXvL
    • 2025-06-12_04:42:10.817004_VjYU
    3d91cbf
    • 2025-06-16_15:39:26.066580_rnwK
    • 2025-06-16_15:39:26.066619_iwAk
    • 2025-06-16_15:39:26.066629_lXbp
    • 2025-06-16_15:39:26.066637_ycvW
    • 2025-06-16_15:39:26.066644_IoPR
    • 2025-06-16_15:39:26.066651_jbzR
    • 2025-06-16_15:39:26.066658_wHns
    • 2025-06-16_15:39:26.066665_LoWJ
    • 2025-06-16_15:39:26.066672_Jskf
    • 2025-06-16_15:39:26.066679_WSqC
  • fire-sessions

    DeviceStatisticsDistributions
    oriole-32
    Percentilef7352093d91cbfDiffSignificant (?)
    p102.06 ±0.5 ms2.41 ±1 ms+349 μs (+16.9%)NO
    p252.27 ±0.6 ms2.59 ±1 ms+326 μs (+14.4%)NO
    p502.65 ±0.6 ms2.92 ±1 ms+270 μs (+10.2%)NO
    p753.15 ±0.7 ms3.49 ±1 ms+344 μs (+10.9%)NO
    p903.86 ±0.8 ms4.29 ±1 ms+425 μs (+11.0%)NO

    20 test runs in comparison
    CommitTest Runs
    f735209
    • 2025-06-12_04:42:10.816909_VwBw
    • 2025-06-12_04:42:10.816941_DVgT
    • 2025-06-12_04:42:10.816953_WIHe
    • 2025-06-12_04:42:10.816962_CFRO
    • 2025-06-12_04:42:10.816969_lBFD
    • 2025-06-12_04:42:10.816977_kUAg
    • 2025-06-12_04:42:10.816984_YHzP
    • 2025-06-12_04:42:10.816991_IDYs
    • 2025-06-12_04:42:10.816998_xXvL
    • 2025-06-12_04:42:10.817004_VjYU
    3d91cbf
    • 2025-06-16_15:39:26.066580_rnwK
    • 2025-06-16_15:39:26.066619_iwAk
    • 2025-06-16_15:39:26.066629_lXbp
    • 2025-06-16_15:39:26.066637_ycvW
    • 2025-06-16_15:39:26.066644_IoPR
    • 2025-06-16_15:39:26.066651_jbzR
    • 2025-06-16_15:39:26.066658_wHns
    • 2025-06-16_15:39:26.066665_LoWJ
    • 2025-06-16_15:39:26.066672_Jskf
    • 2025-06-16_15:39:26.066679_WSqC
    redfin-30
    Percentilef7352093d91cbfDiffSignificant (?)
    p105.14 ±1 ms5.27 ±1 ms+129 μs (+2.5%)NO
    p255.88 ±2 ms5.93 ±2 ms+50.7 μs (+0.9%)NO
    p507.06 ±3 ms7.04 ±3 ms-17.8 μs (-0.3%)NO
    p758.44 ±5 ms8.66 ±4 ms+219 μs (+2.6%)NO
    p9010.0 ±6 ms10.5 ±5 ms+461 μs (+4.6%)NO

    20 test runs in comparison
    CommitTest Runs
    f735209
    • 2025-06-12_04:42:10.816909_VwBw
    • 2025-06-12_04:42:10.816941_DVgT
    • 2025-06-12_04:42:10.816953_WIHe
    • 2025-06-12_04:42:10.816962_CFRO
    • 2025-06-12_04:42:10.816969_lBFD
    • 2025-06-12_04:42:10.816977_kUAg
    • 2025-06-12_04:42:10.816984_YHzP
    • 2025-06-12_04:42:10.816991_IDYs
    • 2025-06-12_04:42:10.816998_xXvL
    • 2025-06-12_04:42:10.817004_VjYU
    3d91cbf
    • 2025-06-16_15:39:26.066580_rnwK
    • 2025-06-16_15:39:26.066619_iwAk
    • 2025-06-16_15:39:26.066629_lXbp
    • 2025-06-16_15:39:26.066637_ycvW
    • 2025-06-16_15:39:26.066644_IoPR
    • 2025-06-16_15:39:26.066651_jbzR
    • 2025-06-16_15:39:26.066658_wHns
    • 2025-06-16_15:39:26.066665_LoWJ
    • 2025-06-16_15:39:26.066672_Jskf
    • 2025-06-16_15:39:26.066679_WSqC
  • timeToInitialDisplay

    DeviceStatisticsDistributions
    oriole-32
    Percentilef7352093d91cbfDiffSignificant (?)
    p10195 ±4 ms201 ±2 ms+6.03 ms (+3.1%)NO
    p25201 ±4 ms207 ±2 ms+5.52 ms (+2.7%)NO
    p50208 ±4 ms214 ±2 ms+5.84 ms (+2.8%)NO
    p75215 ±4 ms221 ±3 ms+6.43 ms (+3.0%)NO
    p90222 ±4 ms232 ±3 ms+9.75 ms (+4.4%)NO

    20 test runs in comparison
    CommitTest Runs
    f735209
    • 2025-06-12_04:42:10.816909_VwBw
    • 2025-06-12_04:42:10.816941_DVgT
    • 2025-06-12_04:42:10.816953_WIHe
    • 2025-06-12_04:42:10.816962_CFRO
    • 2025-06-12_04:42:10.816969_lBFD
    • 2025-06-12_04:42:10.816977_kUAg
    • 2025-06-12_04:42:10.816984_YHzP
    • 2025-06-12_04:42:10.816991_IDYs
    • 2025-06-12_04:42:10.816998_xXvL
    • 2025-06-12_04:42:10.817004_VjYU
    3d91cbf
    • 2025-06-16_15:39:26.066580_rnwK
    • 2025-06-16_15:39:26.066619_iwAk
    • 2025-06-16_15:39:26.066629_lXbp
    • 2025-06-16_15:39:26.066637_ycvW
    • 2025-06-16_15:39:26.066644_IoPR
    • 2025-06-16_15:39:26.066651_jbzR
    • 2025-06-16_15:39:26.066658_wHns
    • 2025-06-16_15:39:26.066665_LoWJ
    • 2025-06-16_15:39:26.066672_Jskf
    • 2025-06-16_15:39:26.066679_WSqC
    redfin-30
    Percentilef7352093d91cbfDiffSignificant (?)
    p10231 ±14 ms250 ±4 ms+19.6 ms (+8.5%)NO
    p25237 ±15 ms256 ±4 ms+19.3 ms (+8.1%)NO
    p50244 ±15 ms264 ±4 ms+19.8 ms (+8.1%)NO
    p75253 ±15 ms273 ±4 ms+20.2 ms (+8.0%)NO
    p90262 ±16 ms289 ±10 ms+26.1 ms (+10.0%)NO

    20 test runs in comparison
    CommitTest Runs
    f735209
    • 2025-06-12_04:42:10.816909_VwBw
    • 2025-06-12_04:42:10.816941_DVgT
    • 2025-06-12_04:42:10.816953_WIHe
    • 2025-06-12_04:42:10.816962_CFRO
    • 2025-06-12_04:42:10.816969_lBFD
    • 2025-06-12_04:42:10.816977_kUAg
    • 2025-06-12_04:42:10.816984_YHzP
    • 2025-06-12_04:42:10.816991_IDYs
    • 2025-06-12_04:42:10.816998_xXvL
    • 2025-06-12_04:42:10.817004_VjYU
    3d91cbf
    • 2025-06-16_15:39:26.066580_rnwK
    • 2025-06-16_15:39:26.066619_iwAk
    • 2025-06-16_15:39:26.066629_lXbp
    • 2025-06-16_15:39:26.066637_ycvW
    • 2025-06-16_15:39:26.066644_IoPR
    • 2025-06-16_15:39:26.066651_jbzR
    • 2025-06-16_15:39:26.066658_wHns
    • 2025-06-16_15:39:26.066665_LoWJ
    • 2025-06-16_15:39:26.066672_Jskf
    • 2025-06-16_15:39:26.066679_WSqC

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/3F77XGRStm/index.html

@tejasd tejasd merged commit 37bd7a3 into main Jun 16, 2025
38 checks passed
@tejasd tejasd deleted the td/perf-readme branch June 16, 2025 17:26
@firebase firebase locked and limited conversation to collaborators Jul 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants