Skip to content

Firestore: Fix comment in testDoesNotAutoCreateIndexesWhenIndexLookUpIsExpensive #5219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 3, 2023

Conversation

dconeybe
Copy link
Contributor

@dconeybe dconeybe commented Aug 2, 2023

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 2023

📝 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.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 2, 2023

Coverage Report 1

Affected Products

  • firebase-firestore

    Overall coverage changed from 44.63% (6b2a90f) to 44.61% (e2fe3b9) by -0.02%.

    FilenameBase (6b2a90f)Merge (e2fe3b9)Diff
    DeleteMutation.java90.48%95.24%+4.76%
    LruGarbageCollector.java97.27%93.64%-3.64%
    PatchMutation.java100.00%98.39%-1.61%
    SetMutation.java97.22%94.44%-2.78%

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/KHG6QCWpsW.html

@github-actions
Copy link
Contributor

github-actions bot commented Aug 2, 2023

Unit Test Results

   164 files  +   110     164 suites  +110   2m 15s ⏱️ - 5m 4s
1 202 tests +   732  1 186 ✔️ +   716  16 💤 +16  0 ±0 
2 404 runs  +1 464  2 372 ✔️ +1 432  32 💤 +32  0 ±0 

Results for commit a09a614. ± Comparison against base commit 6b2a90f.

This pull request removes 470 and adds 1202 tests. Note that renamed tests count towards both.
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testBindsService_oAndTargetingO
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testNoWrappedIntent
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testNullIntent
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_OTargetingO_highPriority
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_fallsBackToBindService
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_notOButTargetingO
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_notOButTargetingO[19]
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_notOButTargetingO[21]
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_notOButTargetingO[22]
com.google.firebase.iid.FirebaseInstanceIdWithFcmReceiverRoboTest ‑ testStartsService_notOButTargetingO[23]
…
com.google.firebase.TimestampTest ‑ testCompare
com.google.firebase.TimestampTest ‑ testFromDate
com.google.firebase.TimestampTest ‑ testRejectBadDates
com.google.firebase.TimestampTest ‑ testTimestampParcelable
com.google.firebase.firestore.AggregateQuerySnapshotTest ‑ createWithCountShouldReturnInstanceWithTheGivenQueryAndCount
com.google.firebase.firestore.AggregateQueryTest ‑ testSourceMustNotBeNull
com.google.firebase.firestore.BlobTest ‑ testComparison
com.google.firebase.firestore.BlobTest ‑ testEquals
com.google.firebase.firestore.BlobTest ‑ testMutableBytes
com.google.firebase.firestore.CollectionReferenceTest ‑ testEquals
…

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 2, 2023

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 2, 2023

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-fst

    DeviceStatisticsDistributions
    oriole-32
    Percentile6b2a90fe2fe3b9DiffSignificant (?)
    p10331 ±14 μs325 ±20 μs-5.43 μs (-1.6%)NO
    p25347 ±15 μs340 ±29 μs-6.18 μs (-1.8%)NO
    p50367 ±16 μs378 ±68 μs+10.8 μs (+2.9%)NO
    p75411 ±47 μs426 ±118 μs+15.7 μs (+3.8%)NO
    p90514 ±117 μs508 ±193 μs-5.89 μs (-1.1%)NO

    20 test runs in comparison
    CommitTest Runs
    6b2a90f
    • 2023-08-01_21:51:53.738172_ruRv
    • 2023-08-01_21:51:53.793592_PeNZ
    • 2023-08-01_21:51:53.793624_txwO
    • 2023-08-01_21:51:53.793638_PhmZ
    • 2023-08-01_21:51:53.793650_dCYi
    • 2023-08-01_21:51:53.793663_vXXJ
    • 2023-08-01_21:51:53.794886_RoDU
    • 2023-08-01_21:51:53.794921_Obxo
    • 2023-08-01_21:51:53.794931_ttEI
    • 2023-08-01_21:51:53.794939_LMYS
    e2fe3b9
    • 2023-08-03_13:17:07.594329_ohrb
    • 2023-08-03_13:17:07.601086_GuoU
    • 2023-08-03_13:17:07.601105_RaAU
    • 2023-08-03_13:17:07.601117_LQII
    • 2023-08-03_13:17:07.601124_bFAa
    • 2023-08-03_13:17:07.601130_exeN
    • 2023-08-03_13:17:07.601135_CRBe
    • 2023-08-03_13:17:07.601140_ISwR
    • 2023-08-03_13:17:07.601145_mVAO
    • 2023-08-03_13:17:07.601150_QnLJ
    redfin-30
    Percentile6b2a90fe2fe3b9DiffSignificant (?)
    p10593 ±27 μs605 ±39 μs+12.4 μs (+2.1%)NO
    p25605 ±30 μs623 ±47 μs+18.2 μs (+3.0%)NO
    p50623 ±35 μs650 ±59 μs+27.2 μs (+4.4%)NO
    p75651 ±39 μs691 ±82 μs+39.7 μs (+6.1%)NO
    p90686 ±51 μs747 ±120 μs+60.2 μs (+8.8%)NO

    20 test runs in comparison
    CommitTest Runs
    6b2a90f
    • 2023-08-01_21:51:53.738172_ruRv
    • 2023-08-01_21:51:53.793592_PeNZ
    • 2023-08-01_21:51:53.793624_txwO
    • 2023-08-01_21:51:53.793638_PhmZ
    • 2023-08-01_21:51:53.793650_dCYi
    • 2023-08-01_21:51:53.793663_vXXJ
    • 2023-08-01_21:51:53.794886_RoDU
    • 2023-08-01_21:51:53.794921_Obxo
    • 2023-08-01_21:51:53.794931_ttEI
    • 2023-08-01_21:51:53.794939_LMYS
    e2fe3b9
    • 2023-08-03_13:17:07.594329_ohrb
    • 2023-08-03_13:17:07.601086_GuoU
    • 2023-08-03_13:17:07.601105_RaAU
    • 2023-08-03_13:17:07.601117_LQII
    • 2023-08-03_13:17:07.601124_bFAa
    • 2023-08-03_13:17:07.601130_exeN
    • 2023-08-03_13:17:07.601135_CRBe
    • 2023-08-03_13:17:07.601140_ISwR
    • 2023-08-03_13:17:07.601145_mVAO
    • 2023-08-03_13:17:07.601150_QnLJ
  • timeToInitialDisplay

    DeviceStatisticsDistributions
    oriole-32
    Percentile6b2a90fe2fe3b9DiffSignificant (?)
    p10203 ±5 ms207 ±4 ms+3.45 ms (+1.7%)NO
    p25210 ±5 ms213 ±5 ms+3.11 ms (+1.5%)NO
    p50217 ±5 ms221 ±5 ms+4.01 ms (+1.9%)NO
    p75225 ±7 ms230 ±5 ms+4.92 ms (+2.2%)NO
    p90235 ±7 ms242 ±9 ms+7.62 ms (+3.2%)NO

    20 test runs in comparison
    CommitTest Runs
    6b2a90f
    • 2023-08-01_21:51:53.738172_ruRv
    • 2023-08-01_21:51:53.793592_PeNZ
    • 2023-08-01_21:51:53.793624_txwO
    • 2023-08-01_21:51:53.793638_PhmZ
    • 2023-08-01_21:51:53.793650_dCYi
    • 2023-08-01_21:51:53.793663_vXXJ
    • 2023-08-01_21:51:53.794886_RoDU
    • 2023-08-01_21:51:53.794921_Obxo
    • 2023-08-01_21:51:53.794931_ttEI
    • 2023-08-01_21:51:53.794939_LMYS
    e2fe3b9
    • 2023-08-03_13:17:07.594329_ohrb
    • 2023-08-03_13:17:07.601086_GuoU
    • 2023-08-03_13:17:07.601105_RaAU
    • 2023-08-03_13:17:07.601117_LQII
    • 2023-08-03_13:17:07.601124_bFAa
    • 2023-08-03_13:17:07.601130_exeN
    • 2023-08-03_13:17:07.601135_CRBe
    • 2023-08-03_13:17:07.601140_ISwR
    • 2023-08-03_13:17:07.601145_mVAO
    • 2023-08-03_13:17:07.601150_QnLJ
    redfin-30
    Percentile6b2a90fe2fe3b9DiffSignificant (?)
    p10242 ±5 ms267 ±6 ms+25.2 ms (+10.4%)MAYBE
    p25248 ±4 ms274 ±7 ms+26.1 ms (+10.5%)MAYBE
    p50255 ±4 ms282 ±7 ms+27.0 ms (+10.6%)MAYBE
    p75263 ±3 ms291 ±8 ms+27.4 ms (+10.4%)MAYBE
    p90275 ±4 ms305 ±9.8 ms+30.3 ms (+11.0%)MAYBE

    20 test runs in comparison
    CommitTest Runs
    6b2a90f
    • 2023-08-01_21:51:53.738172_ruRv
    • 2023-08-01_21:51:53.793592_PeNZ
    • 2023-08-01_21:51:53.793624_txwO
    • 2023-08-01_21:51:53.793638_PhmZ
    • 2023-08-01_21:51:53.793650_dCYi
    • 2023-08-01_21:51:53.793663_vXXJ
    • 2023-08-01_21:51:53.794886_RoDU
    • 2023-08-01_21:51:53.794921_Obxo
    • 2023-08-01_21:51:53.794931_ttEI
    • 2023-08-01_21:51:53.794939_LMYS
    e2fe3b9
    • 2023-08-03_13:17:07.594329_ohrb
    • 2023-08-03_13:17:07.601086_GuoU
    • 2023-08-03_13:17:07.601105_RaAU
    • 2023-08-03_13:17:07.601117_LQII
    • 2023-08-03_13:17:07.601124_bFAa
    • 2023-08-03_13:17:07.601130_exeN
    • 2023-08-03_13:17:07.601135_CRBe
    • 2023-08-03_13:17:07.601140_ISwR
    • 2023-08-03_13:17:07.601145_mVAO
    • 2023-08-03_13:17:07.601150_QnLJ

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/0GNZgDgm4E/index.html

@dconeybe dconeybe marked this pull request as ready for review August 3, 2023 14:14
@dconeybe dconeybe requested a review from cherylEnkidu August 3, 2023 14:14
Copy link
Contributor

@cherylEnkidu cherylEnkidu left a comment

Choose a reason for hiding this comment

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

Thank you for your fix!

@dconeybe dconeybe merged commit d5b05f2 into master Aug 3, 2023
@dconeybe dconeybe deleted the dconeybe/SQLiteLocalStoreTestCommentFixes branch August 3, 2023 15:32
@dconeybe dconeybe changed the title Fix comment in testDoesNotAutoCreateIndexesWhenIndexLookUpIsExpensive Firestore: Fix comment in testDoesNotAutoCreateIndexesWhenIndexLookUpIsExpensive Aug 3, 2023
davidmotson pushed a commit that referenced this pull request Aug 3, 2023
@firebase firebase locked and limited conversation to collaborators Sep 3, 2023
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