【文件属性】:
文件名称:resharper-heapview:ReSharper堆分配查看器插件
文件大小:2.35MB
文件格式:ZIP
更新时间:2021-04-30 10:12:29
C#
适用于Rider和ReSharper的HeapAllocationViewer
该插件静态分析C#代码以查找所有发生的本地对象分配。
它可用于减少C#程序的热路径中的堆分配数量。
特征
它可以检测和可视化,包括:
struct Boxing {
void M ( string a ) {
object obj = 42 ; // implicit conversion Int32 ~> Object
string path = a + '/' + obj ; // implicit conversion Char ~> Object
int code = this . GetHashCode (); // non-overriden virtual method call on struct
string ca