An open API service indexing awesome lists of open source software.

https://github.com/jpmikkers/baksteen.extensions.deepsize

csharp extension that measures the size of an object and everything contained by it
https://github.com/jpmikkers/baksteen.extensions.deepsize

csharp diagnostic diagnostic-tool dotnet dotnet6 extension extension-method reflection sizeof weight

Last synced: about 2 months ago
JSON representation

csharp extension that measures the size of an object and everything contained by it

Awesome Lists containing this project

README

        

# Baksteen.Extensions.DeepSize
C# extension method that measures the size of an object and everything contained or referenced by it. It's useful when you're trying to minimize the memory footprint of a class during development, or to examine which objects are getting bloated in your production software.
The calculated size is approximate because it does not account for the internal memory representation that may differ slightly due to field alignment padding.