Skip to content

Add memory panel to monitor internal caches#1607

Merged
jerelmiller merged 96 commits intomainfrom
jerel/memory-internals
Aug 29, 2025
Merged

Add memory panel to monitor internal caches#1607
jerelmiller merged 96 commits intomainfrom
jerel/memory-internals

Conversation

@jerelmiller
Copy link
Member

Adds a new "Memory" panel to the devtools that shows the current values of the internal caches.

Screenshot 2024-12-20 at 3 33 44 PM Screenshot 2024-12-20 at 3 15 43 PM Screenshot 2024-12-20 at 3 15 49 PM

@jerelmiller jerelmiller force-pushed the jerel/memory-internals branch from 937c461 to da616c0 Compare August 27, 2025 01:30
@jerelmiller
Copy link
Member Author

This has now been updated to be compatible with the v4 updates.

@jerelmiller jerelmiller force-pushed the jerel/memory-internals branch from ab03e49 to e124d15 Compare August 27, 2025 16:23
@phryneas
Copy link
Member

Apollo Client in the dev app needs an update to a recent version.

Copy link
Member

@phryneas phryneas left a comment

Choose a reason for hiding this comment

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

This looks great to me, thank you for getting this over the finish line :)

@phryneas
Copy link
Member

Possible naming alternatives if we decide not to call this memory.

* Memoization limits

* Memoization quotas

* Resource usage

I do like "Memoization" more than "Memory" here, how about "Memoization usage"? But totally fine with "limits" or "quotas", too :)

@jerelmiller
Copy link
Member Author

Ya I think I like memoization better. I fear "memory" might make people think we are tracking bytes consumed, which obviously isn't the feature here so let's do that!

@jerelmiller jerelmiller force-pushed the jerel/memory-internals branch from 230b997 to 281aecc Compare August 29, 2025 21:02
@jerelmiller jerelmiller merged commit b935cf8 into main Aug 29, 2025
12 checks passed
@jerelmiller jerelmiller deleted the jerel/memory-internals branch August 29, 2025 21:05
@github-actions github-actions bot mentioned this pull request Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants