Skip to content

Fix incremental builds for firebase-crashlytics-ndk #2692

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 1 commit into from
May 25, 2021

Conversation

mrichards
Copy link
Contributor

One task was incorrectly relying on externalNativeBuildClean,
which caused all native files to be rebuilt on every build,
regardless of if they were changed. That task dependency has
been removed, reducing incremental build times from 6m to ~13s.

One task was incorrectly relying on `externalNativeBuildClean`,
which caused all native files to be rebuilt on every build,
regardless of if they were changed. That task dependency has
been removed, reducing incremental build times from 6m to ~13s.
@mrichards mrichards requested a review from kmandrika May 25, 2021 20:45
@googlebot googlebot added the cla: yes Override cla label May 25, 2021
@google-oss-bot
Copy link
Contributor

Binary Size Report

Affected SDKs

No changes between base commit (b5d06cd) and head commit (04d746df).

Test Logs

Notes

Head commit (04d746df) is created by Prow via merging commits: b5d06cd 7d64e56.

@mrichards mrichards merged commit 1dea01f into master May 25, 2021
@mrichards mrichards deleted the crashlytics-ndk-incremental branch May 25, 2021 21:01
@google-oss-bot
Copy link
Contributor

Macrobenchmark Report

Affected SDKs

Measurements are for head commit (7d64e56). Diffing against base commit (b5d06cd) is working in progress.

  • baseline

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait118.0 ms153.0 ms137.0 ms143.6 ms152.2 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait36.0 ms63.0 ms49.5 ms62.1 ms63.0 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait55.0 ms84.0 ms65.0 ms78.3 ms83.4 ms
  • firebase-common

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait131.0 ms162.0 ms138.0 ms151.8 ms161.4 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait39.0 ms66.0 ms56.0 ms62.1 ms65.4 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait56.0 ms96.0 ms72.0 ms85.2 ms94.3 ms
  • firebase-config

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait132.0 ms171.0 ms144.0 ms157.5 ms169.3 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait36.0 ms62.0 ms45.5 ms58.1 ms61.4 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait43.0 ms85.0 ms66.0 ms81.1 ms84.4 ms
  • firebase-crashlytics

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait140.0 ms180.0 ms153.0 ms174.4 ms179.6 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait44.0 ms68.0 ms54.0 ms61.2 ms67.1 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait52.0 ms90.0 ms73.5 ms82.1 ms88.7 ms
  • firebase-database

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait114.0 ms162.0 ms140.5 ms154.0 ms160.5 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait38.0 ms70.0 ms47.5 ms61.4 ms69.1 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait52.0 ms85.0 ms67.5 ms83.0 ms84.6 ms
  • firebase-dynamic-links

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait114.0 ms148.0 ms134.0 ms146.1 ms147.8 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait40.0 ms64.0 ms56.0 ms63.1 ms64.0 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait53.0 ms95.0 ms74.0 ms80.2 ms92.5 ms
  • firebase-firestore

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait129.0 ms158.0 ms142.0 ms155.1 ms157.6 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait36.0 ms72.0 ms52.0 ms62.2 ms70.5 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait54.0 ms93.0 ms78.0 ms89.0 ms92.2 ms
  • firebase-functions

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait133.0 ms169.0 ms145.0 ms157.6 ms167.9 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait43.0 ms75.0 ms53.0 ms64.1 ms73.1 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait54.0 ms91.0 ms76.0 ms89.1 ms90.8 ms
  • firebase-inappmessaging-display

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait157.0 ms260.0 ms182.0 ms202.4 ms251.4 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait49.0 ms72.0 ms60.5 ms68.1 ms71.4 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait48.0 ms94.0 ms81.5 ms89.4 ms93.8 ms
  • firebase-messaging

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait137.0 ms159.0 ms141.5 ms156.3 ms159.0 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait30.0 ms65.0 ms51.5 ms64.1 ms65.0 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait46.0 ms83.0 ms68.0 ms79.1 ms82.4 ms
  • firebase-perf

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait141.0 ms176.0 ms153.0 ms160.5 ms173.9 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait45.0 ms63.0 ms52.5 ms59.1 ms62.4 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait51.0 ms90.0 ms73.0 ms87.1 ms89.6 ms
  • firebase-storage

    NameDeviceMinMaxP50P90P99
    BenchmarkTest.startup[mode=COLD]flame-30-en-portrait123.0 ms156.0 ms136.5 ms145.6 ms155.0 ms
    BenchmarkTest.startup[mode=HOT]flame-30-en-portrait31.0 ms57.0 ms48.5 ms55.0 ms56.6 ms
    BenchmarkTest.startup[mode=WARM]flame-30-en-portrait50.0 ms89.0 ms72.0 ms86.1 ms88.6 ms

@firebase firebase locked and limited conversation to collaborators Jun 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants