Skip to content

LRU Gc for memory #4724

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 15 commits into from
Apr 19, 2023
Merged

LRU Gc for memory #4724

merged 15 commits into from
Apr 19, 2023

Conversation

wu-hui
Copy link
Contributor

@wu-hui wu-hui commented Feb 28, 2023

see: firebase/firebase-js-sdk#6943 and go/firestore-memory-lru

@github-actions
Copy link
Contributor

github-actions bot commented Feb 28, 2023

Javadoc Changes:
--- /Users/runner/diff/original/firebase-kotlindoc/android/client/firebase-firestore/_toc.yaml	2023-04-19 01:06:19.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/client/firebase-firestore/_toc.yaml	2023-04-19 00:59:45.000000000 +0000
@@ -12,6 +12,8 @@
       path: "/docs/reference/android/com/google/firebase/firestore/ListenerRegistration.html"
     - title: "LocalCacheSettings"
       path: "/docs/reference/android/com/google/firebase/firestore/LocalCacheSettings.html"
+    - title: "MemoryGarbageCollectorSettings"
+      path: "/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html"
     - title: "OnProgressListener"
       path: "/docs/reference/android/com/google/firebase/firestore/OnProgressListener.html"
     - title: "Transaction.Function"
@@ -58,6 +60,14 @@
       path: "/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html"
     - title: "MemoryCacheSettings.Builder"
       path: "/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html"
+    - title: "MemoryEagerGcSettings"
+      path: "/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html"
+    - title: "MemoryEagerGcSettings.Builder"
+      path: "/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html"
+    - title: "MemoryLruGcSettings"
+      path: "/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html"
+    - title: "MemoryLruGcSettings.Builder"
+      path: "/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html"
     - title: "PersistentCacheSettings"
       path: "/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html"
     - title: "PersistentCacheSettings.Builder"
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html	2023-04-19 01:06:19.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html	2023-04-19 00:59:45.000000000 +0000
@@ -32,6 +32,12 @@
               <p>Creates a <code>MemoryCacheSettings</code> instance.</p>
             </td>
           </tr>
+          <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html#setGcSettings(com.google.firebase.firestore.MemoryGarbageCollectorSettings)">setGcSettings</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a>&nbsp;gcSettings)</code></div>
+            </td>
+          </tr>
         </tbody>
       </table>
     </div>
@@ -42,6 +48,10 @@
         <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html#build()">build</a>()</pre>
         <p>Creates a <code>MemoryCacheSettings</code> instance.</p>
       </div>
+      <div class="api-item"><a name="setGcSettings-com.google.firebase.firestore.MemoryGarbageCollectorSettings-"></a><a name="setgcsettings"></a>
+        <h3 class="api-name" id="setGcSettings(com.google.firebase.firestore.MemoryGarbageCollectorSettings)">setGcSettings</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.Builder.html#setGcSettings(com.google.firebase.firestore.MemoryGarbageCollectorSettings)">setGcSettings</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a>&nbsp;gcSettings)</pre>
+      </div>
     </div>
   </body>
 </html>
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryCacheSettings.html	2023-04-19 01:06:19.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryCacheSettings.html	2023-04-19 00:59:45.000000000 +0000
@@ -54,6 +54,12 @@
             </td>
           </tr>
           <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#getGarbageCollectorSettings()">getGarbageCollectorSettings</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
             <td><code>int</code></td>
             <td>
               <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#hashCode()">hashCode</a>()</code></div>
@@ -81,6 +87,10 @@
         <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
         <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#equals(java.lang.Object)">equals</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;obj)</pre>
       </div>
+      <div class="api-item"><a name="getGarbageCollectorSettings--"></a><a name="getgarbagecollectorsettings"></a>
+        <h3 class="api-name" id="getGarbageCollectorSettings()">getGarbageCollectorSettings</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#getGarbageCollectorSettings()">getGarbageCollectorSettings</a>()</pre>
+      </div>
       <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
         <h3 class="api-name" id="hashCode()">hashCode</h3>
         <pre class="api-signature no-pretty-print">public&nbsp;int&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryCacheSettings.html#hashCode()">hashCode</a>()</pre>
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html	2023-04-19 00:59:45.000000000 +0000
@@ -0,0 +1,45 @@
+<html devsite="true">
+  <head>
+    <title>MemoryEagerGcSettings.Builder</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryEagerGcSettings.Builder</h1>
+    <p>
+      <pre>public class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></pre>
+    </p>
+    <hr>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public methods</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html#build()">build</a>()</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public methods</h2>
+      <div class="api-item"><a name="build--"></a><a name="build"></a>
+        <h3 class="api-name" id="build()">build</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html#build()">build</a>()</pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryEagerGcSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryEagerGcSettings.html	2023-04-19 00:59:45.000000000 +0000
@@ -0,0 +1,95 @@
+<html devsite="true">
+  <head>
+    <title>MemoryEagerGcSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryEagerGcSettings</h1>
+    <p>
+      <pre>public final class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a> implements <a href="/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
+    </p>
+    <hr>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Nested types</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td>
+              <div><code>public class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public methods</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code>boolean</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html#equals(java.lang.Object)">equals</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;obj)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>int</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html#hashCode()">hashCode</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>static @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html#newBuilder()">newBuilder</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html#toString()">toString</a>()</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public methods</h2>
+      <div class="api-item"><a name="equals-java.lang.Object-"></a><a name="equals"></a>
+        <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html#equals(java.lang.Object)">equals</a>(@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/Nullable.html">Nullable</a> <a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;obj)</pre>
+      </div>
+      <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
+        <h3 class="api-name" id="hashCode()">hashCode</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;int&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html#hashCode()">hashCode</a>()</pre>
+      </div>
+      <div class="api-item"><a name="newBuilder--"></a><a name="newbuilder"></a>
+        <h3 class="api-name" id="newBuilder()">newBuilder</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html#newBuilder()">newBuilder</a>()</pre>
+      </div>
+      <div class="api-item"><a name="toString--"></a><a name="tostring"></a>
+        <h3 class="api-name" id="toString()">toString</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html#toString()">toString</a>()</pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html	2023-04-19 00:59:45.000000000 +0000
@@ -0,0 +1,40 @@
+<html devsite="true">
+  <head>
+    <title>MemoryGarbageCollectorSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryGarbageCollectorSettings</h1>
+    <p>
+      <pre>public interface <a href="/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
+    </p>
+    <div class="devsite-table-wrapper"><devsite-expandable><span class="expand-control jd-sumtable-subclasses">Known direct subclasses
+        <div class="showalways" id="subclasses-direct"><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a>, <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></div>
+      </span>
+      <div id="subclasses-direct-summary">
+        <div class="devsite-table-wrapper">
+          <table class="responsive">
+            <colgroup>
+              <col width="40%">
+              <col>
+            </colgroup>
+            <tbody class="list">
+              <tr>
+                <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
+                <td></td>
+              </tr>
+              <tr>
+                <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
+                <td></td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+      </div>
+</devsite-expandable>    </div>
+    <hr>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html	2023-04-19 00:59:45.000000000 +0000
@@ -0,0 +1,55 @@
+<html devsite="true">
+  <head>
+    <title>MemoryLruGcSettings.Builder</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryLruGcSettings.Builder</h1>
+    <p>
+      <pre>public class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></pre>
+    </p>
+    <hr>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public methods</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#build()">build</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>void</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(long&nbsp;size)</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public methods</h2>
+      <div class="api-item"><a name="build--"></a><a name="build"></a>
+        <h3 class="api-name" id="build()">build</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#build()">build</a>()</pre>
+      </div>
+      <div class="api-item"><a name="setSizeBytes-long-"></a><a name="setsizebytes"></a>
+        <h3 class="api-name" id="setSizeBytes(long)">setSizeBytes</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;void&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(long&nbsp;size)</pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryLruGcSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/MemoryLruGcSettings.html	2023-04-19 00:59:45.000000000 +0000
@@ -0,0 +1,133 @@
+<html devsite="true">
+  <head>
+    <title>MemoryLruGcSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/android/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryLruGcSettings</h1>
+    <p>
+      <pre>public final class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a> implements <a href="/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
+    </p>
+    <hr>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Nested types</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td>
+              <div><code>public class <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public fields</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code>long</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#sizeBytes()">sizeBytes</a></code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public methods</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code>boolean</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#equals(java.lang.Object)">equals</a>(<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;o)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>long</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#getSizeBytes()">getSizeBytes</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>int</code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#hashCode()">hashCode</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>static @<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#newBuilder()">newBuilder</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#toString()">toString</a>()</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public fields</h2>
+      <div class="api-item"><a name="getSizeBytes()"></a><a name="setSizeBytes()"></a><a name="getSizeBytes--"></a><a name="setSizeBytes--"></a>
+        <h3 class="api-name" id="sizeBytes()">sizeBytes</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;long&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#sizeBytes()">sizeBytes</a></pre>
+      </div>
+    </div>
+    <div class="list">
+      <h2>Public methods</h2>
+      <div class="api-item"><a name="equals-java.lang.Object-"></a><a name="equals"></a>
+        <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;boolean&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#equals(java.lang.Object)">equals</a>(<a href="https://developer.android.com/reference/kotlin/java/lang/Object.html">Object</a>&nbsp;o)</pre>
+      </div>
+      <div class="api-item"><a name="getSizeBytes--"></a><a name="getsizebytes"></a>
+        <h3 class="api-name" id="getSizeBytes()">getSizeBytes</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;long&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#getSizeBytes()">getSizeBytes</a>()</pre>
+      </div>
+      <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
+        <h3 class="api-name" id="hashCode()">hashCode</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;int&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#hashCode()">hashCode</a>()</pre>
+      </div>
+      <div class="api-item"><a name="newBuilder--"></a><a name="newbuilder"></a>
+        <h3 class="api-name" id="newBuilder()">newBuilder</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;static&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#newBuilder()">newBuilder</a>()</pre>
+      </div>
+      <div class="api-item"><a name="toString--"></a><a name="tostring"></a>
+        <h3 class="api-name" id="toString()">toString</h3>
+        <pre class="api-signature no-pretty-print">public&nbsp;@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/NonNull.html">NonNull</a> <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>&nbsp;<a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html#toString()">toString</a>()</pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/android/com/google/firebase/firestore/package-summary.html	2023-04-19 01:06:19.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/android/com/google/firebase/firestore/package-summary.html	2023-04-19 00:59:45.000000000 +0000
@@ -80,6 +80,10 @@
             </td>
           </tr>
           <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></code></td>
+            <td></td>
+          </tr>
+          <tr>
             <td><code><a href="/docs/reference/android/com/google/firebase/firestore/OnProgressListener.html">OnProgressListener</a></code></td>
             <td>
               <p>A listener that is called periodically during execution of a <code><a href="/docs/reference/android/com/google/firebase/firestore/LoadBundleTask.html">LoadBundleTask</a></code>.</p>
@@ -218,6 +222,22 @@
             </td>
           </tr>
           <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
+            <td></td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></code></td>
+            <td></td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
+            <td></td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/android/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
+            <td></td>
+          </tr>
+          <tr>
             <td><code><a href="/docs/reference/android/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code></td>
             <td>
               <p>Configures the SDK to use a persistent cache.</p>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/client/firebase-firestore/_toc.yaml	2023-04-19 01:06:19.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/client/firebase-firestore/_toc.yaml	2023-04-19 00:59:45.000000000 +0000
@@ -12,6 +12,8 @@
       path: "/docs/reference/kotlin/com/google/firebase/firestore/ListenerRegistration.html"
     - title: "LocalCacheSettings"
       path: "/docs/reference/kotlin/com/google/firebase/firestore/LocalCacheSettings.html"
+    - title: "MemoryGarbageCollectorSettings"
+      path: "/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html"
     - title: "OnProgressListener"
       path: "/docs/reference/kotlin/com/google/firebase/firestore/OnProgressListener.html"
     - title: "Transaction.Function"
@@ -58,6 +60,14 @@
       path: "/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html"
     - title: "MemoryCacheSettings.Builder"
       path: "/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html"
+    - title: "MemoryEagerGcSettings"
+      path: "/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html"
+    - title: "MemoryEagerGcSettings.Builder"
+      path: "/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html"
+    - title: "MemoryLruGcSettings"
+      path: "/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html"
+    - title: "MemoryLruGcSettings.Builder"
+      path: "/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html"
     - title: "PersistentCacheSettings"
       path: "/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html"
     - title: "PersistentCacheSettings.Builder"
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html	2023-04-19 01:06:19.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html	2023-04-19 00:59:45.000000000 +0000
@@ -32,6 +32,12 @@
               <p>Creates a <code>MemoryCacheSettings</code> instance.</p>
             </td>
           </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html#setGcSettings(com.google.firebase.firestore.MemoryGarbageCollectorSettings)">setGcSettings</a>(gcSettings:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a>)</code></div>
+            </td>
+          </tr>
         </tbody>
       </table>
     </div>
@@ -42,6 +48,10 @@
         <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html#build()">build</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></pre>
         <p>Creates a <code>MemoryCacheSettings</code> instance.</p>
       </div>
+      <div class="api-item"><a name="setGcSettings-com.google.firebase.firestore.MemoryGarbageCollectorSettings-"></a><a name="setgcsettings"></a>
+        <h3 class="api-name" id="setGcSettings(com.google.firebase.firestore.MemoryGarbageCollectorSettings)">setGcSettings</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html#setGcSettings(com.google.firebase.firestore.MemoryGarbageCollectorSettings)">setGcSettings</a>(gcSettings:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a></pre>
+      </div>
     </div>
   </body>
 </html>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html	2023-04-19 01:06:19.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html	2023-04-19 00:59:45.000000000 +0000
@@ -54,6 +54,12 @@
             </td>
           </tr>
           <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#getGarbageCollectorSettings()">getGarbageCollectorSettings</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
             <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></code></td>
             <td>
               <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#hashCode()">hashCode</a>()</code></div>
@@ -81,6 +87,10 @@
         <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
         <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#equals(java.lang.Object)">equals</a>(obj:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
       </div>
+      <div class="api-item"><a name="getGarbageCollectorSettings--"></a><a name="getgarbagecollectorsettings"></a>
+        <h3 class="api-name" id="getGarbageCollectorSettings()">getGarbageCollectorSettings</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#getGarbageCollectorSettings()">getGarbageCollectorSettings</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
+      </div>
       <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
         <h3 class="api-name" id="hashCode()">hashCode</h3>
         <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html#hashCode()">hashCode</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></pre>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html	2023-04-19 00:59:45.000000000 +0000
@@ -0,0 +1,45 @@
+<html devsite="true">
+  <head>
+    <title>MemoryEagerGcSettings.Builder</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryEagerGcSettings.Builder</h1>
+    <p>
+      <pre>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></pre>
+    </p>
+    <hr>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public functions</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html#build()">build</a>()</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public functions</h2>
+      <div class="api-item"><a name="build--"></a><a name="build"></a>
+        <h3 class="api-name" id="build()">build</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html#build()">build</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html	2023-04-19 00:59:45.000000000 +0000
@@ -0,0 +1,95 @@
+<html devsite="true">
+  <head>
+    <title>MemoryEagerGcSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryEagerGcSettings</h1>
+    <p>
+      <pre>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a> : <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
+    </p>
+    <hr>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Nested types</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td>
+              <div><code>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public functions</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html#equals(java.lang.Object)">equals</a>(obj:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html#hashCode()">hashCode</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>java-static <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html#newBuilder()">newBuilder</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html#toString()">toString</a>()</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public functions</h2>
+      <div class="api-item"><a name="equals-java.lang.Object-"></a><a name="equals"></a>
+        <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html#equals(java.lang.Object)">equals</a>(obj:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>?):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
+      </div>
+      <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
+        <h3 class="api-name" id="hashCode()">hashCode</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html#hashCode()">hashCode</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></pre>
+      </div>
+      <div class="api-item"><a name="newBuilder--"></a><a name="newbuilder"></a>
+        <h3 class="api-name" id="newBuilder()">newBuilder</h3>
+        <pre class="api-signature no-pretty-print">java-static&nbsp;fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html#newBuilder()">newBuilder</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></pre>
+      </div>
+      <div class="api-item"><a name="toString--"></a><a name="tostring"></a>
+        <h3 class="api-name" id="toString()">toString</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html#toString()">toString</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html	2023-04-19 00:59:45.000000000 +0000
@@ -0,0 +1,40 @@
+<html devsite="true">
+  <head>
+    <title>MemoryGarbageCollectorSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryGarbageCollectorSettings</h1>
+    <p>
+      <pre>interface <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
+    </p>
+    <div class="devsite-table-wrapper"><devsite-expandable><span class="expand-control jd-sumtable-subclasses">Known direct subclasses
+        <div class="showalways" id="subclasses-direct"><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a>, <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></div>
+      </span>
+      <div id="subclasses-direct-summary">
+        <div class="devsite-table-wrapper">
+          <table class="responsive">
+            <colgroup>
+              <col width="40%">
+              <col>
+            </colgroup>
+            <tbody class="list">
+              <tr>
+                <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
+                <td></td>
+              </tr>
+              <tr>
+                <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
+                <td></td>
+              </tr>
+            </tbody>
+          </table>
+        </div>
+      </div>
+</devsite-expandable>    </div>
+    <hr>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html	2023-04-19 00:59:45.000000000 +0000
@@ -0,0 +1,55 @@
+<html devsite="true">
+  <head>
+    <title>MemoryLruGcSettings.Builder</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryLruGcSettings.Builder</h1>
+    <p>
+      <pre>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></pre>
+    </p>
+    <hr>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public functions</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#build()">build</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(size:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>)</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public functions</h2>
+      <div class="api-item"><a name="build--"></a><a name="build"></a>
+        <h3 class="api-name" id="build()">build</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#build()">build</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></pre>
+      </div>
+      <div class="api-item"><a name="setSizeBytes-long-"></a><a name="setsizebytes"></a>
+        <h3 class="api-name" id="setSizeBytes(long)">setSizeBytes</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html#setSizeBytes(long)">setSizeBytes</a>(size:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a>):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a></pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html	1970-01-01 00:00:00.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html	2023-04-19 00:59:45.000000000 +0000
@@ -0,0 +1,123 @@
+<html devsite="true">
+  <head>
+    <title>MemoryLruGcSettings</title>
+{% setvar book_path %}/_book.yaml{% endsetvar %}
+{% include "docs/reference/kotlin/_reference-head-tags.html" %}
+  </head>
+  <body>
+    <div id="metadata-info-block"></div>
+    <h1>MemoryLruGcSettings</h1>
+    <p>
+      <pre>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a> : <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></pre>
+    </p>
+    <hr>
+    <h2>Summary</h2>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Nested types</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td>
+              <div><code>class <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public functions</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#equals(java.lang.Object)">equals</a>(o:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#hashCode()">hashCode</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code>java-static <a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#newBuilder()">newBuilder</a>()</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#toString()">toString</a>()</code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="devsite-table-wrapper">
+      <table class="responsive">
+        <colgroup>
+          <col width="40%">
+          <col>
+        </colgroup>
+        <thead>
+          <tr>
+            <th colspan="100%"><h3>Public properties</h3></th>
+          </tr>
+        </thead>
+        <tbody class="list">
+          <tr>
+            <td><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#sizeBytes()">sizeBytes</a></code></div>
+            </td>
+          </tr>
+        </tbody>
+      </table>
+    </div>
+    <div class="list">
+      <h2>Public functions</h2>
+      <div class="api-item"><a name="equals-java.lang.Object-"></a><a name="equals"></a>
+        <h3 class="api-name" id="equals(java.lang.Object)">equals</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#equals(java.lang.Object)">equals</a>(o:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a>!):&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></pre>
+      </div>
+      <div class="api-item"><a name="hashCode--"></a><a name="hashcode"></a>
+        <h3 class="api-name" id="hashCode()">hashCode</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#hashCode()">hashCode</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></pre>
+      </div>
+      <div class="api-item"><a name="newBuilder--"></a><a name="newbuilder"></a>
+        <h3 class="api-name" id="newBuilder()">newBuilder</h3>
+        <pre class="api-signature no-pretty-print">java-static&nbsp;fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#newBuilder()">newBuilder</a>():&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></pre>
+      </div>
+      <div class="api-item"><a name="toString--"></a><a name="tostring"></a>
+        <h3 class="api-name" id="toString()">toString</h3>
+        <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#toString()">toString</a>():&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></pre>
+      </div>
+    </div>
+    <div class="list">
+      <h2>Public properties</h2>
+      <div class="api-item"><a name="getSizeBytes()"></a><a name="setSizeBytes()"></a><a name="getSizeBytes--"></a><a name="setSizeBytes--"></a>
+        <h3 class="api-name" id="sizeBytes()">sizeBytes</h3>
+        <pre class="api-signature no-pretty-print">val&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html#sizeBytes()">sizeBytes</a>:&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html">Long</a></pre>
+      </div>
+    </div>
+  </body>
+</html>
+
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/ktx/package-summary.html	2023-04-19 01:09:30.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/ktx/package-summary.html	2023-04-19 01:02:31.000000000 +0000
@@ -28,6 +28,18 @@
             </td>
           </tr>
           <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#memoryEagerGcSettings(kotlin.Function1)">memoryEagerGcSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>)</code></div>
+            </td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
+            <td>
+              <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#memoryLruGcSettings(kotlin.Function1)">memoryLruGcSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>)</code></div>
+            </td>
+          </tr>
+          <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code></td>
             <td>
               <div><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#persistentCacheSettings(kotlin.Function1)">persistentCacheSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>)</code></div>
@@ -180,6 +192,14 @@
       <h3 class="api-name" id="memoryCacheSettings(kotlin.Function1)">memoryCacheSettings</h3>
       <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#memoryCacheSettings(kotlin.Function1)">memoryCacheSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.Builder.html">MemoryCacheSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryCacheSettings.html">MemoryCacheSettings</a></pre>
     </div>
+    <div class="api-item"><a name="memoryEagerGcSettings-kotlin.Function1-"></a><a name="memoryeagergcsettings"></a>
+      <h3 class="api-name" id="memoryEagerGcSettings(kotlin.Function1)">memoryEagerGcSettings</h3>
+      <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#memoryEagerGcSettings(kotlin.Function1)">memoryEagerGcSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></pre>
+    </div>
+    <div class="api-item"><a name="memoryLruGcSettings-kotlin.Function1-"></a><a name="memorylrugcsettings"></a>
+      <h3 class="api-name" id="memoryLruGcSettings(kotlin.Function1)">memoryLruGcSettings</h3>
+      <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#memoryLruGcSettings(kotlin.Function1)">memoryLruGcSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></pre>
+    </div>
     <div class="api-item"><a name="persistentCacheSettings-kotlin.Function1-"></a><a name="persistentcachesettings"></a>
       <h3 class="api-name" id="persistentCacheSettings(kotlin.Function1)">persistentCacheSettings</h3>
       <pre class="api-signature no-pretty-print">fun&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/ktx/package-summary.html#persistentCacheSettings(kotlin.Function1)">persistentCacheSettings</a>(init:&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.Builder.html">PersistentCacheSettings.Builder</a>.() <span style="white-space: nowrap;">-&gt;</span> <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html">Unit</a>):&nbsp;<a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></pre>
--- /Users/runner/diff/original/firebase-kotlindoc/kotlin/com/google/firebase/firestore/package-summary.html	2023-04-19 01:06:19.000000000 +0000
+++ /Users/runner/diff/modified/firebase-kotlindoc/kotlin/com/google/firebase/firestore/package-summary.html	2023-04-19 00:59:45.000000000 +0000
@@ -33,6 +33,10 @@
             </td>
           </tr>
           <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryGarbageCollectorSettings.html">MemoryGarbageCollectorSettings</a></code></td>
+            <td></td>
+          </tr>
+          <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/OnProgressListener.html">OnProgressListener</a></code></td>
             <td>
               <p>A listener that is called periodically during execution of a <code><a href="/docs/reference/kotlin/com/google/firebase/firestore/LoadBundleTask.html">LoadBundleTask</a></code>.</p>
@@ -171,6 +175,22 @@
             </td>
           </tr>
           <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.html">MemoryEagerGcSettings</a></code></td>
+            <td></td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryEagerGcSettings.Builder.html">MemoryEagerGcSettings.Builder</a></code></td>
+            <td></td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.html">MemoryLruGcSettings</a></code></td>
+            <td></td>
+          </tr>
+          <tr>
+            <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/MemoryLruGcSettings.Builder.html">MemoryLruGcSettings.Builder</a></code></td>
+            <td></td>
+          </tr>
+          <tr>
             <td><code><a href="/docs/reference/kotlin/com/google/firebase/firestore/PersistentCacheSettings.html">PersistentCacheSettings</a></code></td>
             <td>
               <p>Configures the SDK to use a persistent cache.</p>

@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

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Feb 28, 2023

Coverage Report 1

Affected Products

  • firebase-firestore

    Overall coverage changed from 44.12% (c719f85) to 44.13% (3d4dbe1) by +0.01%.

    12 individual files with coverage change

    FilenameBase (c719f85)Merge (3d4dbe1)Diff
    DeleteMutation.java90.48%95.24%+4.76%
    FirebaseFirestore.java36.67%38.33%+1.67%
    FirebaseFirestoreSettings.java71.76%71.91%+0.15%
    Logger.java75.00%91.67%+16.67%
    LruGarbageCollector.java97.20%93.64%-3.56%
    MemoryCacheSettings.java28.57%50.00%+21.43%
    MemoryComponentProvider.java100.00%82.93%-17.07%
    MemoryEagerGcSettings.java?28.57%?
    MemoryGarbageCollectorSettings.java?0.00%?
    MemoryLruGcSettings.java?0.00%?
    MemoryMutationQueue.java98.57%100.00%+1.43%
    PatchMutation.java100.00%98.39%-1.61%

  • firebase-firestore-ktx

    Overall coverage changed from 29.17% (c719f85) to 37.04% (3d4dbe1) by +7.87%.

    FilenameBase (c719f85)Merge (3d4dbe1)Diff
    Firestore.kt31.82%40.00%+8.18%

Test Logs

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

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Added method com.google.firebase.firestore.FirebaseFirestoreSettings.isMemoryLruGcEnabled() [AddedMethod]
error: Added method com.google.firebase.firestore.FirebaseFirestoreSettings.Builder.setMemoryLruGcEnabled(boolean) [AddedMethod]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 28, 2023

Unit Test Results

   158 files  +   124     158 suites  +124   1m 56s ⏱️ +44s
1 124 tests +1 067  1 108 ✔️ +1 051  16 💤 +16  0 ±0 
2 248 runs  +2 134  2 216 ✔️ +2 102  32 💤 +32  0 ±0 

Results for commit 7a9b5e6. ± Comparison against base commit c719f85.

This pull request removes 57 and adds 1124 tests. Note that renamed tests count towards both.
com.google.firebase.DataCollectionPostNDefaultEnabledTest ‑ isDataCollectionDefaultEnabled_shouldDefaultToTrue
com.google.firebase.DataCollectionPostNDefaultEnabledTest ‑ isDataCollectionDefaultEnabled_whenPrefsFalse_shouldReturnFalse
com.google.firebase.DataCollectionPostNDefaultEnabledTest ‑ isDataCollectionDefaultEnabled_whenPrefsTrue_shouldReturnTrue
com.google.firebase.DataCollectionPostNDefaultEnabledTest ‑ setDataCollectionDefaultEnabledFalse_shouldUpdateSharedPrefs
com.google.firebase.DataCollectionPostNDefaultEnabledTest ‑ setDataCollectionDefaultEnabled_shouldNotAffectOtherFirebaseAppInstances
com.google.firebase.DataCollectionPreNDefaultEnabledTest ‑ isDataCollectionDefaultEnabled_shouldDefaultToTrue
com.google.firebase.DataCollectionPreNDefaultEnabledTest ‑ isDataCollectionDefaultEnabled_whenPrefsFalse_shouldReturnFalse
com.google.firebase.DataCollectionPreNDefaultEnabledTest ‑ isDataCollectionDefaultEnabled_whenPrefsTrue_shouldReturnTrue
com.google.firebase.DataCollectionPreNDefaultEnabledTest ‑ setDataCollectionDefaultEnabledFalse_shouldUpdateSharedPrefs
com.google.firebase.DataCollectionPreNDefaultEnabledTest ‑ setDataCollectionDefaultEnabled_shouldNotAffectOtherFirebaseAppInstances
…
com.google.firebase.TimestampTest ‑ testCompare
com.google.firebase.TimestampTest ‑ testFromDate
com.google.firebase.TimestampTest ‑ testRejectBadDates
com.google.firebase.TimestampTest ‑ testTimestampParcelable
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
com.google.firebase.firestore.DocumentChangeTest ‑ randomTests
…

♻️ This comment has been updated with latest results.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Feb 28, 2023

Size Report 1

Affected Products

  • firebase-firestore

    TypeBase (c719f85)Merge (3d4dbe1)Diff
    aar1.33 MB1.33 MB+4.47 kB (+0.3%)
    apk (release)3.94 MB3.94 MB+964 B (+0.0%)
  • firebase-firestore-ktx

    TypeBase (c719f85)Merge (3d4dbe1)Diff
    aar24.9 kB25.1 kB+276 B (+1.1%)
    apk (release)4.33 MB4.33 MB+1.70 kB (+0.0%)

Test Logs

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

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Feb 28, 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
    Percentile734adc05165fc5DiffSignificant (?)
    p10348 ±47 μs394 ±106 μs+45.9 μs (+13.2%)NO
    p25372 ±66 μs414 ±112 μs+42.4 μs (+11.4%)NO
    p50411 ±85 μs453 ±123 μs+42.2 μs (+10.3%)NO
    p75480 ±134 μs551 ±173 μs+70.2 μs (+14.6%)NO
    p90562 ±213 μs701 ±283 μs+139 μs (+24.7%)NO

    20 test runs in comparison
    CommitTest Runs
    734adc0
    • 2023-04-15_11:46:30.658465_VigP
    • 2023-04-15_11:46:30.660429_XbDz
    • 2023-04-15_11:46:30.660439_YdVM
    • 2023-04-15_11:46:30.660445_dllk
    • 2023-04-15_11:46:30.660451_heHu
    • 2023-04-15_11:46:30.660460_KmGF
    • 2023-04-15_11:46:30.660466_hyZA
    • 2023-04-15_11:46:30.660471_uflG
    • 2023-04-15_11:46:30.660476_yGLM
    • 2023-04-15_11:46:30.660481_NHBL
    5165fc5
    • 2023-04-17_15:01:01.753773_APoC
    • 2023-04-17_15:01:01.757388_KHjB
    • 2023-04-17_15:01:01.757408_yffK
    • 2023-04-17_15:01:01.757416_nZYs
    • 2023-04-17_15:01:01.757667_KWEs
    • 2023-04-17_15:01:01.757689_FcCN
    • 2023-04-17_15:01:01.757697_dfoY
    • 2023-04-17_15:01:01.757704_GmHw
    • 2023-04-17_15:01:01.757711_RSzY
    • 2023-04-17_15:01:01.757717_kKSf
    redfin-30
    Percentile734adc05165fc5DiffSignificant (?)
    p10652 ±37 μs636 ±27 μs-16.7 μs (-2.6%)NO
    p25670 ±41 μs656 ±33 μs-13.7 μs (-2.0%)NO
    p50696 ±50 μs685 ±42 μs-10.6 μs (-1.5%)NO
    p75732 ±61 μs730 ±58 μs-2.28 μs (-0.3%)NO
    p90806 ±105 μs810 ±126 μs+4.12 μs (+0.5%)NO

    20 test runs in comparison
    CommitTest Runs
    734adc0
    • 2023-04-15_11:46:30.658465_VigP
    • 2023-04-15_11:46:30.660429_XbDz
    • 2023-04-15_11:46:30.660439_YdVM
    • 2023-04-15_11:46:30.660445_dllk
    • 2023-04-15_11:46:30.660451_heHu
    • 2023-04-15_11:46:30.660460_KmGF
    • 2023-04-15_11:46:30.660466_hyZA
    • 2023-04-15_11:46:30.660471_uflG
    • 2023-04-15_11:46:30.660476_yGLM
    • 2023-04-15_11:46:30.660481_NHBL
    5165fc5
    • 2023-04-17_15:01:01.753773_APoC
    • 2023-04-17_15:01:01.757388_KHjB
    • 2023-04-17_15:01:01.757408_yffK
    • 2023-04-17_15:01:01.757416_nZYs
    • 2023-04-17_15:01:01.757667_KWEs
    • 2023-04-17_15:01:01.757689_FcCN
    • 2023-04-17_15:01:01.757697_dfoY
    • 2023-04-17_15:01:01.757704_GmHw
    • 2023-04-17_15:01:01.757711_RSzY
    • 2023-04-17_15:01:01.757717_kKSf
  • timeToInitialDisplay

    DeviceStatisticsDistributions
    oriole-32
    Percentile734adc05165fc5DiffSignificant (?)
    p10197 ±6 ms217 ±34 ms+19.8 ms (+10.0%)NO
    p25204 ±6 ms223 ±36 ms+19.2 ms (+9.4%)NO
    p50213 ±8 ms233 ±40 ms+20.3 ms (+9.5%)NO
    p75224 ±16 ms243 ±42 ms+18.8 ms (+8.4%)NO
    p90234 ±22 ms257 ±45 ms+23.0 ms (+9.8%)NO

    20 test runs in comparison
    CommitTest Runs
    734adc0
    • 2023-04-15_11:46:30.658465_VigP
    • 2023-04-15_11:46:30.660429_XbDz
    • 2023-04-15_11:46:30.660439_YdVM
    • 2023-04-15_11:46:30.660445_dllk
    • 2023-04-15_11:46:30.660451_heHu
    • 2023-04-15_11:46:30.660460_KmGF
    • 2023-04-15_11:46:30.660466_hyZA
    • 2023-04-15_11:46:30.660471_uflG
    • 2023-04-15_11:46:30.660476_yGLM
    • 2023-04-15_11:46:30.660481_NHBL
    5165fc5
    • 2023-04-17_15:01:01.753773_APoC
    • 2023-04-17_15:01:01.757388_KHjB
    • 2023-04-17_15:01:01.757408_yffK
    • 2023-04-17_15:01:01.757416_nZYs
    • 2023-04-17_15:01:01.757667_KWEs
    • 2023-04-17_15:01:01.757689_FcCN
    • 2023-04-17_15:01:01.757697_dfoY
    • 2023-04-17_15:01:01.757704_GmHw
    • 2023-04-17_15:01:01.757711_RSzY
    • 2023-04-17_15:01:01.757717_kKSf
    redfin-30
    Percentile734adc05165fc5DiffSignificant (?)
    p10233 ±12 ms255 ±8 ms+21.2 ms (+9.1%)NO
    p25240 ±13 ms261 ±8 ms+20.6 ms (+8.6%)NO
    p50247 ±14 ms269 ±9 ms+22.4 ms (+9.1%)NO
    p75256 ±16 ms279 ±9.6 ms+23.4 ms (+9.2%)NO
    p90264 ±16 ms293 ±12 ms+29.5 ms (+11.2%)NO

    20 test runs in comparison
    CommitTest Runs
    734adc0
    • 2023-04-15_11:46:30.658465_VigP
    • 2023-04-15_11:46:30.660429_XbDz
    • 2023-04-15_11:46:30.660439_YdVM
    • 2023-04-15_11:46:30.660445_dllk
    • 2023-04-15_11:46:30.660451_heHu
    • 2023-04-15_11:46:30.660460_KmGF
    • 2023-04-15_11:46:30.660466_hyZA
    • 2023-04-15_11:46:30.660471_uflG
    • 2023-04-15_11:46:30.660476_yGLM
    • 2023-04-15_11:46:30.660481_NHBL
    5165fc5
    • 2023-04-17_15:01:01.753773_APoC
    • 2023-04-17_15:01:01.757388_KHjB
    • 2023-04-17_15:01:01.757408_yffK
    • 2023-04-17_15:01:01.757416_nZYs
    • 2023-04-17_15:01:01.757667_KWEs
    • 2023-04-17_15:01:01.757689_FcCN
    • 2023-04-17_15:01:01.757697_dfoY
    • 2023-04-17_15:01:01.757704_GmHw
    • 2023-04-17_15:01:01.757711_RSzY
    • 2023-04-17_15:01:01.757717_kKSf

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

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Added method com.google.firebase.firestore.MemoryCacheSettings.getGarbageCollectorSettings() [AddedMethod]
error: Added method com.google.firebase.firestore.MemoryCacheSettings.Builder.setGcSettings(com.google.firebase.firestore.MemoryGarbageCollectorSettings) [AddedMethod]
error: Added class com.google.firebase.firestore.MemoryEagerGcSettings [AddedClass]
error: Added class com.google.firebase.firestore.MemoryLruGcSettings [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Added method com.google.firebase.firestore.MemoryCacheSettings.getGarbageCollectorSettings() [AddedMethod]
error: Added method com.google.firebase.firestore.MemoryCacheSettings.Builder.setGcSettings(com.google.firebase.firestore.MemoryGarbageCollectorSettings) [AddedMethod]
error: Added class com.google.firebase.firestore.MemoryEagerGcSettings [AddedClass]
error: Added class com.google.firebase.firestore.MemoryLruGcSettings [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

Copy link
Contributor

@tom-andersen tom-andersen left a comment

Choose a reason for hiding this comment

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

Looks good! Though I really don't like that production code has code to accommodate testing. I tried to add some comments to help minimize this.

@tom-andersen tom-andersen assigned wu-hui and unassigned tom-andersen Apr 17, 2023
@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Added method com.google.firebase.firestore.MemoryCacheSettings.getGarbageCollectorSettings() [AddedMethod]
error: Added method com.google.firebase.firestore.MemoryCacheSettings.Builder.setGcSettings(com.google.firebase.firestore.MemoryGarbageCollectorSettings) [AddedMethod]
error: Added class com.google.firebase.firestore.MemoryEagerGcSettings [AddedClass]
error: Added class com.google.firebase.firestore.MemoryLruGcSettings [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

1 similar comment
@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-firestore:
error: Added method com.google.firebase.firestore.MemoryCacheSettings.getGarbageCollectorSettings() [AddedMethod]
error: Added method com.google.firebase.firestore.MemoryCacheSettings.Builder.setGcSettings(com.google.firebase.firestore.MemoryGarbageCollectorSettings) [AddedMethod]
error: Added class com.google.firebase.firestore.MemoryEagerGcSettings [AddedClass]
error: Added class com.google.firebase.firestore.MemoryLruGcSettings [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

Copy link
Contributor Author

@wu-hui wu-hui left a comment

Choose a reason for hiding this comment

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

Thanks for the review!

@wu-hui wu-hui assigned tom-andersen and unassigned wu-hui Apr 18, 2023
@wu-hui wu-hui closed this Apr 18, 2023
@wu-hui wu-hui reopened this Apr 18, 2023
@wu-hui wu-hui closed this Apr 18, 2023
@wu-hui wu-hui reopened this Apr 18, 2023
@wu-hui wu-hui closed this Apr 18, 2023
@wu-hui wu-hui reopened this Apr 18, 2023
Copy link
Contributor

@tom-andersen tom-andersen left a comment

Choose a reason for hiding this comment

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

LGTM

@tom-andersen tom-andersen assigned wu-hui and unassigned tom-andersen Apr 19, 2023
@wu-hui wu-hui merged commit 9a9a02b into master Apr 19, 2023
@wu-hui wu-hui deleted the wuandy/MemoryLRU branch April 19, 2023 15:58
@firebase firebase locked and limited conversation to collaborators Jun 1, 2023
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.

3 participants