Skip to content

Instantly share code, notes, and snippets.

@ironpythonbot
Created December 9, 2014 17:55
Show Gist options
  • Save ironpythonbot/aa9fc514992d571ba095 to your computer and use it in GitHub Desktop.
Save ironpythonbot/aa9fc514992d571ba095 to your computer and use it in GitHub Desktop.
CodePlex Issue #31764 Plain Text Attachments
<root> : 171 MB (100,00%)
Handle <root>->Handle->(System.Object []): 152 MB (89,00%)
Handle, Pinning <root>->Handle, Pinning->(System.Object []): 8,8 MB (5,15%)
Stack <root>->Stack->(IronPython.Runtime.ModuleContext): 4,4 MB (2,55%)
Stack <root>->Stack->(Microsoft.Scripting.Debugging.DebuggableLambdaBuilder): 3,0 MB (1,77%)
System.Object [] Handle->System.Object []->(IronPython.Runtime.Exceptions.TracebackDelegate,System.Collections.Generic.Stack<T>): 148 MB (86,51%) (1 object, 52 bytes (0,00%))
System.Object [] Handle, Pinning->System.Object []->(Microsoft.Scripting.NullErrorSink,Microsoft.Scripting.PlatformAdaptationLayer,System.Security.PermissionSet,...): 8,5 MB (4,95%) (1 object, 16 kB (0,01%))
IronPython.Runtime.ModuleContext Stack->IronPython.Runtime.ModuleContext->(IronPython.Runtime.CodeContext,IronPython.Runtime.ExtensionMethodSet,IronPython.Runtime.PythonContext): 4,4 MB (2,55%) (1 object, 32 bytes (0,00%))
System.Object [] Handle->System.Object []->(System.Collections.Generic.Stack<T>): 4,3 MB (2,49%) (9 objects, 468 bytes (0,00%))
Microsoft.Scripting.Debugging.DebuggableLambdaBuilder Stack->Microsoft.Scripting.Debugging.DebuggableLambdaBuilder->(Microsoft.Scripting.Debugging.CompilerServices.DebugContext,Microsoft.Scripting.Debugging.CompilerServices.DebugLambdaInfo,System.Linq.Expressions.ConstantExpression,...): 3,0 MB (1,77%) (1 object, 108 bytes (0,00%))
System.Collections.Generic.Stack<T> System.Object []->System.Collections.Generic.Stack<T>->(IronPython.Runtime.PythonTracebackListener []): 152 MB (89,00%) (10 objects, 240 bytes (0,00%))
System.Linq.Expressions.BlockExpressionList System.Collections.ObjectModel.ReadOnlyCollection<T>->System.Linq.Expressions.BlockExpressionList->(System.Linq.Expressions.Scope1): 27 MB (15,67%) (4373 objects, 68 kB (0,04%))
IronPython.Compiler.LookupCompilationDelegate IronPython.Runtime.FunctionCode->IronPython.Compiler.LookupCompilationDelegate->(Microsoft.Scripting.Interpreter.LightLambda): 18 MB (10,54%) (492 objects, 15 kB (0,01%))
System.Linq.Expressions.CatchBlock [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.CatchBlock []->(System.Linq.Expressions.CatchBlock): 8,7 MB (5,09%) (13497 objects, 264 kB (0,15%))
IronPython.Compiler.Ast.PythonAst IronPython.Runtime.FunctionCode->IronPython.Compiler.Ast.PythonAst->(IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement,System.Collections.Generic.Dictionary<T,U>,System.Collections.Generic.Dictionary<T,U>,...): 8,0 MB (4,67%) (373 objects, 48 kB (0,03%))
System.Linq.Expressions.BlockExpressionList System.Collections.ObjectModel.ReadOnlyCollection<T>->System.Linq.Expressions.BlockExpressionList->(System.Linq.Expressions.Block2): 7,7 MB (4,50%) (95875 objects, 1,5 MB (0,86%))
IronPython.Runtime.Types.PythonType System.Object []->IronPython.Runtime.Types.PythonType->(IronPython.Runtime.Types.PythonType [],System.Collections.Generic.Dictionary<T,U>,System.RuntimeType,...): 7,7 MB (4,49%) (2 objects, 296 bytes (0,00%))
IronPython.Runtime.ExtensionMethodSet IronPython.Runtime.ModuleContext->IronPython.Runtime.ExtensionMethodSet->(IronPython.Runtime.Binding.PythonExtensionBinder): 4,4 MB (2,55%) (1 object, 20 bytes (0,00%))
Microsoft.Scripting.Debugging.CompilerServices.DebugContext Microsoft.Scripting.Debugging.DebuggableLambdaBuilder->Microsoft.Scripting.Debugging.CompilerServices.DebugContext->(Microsoft.Scripting.Debugging.DefaultDebugThread,Microsoft.Scripting.Debugging.DefaultDebugThreadFactory,Microsoft.Scripting.Debugging.TracePipeline): 3,0 MB (1,77%) (1 object, 32 bytes (0,00%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(Microsoft.Scripting.Ast.LightCheckAndThrowExpression): 2,1 MB (1,23%) (608 objects, 14 kB (0,01%))
IronPython.Runtime.PythonTracebackListener [] System.Collections.Generic.Stack<T>->IronPython.Runtime.PythonTracebackListener []->(IronPython.Runtime.PythonTracebackListener): 152 MB (89,00%) (10 objects, 560 bytes (0,00%))
System.Collections.Generic.Dictionary<T,U> Microsoft.Scripting.Debugging.DebugSourceFile->System.Collections.Generic.Dictionary<T,U>->(System.Collections.Generic.ObjectEqualityComparer<T>,System.Int32 []): 126 MB (73,70%) (492 objects, 25 kB (0,01%))
System.Linq.Expressions.LabelExpression System.Linq.Expressions.BlockExpressionList->System.Linq.Expressions.LabelExpression->(System.Linq.Expressions.Scope1): 26 MB (15,34%) (2469 objects, 39 kB (0,02%))
System.Runtime.CompilerServices.TrueReadOnlyCollection<T> System.Linq.Expressions.BlockN->System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->(System.Linq.Expressions.Expression []): 23 MB (13,27%) (2476 objects, 39 kB (0,02%))
Microsoft.Scripting.Interpreter.LightLambda IronPython.Compiler.LookupCompilationDelegate->Microsoft.Scripting.Interpreter.LightLambda->(Microsoft.Scripting.Interpreter.Interpreter): 18 MB (10,53%) (492 objects, 15 kB (0,01%))
System.Linq.Expressions.Scope1 System.Linq.Expressions.BlockExpressionList->System.Linq.Expressions.Scope1->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 5,7 MB (3,31%) (1294 objects, 20 kB (0,01%))
IronPython.Runtime.Binding.PythonExtensionBinder IronPython.Runtime.ExtensionMethodSet->IronPython.Runtime.Binding.PythonExtensionBinder->(IronPython.Runtime.Binding.PythonBinder.SlotCache,IronPython.Runtime.ExtensionMethodSet,IronPython.Runtime.PythonContext): 4,4 MB (2,55%) (1 object, 36 bytes (0,00%))
System.Linq.Expressions.CatchBlock System.Linq.Expressions.CatchBlock []->System.Linq.Expressions.CatchBlock->(System.Linq.Expressions.Block5,System.RuntimeType): 3,1 MB (1,79%) (2471 objects, 58 kB (0,03%))
System.Linq.Expressions.CatchBlock System.Linq.Expressions.CatchBlock []->System.Linq.Expressions.CatchBlock->(System.Linq.Expressions.Block2,System.RuntimeType): 2,9 MB (1,68%) (5905 objects, 138 kB (0,08%))
System.Linq.Expressions.Block2 System.Linq.Expressions.BlockExpressionList->System.Linq.Expressions.Block2->(System.Collections.ObjectModel.ReadOnlyCollection<T>): 1,8 MB (1,08%) (5660 objects, 88 kB (0,05%))
IronPython.Runtime.PythonTracebackListener IronPython.Runtime.PythonTracebackListener []->IronPython.Runtime.PythonTracebackListener->(IronPython.Runtime.PythonContext): 152 MB (89,00%) (47 objects, 752 bytes (0,00%))
System.Collections.Generic.Dictionary<T,U>.Entry [] System.Collections.Generic.Dictionary<T,U>->System.Collections.Generic.Dictionary<T,U>.Entry []->(Microsoft.Scripting.Debugging.DebugSourceSpan): 126 MB (73,56%) (492 objects, 858 kB (0,49%))
System.Linq.Expressions.Scope1 System.Linq.Expressions.LabelExpression->System.Linq.Expressions.Scope1->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 27 MB (15,81%) (2522 objects, 39 kB (0,02%))
System.Func<T,U,V,W> Microsoft.Scripting.Debugging.FunctionInfo->System.Func<T,U,V,W>->(System.Runtime.CompilerServices.Closure): 24 MB (14,09%) (719 objects, 22 kB (0,01%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression,System.Linq.Expressions.GotoExpression,System.Linq.Expressions.MethodCallExpression1): 23 MB (13,25%) (2469 objects, 116 kB (0,07%))
System.Collections.ObjectModel.ReadOnlyCollection<T>(3) System.Linq.Expressions.Scope1->System.Collections.ObjectModel.ReadOnlyCollection<T>->(System.Linq.Expressions.BlockExpressionList): 20 MB (11,61%) (2432 objects, 38 kB (0,02%))
System.Linq.Expressions.TryExpression Microsoft.Scripting.Ast.LightExceptionConvertingExpression->System.Linq.Expressions.TryExpression->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>,System.RuntimeType): 7,1 MB (4,18%) (3232 objects, 88 kB (0,05%))
IronPython.Runtime.PythonContext IronPython.Runtime.Binding.PythonExtensionBinder->IronPython.Runtime.PythonContext->(IronPython.Runtime.PythonDictionary,Microsoft.Scripting.Runtime.ScriptDomainManager,System.Collections.Generic.Dictionary<T,U>,...): 4,3 MB (2,55%) (1 object, 576 bytes (0,00%))
System.Linq.Expressions.TryExpression System.Linq.Expressions.Block2->System.Linq.Expressions.TryExpression->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>,System.RuntimeType): 3,5 MB (2,06%) (3193 objects, 87 kB (0,05%))
System.Linq.Expressions.Block5 System.Linq.Expressions.CatchBlock->System.Linq.Expressions.Block5->(System.Linq.Expressions.ConstantExpression,System.Linq.Expressions.MethodCallExpression1,System.Linq.Expressions.ScopeN): 2,5 MB (1,45%) (2053 objects, 56 kB (0,03%))
IronPython.Compiler.Ast.SuiteStatement IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement->IronPython.Compiler.Ast.SuiteStatement->(IronPython.Compiler.Ast.PythonAst): 2,0 MB (1,20%) (415 objects, 9,7 kB (0,01%))
IronPython.Runtime.PythonContext IronPython.Runtime.PythonTracebackListener->IronPython.Runtime.PythonContext->(IronPython.Runtime.PythonDictionary,Microsoft.Scripting.Runtime.ScriptDomainManager,System.Collections.Generic.Dictionary<T,U>,...): 152 MB (89,00%) (36 objects, 20 kB (0,01%))
Microsoft.Scripting.Debugging.FunctionInfo System.Collections.Generic.Dictionary<T,U>.Entry []->Microsoft.Scripting.Debugging.FunctionInfo->(Microsoft.Scripting.Debugging.DebugSourceSpan [],System.Collections.Generic.List<T>,System.Func<T,U,V,W>,...): 55 MB (32,45%) (718 objects, 34 kB (0,02%))
Microsoft.Scripting.Debugging.FunctionInfo System.Collections.Generic.Dictionary<T,U>.Entry []->Microsoft.Scripting.Debugging.FunctionInfo->(Microsoft.Scripting.Debugging.DebugSourceSpan [],System.Collections.Generic.List<T>,System.Func<T,U,V>,...): 53 MB (30,85%) (1381 objects, 65 kB (0,04%))
System.Linq.Expressions.Block3 System.Linq.Expressions.Expression []->System.Linq.Expressions.Block3->(System.Collections.ObjectModel.ReadOnlyCollection<T>,System.Linq.Expressions.ConditionalExpression): 21 MB (12,44%) (2469 objects, 48 kB (0,03%))
System.Linq.Expressions.BlockExpressionList(3) System.Collections.ObjectModel.ReadOnlyCollection<T>->System.Linq.Expressions.BlockExpressionList->(System.Linq.Expressions.Scope1): 20 MB (11,59%) (2432 objects, 38 kB (0,02%))
Microsoft.Scripting.Debugging.FunctionInfo System.Collections.Generic.Dictionary<T,U>.Entry []->Microsoft.Scripting.Debugging.FunctionInfo->(Microsoft.Scripting.Debugging.DebugSourceSpan [],System.Collections.Generic.List<T>,System.Func<T,U,V,W,X>,...): 12 MB (7,30%) (380 objects, 18 kB (0,01%))
System.Linq.Expressions.ScopeN(1) System.Linq.Expressions.TryExpression->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 11 MB (6,32%) (683 objects, 11 kB (0,01%))
IronPython.Runtime.WeakRefTracker IronPython.Runtime.Types.PythonType->IronPython.Runtime.WeakRefTracker->(System.Collections.Generic.List<T>): 7,7 MB (4,51%) (8 objects, 96 bytes (0,00%))
System.Linq.Expressions.LoopExpression System.Linq.Expressions.TryExpression->System.Linq.Expressions.LoopExpression->(System.Linq.Expressions.Block4): 3,4 MB (1,97%) (3193 objects, 62 kB (0,04%))
System.Linq.Expressions.ScopeN System.Linq.Expressions.Block5->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 3,3 MB (1,91%) (3648 objects, 57 kB (0,03%))
Microsoft.Scripting.Debugging.FunctionInfo System.Collections.Generic.Dictionary<T,U>.Entry []->Microsoft.Scripting.Debugging.FunctionInfo->(Microsoft.Scripting.Debugging.DebugSourceSpan [],System.Collections.Generic.List<T>,System.Func<T,U,V,W,X,Y,Z>,...): 2,4 MB (1,41%) (113 objects, 5,3 kB (0,00%))
Microsoft.Scripting.Debugging.CompilerServices.DebugContext IronPython.Runtime.PythonContext->Microsoft.Scripting.Debugging.CompilerServices.DebugContext->(Microsoft.Scripting.Debugging.DefaultDebugThread,Microsoft.Scripting.Debugging.DefaultDebugThreadFactory,Microsoft.Scripting.Debugging.TracePipeline): 122 MB (71,47%) (37 objects, 1,2 kB (0,00%))
IronPython.Runtime.PythonDebuggingPayload Microsoft.Scripting.Debugging.FunctionInfo->IronPython.Runtime.PythonDebuggingPayload->(IronPython.Runtime.FunctionCode): 59 MB (34,44%) (2638 objects, 52 kB (0,03%))
System.Func<T,U,V> Microsoft.Scripting.Debugging.FunctionInfo->System.Func<T,U,V>->(System.Runtime.CompilerServices.Closure): 30 MB (17,37%) (1388 objects, 43 kB (0,02%))
IronPython.Runtime.PythonDictionary IronPython.Runtime.PythonContext->IronPython.Runtime.PythonDictionary->(IronPython.Runtime.CommonDictionaryStorage): 20 MB (11,91%) (38 objects, 456 bytes (0,00%))
System.Linq.Expressions.TryExpression(2) System.Linq.Expressions.BlockExpressionList->System.Linq.Expressions.TryExpression->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>,System.RuntimeType): 11 MB (6,34%) (455 objects, 12 kB (0,01%))
System.Collections.Generic.Dictionary<T,U> IronPython.Runtime.PythonContext->System.Collections.Generic.Dictionary<T,U>->(System.Collections.Generic.ObjectEqualityComparer<T>,System.Int32 []): 4,8 MB (2,84%) (191 objects, 9,7 kB (0,01%))
System.Func<T,U,V,W,X> Microsoft.Scripting.Debugging.FunctionInfo->System.Func<T,U,V,W,X>->(System.Runtime.CompilerServices.Closure): 4,7 MB (2,77%) (380 objects, 12 kB (0,01%))
System.Linq.Expressions.Block4 System.Linq.Expressions.LoopExpression->System.Linq.Expressions.Block4->(System.Linq.Expressions.FullConditionalExpression,System.Linq.Expressions.LabelExpression): 4,2 MB (2,48%) (3421 objects, 80 kB (0,05%))
System.Collections.Generic.Dictionary<T,U> IronPython.Runtime.PythonContext->System.Collections.Generic.Dictionary<T,U>->(System.Collections.Generic.GenericEqualityComparer<T>,System.Int32 []): 3,5 MB (2,08%) (267 objects, 14 kB (0,01%))
System.Runtime.CompilerServices.CallSite<T> IronPython.Runtime.PythonContext->System.Runtime.CompilerServices.CallSite<T>->(IronPython.Runtime.Binding.PythonInvokeBinder,System.Func<T,U,V,W,X,Y,Z> []): 3,5 MB (2,05%) (38 objects, 912 bytes (0,00%))
System.Reflection.Emit.DynamicMethod.RTDynamicMethod System.Func<T,U>->System.Reflection.Emit.DynamicMethod.RTDynamicMethod->(System.Reflection.Emit.DynamicMethod): 1,9 MB (1,12%) (115 objects, 3,1 kB (0,00%))
System.Collections.Generic.Dictionary<T,U> Microsoft.Scripting.Debugging.CompilerServices.DebugContext->System.Collections.Generic.Dictionary<T,U>->(System.Int32 [],System.Object,System.OrdinalComparer): 125 MB (73,23%) (38 objects, 1,9 kB (0,00%))
IronPython.Runtime.FunctionCode IronPython.Runtime.PythonDebuggingPayload->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.PythonAst,IronPython.Compiler.LookupCompilationDelegate): 26 MB (15,18%) (491 objects, 25 kB (0,01%))
IronPython.Runtime.FunctionCode IronPython.Runtime.PythonDebuggingPayload->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.ClassDefinition,System.Func<T,U>): 14 MB (7,92%) (874 objects, 44 kB (0,03%))
IronPython.Runtime.FunctionCode IronPython.Runtime.PythonDebuggingPayload->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.FunctionDefinition,System.Func<T,U,V>): 6,1 MB (3,57%) (303 objects, 15 kB (0,01%))
System.Collections.Generic.Dictionary<T,U>.Entry [] System.Collections.Generic.Dictionary<T,U>->System.Collections.Generic.Dictionary<T,U>.Entry []->(System.Object): 4,3 MB (2,50%) (38 objects, 4,6 kB (0,00%))
IronPython.Runtime.FunctionCode IronPython.Runtime.PythonDebuggingPayload->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.ClassDefinition,System.Func<T,U>,System.Linq.Expressions.Expression<T>): 3,8 MB (2,22%) (263 objects, 13 kB (0,01%))
IronPython.Runtime.FunctionCode IronPython.Runtime.PythonDebuggingPayload->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.FunctionDefinition,System.Func<T,U,V,W>): 3,7 MB (2,16%) (266 objects, 14 kB (0,01%))
IronPython.Runtime.FunctionCode IronPython.Runtime.PythonDebuggingPayload->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.FunctionDefinition,System.Func<T,U,V,W>,System.Linq.Expressions.Expression<T>): 3,7 MB (2,15%) (76 objects, 3,9 kB (0,00%))
System.Func<T,U,V,W,X,Y,Z> System.Runtime.CompilerServices.CallSite<T>->System.Func<T,U,V,W,X,Y,Z>->(IronPython.Runtime.Types.PythonType.FastTypeSite<T,U,V>): 3,3 MB (1,90%) (38 objects, 1,2 kB (0,00%))
System.Linq.Expressions.Block4 System.Linq.Expressions.Block4->System.Linq.Expressions.Block4->(System.Linq.Expressions.AssignBinaryExpression,System.Linq.Expressions.Block2): 1,8 MB (1,07%) (2357 objects, 55 kB (0,03%))
System.Reflection.Emit.DynamicILGenerator System.Reflection.Emit.DynamicMethod->System.Reflection.Emit.DynamicILGenerator->(System.Byte [],System.Int32 [],System.Reflection.Emit.LineNumberInfo,...): 6,0 MB (3,52%) (2755 objects, 280 kB (0,16%))
IronPython.Runtime.PythonDictionary System.Collections.Generic.Dictionary<T,U>.Entry []->IronPython.Runtime.PythonDictionary->(IronPython.Runtime.CommonDictionaryStorage): 4,4 MB (2,56%) (76 objects, 912 bytes (0,00%))
IronPython.Compiler.Ast.ClassDefinition IronPython.Runtime.FunctionCode->IronPython.Compiler.Ast.ClassDefinition->(IronPython.Compiler.Ast.PythonAst,System.Collections.Generic.Dictionary<T,U>,System.Collections.Generic.List<T>,...): 4,3 MB (2,52%) (722 objects, 76 kB (0,04%))
System.Linq.Expressions.ScopeN System.Linq.Expressions.Block4->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 4,3 MB (2,51%) (6271 objects, 98 kB (0,06%))
IronPython.Runtime.Types.PythonType.FastTypeSite<T,U,V> System.Func<T,U,V,W,X,Y,Z>->IronPython.Runtime.Types.PythonType.FastTypeSite<T,U,V>->(System.Func<T,U,V,W,X,Y>): 3,2 MB (1,90%) (38 objects, 760 bytes (0,00%))
System.Func<T,U,V> IronPython.Runtime.FunctionCode->System.Func<T,U,V>->(System.Runtime.CompilerServices.Closure): 2,9 MB (1,70%) (151 objects, 4,7 kB (0,00%))
System.Func<T,U,V,W> IronPython.Runtime.FunctionCode->System.Func<T,U,V,W>->(System.Runtime.CompilerServices.Closure): 2,3 MB (1,36%) (84 objects, 2,6 kB (0,00%))
IronPython.Compiler.Ast.ClassDefinition IronPython.Runtime.FunctionCode->IronPython.Compiler.Ast.ClassDefinition->(IronPython.Compiler.Ast.PythonAst,System.Collections.Generic.Dictionary<T,U>,System.Collections.Generic.Dictionary<T,U>,...): 1,9 MB (1,10%) (378 objects, 40 kB (0,02%))
System.Reflection.Emit.DynamicScope System.Reflection.Emit.DynamicILGenerator->System.Reflection.Emit.DynamicScope->(System.Collections.Generic.List<T>): 19 MB (10,95%) (6719 objects, 79 kB (0,05%))
System.Linq.Expressions.ConditionalExpression System.Linq.Expressions.Block2->System.Linq.Expressions.ConditionalExpression->(System.Linq.Expressions.LogicalBinaryExpression): 12 MB (7,08%) (39339 objects, 615 kB (0,35%))
IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement IronPython.Compiler.Ast.ClassDefinition->IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement->(IronPython.Compiler.Ast.PythonAst,IronPython.Compiler.Ast.SuiteStatement): 5,8 MB (3,41%) (873 objects, 27 kB (0,02%))
IronPython.Compiler.Ast.PythonAst IronPython.Compiler.Ast.FunctionDefinition->IronPython.Compiler.Ast.PythonAst->(IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement,System.Collections.Generic.Dictionary<T,U>,System.Collections.Generic.Dictionary<T,U>,...): 4,0 MB (2,33%) (45 objects, 5,8 kB (0,00%))
System.Linq.Expressions.ConditionalExpression System.Linq.Expressions.Block3->System.Linq.Expressions.ConditionalExpression->(System.Linq.Expressions.TypedDynamicExpression1): 3,4 MB (1,97%) (5320 objects, 83 kB (0,05%))
System.Func<T,U,V,W,X,Y> IronPython.Runtime.Types.PythonType.FastTypeSite<T,U,V>->System.Func<T,U,V,W,X,Y>->(IronPython.Runtime.Types.PythonType.NewSite<T,U,V>): 2,5 MB (1,46%) (38 objects, 1,2 kB (0,00%))
IronPython.Runtime.CommonDictionaryStorage IronPython.Runtime.PythonDictionary->IronPython.Runtime.CommonDictionaryStorage->(IronPython.Runtime.CommonDictionaryStorage.Bucket [],System.Func<T,U,V>): 25 MB (14,38%) (114 objects, 4,0 kB (0,00%))
System.Collections.Generic.List<T> System.Reflection.Emit.DynamicScope->System.Collections.Generic.List<T>->(System.Object []): 19 MB (10,90%) (6719 objects, 157 kB (0,09%))
System.Linq.Expressions.ConditionalExpression System.Linq.Expressions.ConditionalExpression->System.Linq.Expressions.ConditionalExpression->(System.Linq.Expressions.LogicalBinaryExpression): 9,0 MB (5,28%) (38066 objects, 595 kB (0,34%))
IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement IronPython.Compiler.Ast.PythonAst->IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement->(IronPython.Compiler.Ast.PythonAst,System.String): 8,8 MB (5,17%) (417 objects, 13 kB (0,01%))
System.Linq.Expressions.ScopeN System.Linq.Expressions.BlockExpressionList->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 3,8 MB (2,22%) (1328 objects, 21 kB (0,01%))
IronPython.Compiler.Ast.SuiteStatement IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement->IronPython.Compiler.Ast.SuiteStatement->(IronPython.Compiler.Ast.ClassDefinition): 3,1 MB (1,81%) (1095 objects, 26 kB (0,01%))
IronPython.Runtime.Types.PythonType.NewSite<T,U,V> System.Func<T,U,V,W,X,Y>->IronPython.Runtime.Types.PythonType.NewSite<T,U,V>->(System.Runtime.CompilerServices.CallSite<T>): 2,5 MB (1,46%) (38 objects, 608 bytes (0,00%))
IronPython.Runtime.CommonDictionaryStorage.Bucket [] IronPython.Runtime.CommonDictionaryStorage->IronPython.Runtime.CommonDictionaryStorage.Bucket []->(System.String): 20 MB (11,98%) (153 objects, 79 kB (0,05%))
System.Object [] System.Collections.Generic.List<T>->System.Object []->(System.Reflection.Emit.DynamicMethod,System.Reflection.Emit.GenericFieldInfo,System.RuntimeTypeHandle,...): 15 MB (8,91%) (3055 objects, 4,8 MB (2,80%))
System.Linq.Expressions.ScopeN System.Linq.Expressions.ConditionalExpression->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 4,9 MB (2,84%) (6955 objects, 109 kB (0,06%))
IronPython.Runtime.CommonDictionaryStorage.Bucket [] IronPython.Runtime.CommonDictionaryStorage->IronPython.Runtime.CommonDictionaryStorage.Bucket []->(IronPython.Runtime.Types.PythonType): 4,2 MB (2,47%) (38 objects, 3,6 kB (0,00%))
System.Object [] System.Collections.Generic.List<T>->System.Object []->(System.Reflection.Emit.DynamicMethod,System.Reflection.Emit.GenericMethodInfo,System.RuntimeTypeHandle,...): 2,7 MB (1,57%) (2638 objects, 838 kB (0,48%))
IronPython.Runtime.PythonFunction IronPython.Runtime.Types.PythonType.NewSite<T,U,V>->IronPython.Runtime.PythonFunction->(IronPython.Runtime.CodeContext,System.String): 2,5 MB (1,45%) (38 objects, 1,8 kB (0,00%))
IronPython.Compiler.Ast.Statement [] IronPython.Compiler.Ast.SuiteStatement->IronPython.Compiler.Ast.Statement []->(IronPython.Compiler.Ast.AssignmentStatement,IronPython.Compiler.Ast.FunctionDefinition): 2,5 MB (1,45%) (304 objects, 15 kB (0,01%))
IronPython.Compiler.Ast.PythonAst IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement->IronPython.Compiler.Ast.PythonAst->(IronPython.Compiler.Ast.SuiteStatement,System.Collections.Generic.Dictionary<T,U>,System.Collections.Generic.Dictionary<T,U>,...): 2,4 MB (1,41%) (491 objects, 63 kB (0,04%))
IronPython.Runtime.PythonModule IronPython.Runtime.CommonDictionaryStorage.Bucket []->IronPython.Runtime.PythonModule->(IronPython.Runtime.PythonDictionary): 20 MB (11,89%) (637 objects, 10,0 kB (0,01%))
System.Reflection.Emit.GenericFieldInfo System.Object []->System.Reflection.Emit.GenericFieldInfo->(System.Reflection.RtFieldInfo): 5,8 MB (3,37%) (375888 objects, 5,7 MB (3,36%))
IronPython.Runtime.PythonFunction IronPython.Runtime.CommonDictionaryStorage.Bucket []->IronPython.Runtime.PythonFunction->(IronPython.Runtime.CodeContext,System.String): 4,8 MB (2,81%) (266 objects, 12 kB (0,01%))
IronPython.Runtime.FunctionCode IronPython.Runtime.PythonFunction->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.FunctionDefinition,System.Func<T,U,V,W,X,Y>): 3,5 MB (2,04%) (151 objects, 7,7 kB (0,00%))
System.Linq.Expressions.MethodCallExpression3 System.Linq.Expressions.Block2->System.Linq.Expressions.MethodCallExpression3->(System.Linq.Expressions.ConstantExpression,System.Reflection.RuntimeMethodInfo): 2,9 MB (1,69%) (32945 objects, 772 kB (0,44%))
System.RuntimeMethodHandle System.Object []->System.RuntimeMethodHandle->(System.Reflection.RuntimeMethodInfo): 2,0 MB (1,16%) (172704 objects, 2,0 MB (1,16%))
IronPython.Runtime.PythonDictionary IronPython.Runtime.PythonModule->IronPython.Runtime.PythonDictionary->(IronPython.Runtime.GlobalDictionaryStorage): 20 MB (11,66%) (410 objects, 4,8 kB (0,00%))
IronPython.Runtime.GlobalDictionaryStorage IronPython.Runtime.PythonDictionary->IronPython.Runtime.GlobalDictionaryStorage->(IronPython.Compiler.PythonGlobal,IronPython.Compiler.PythonGlobal [],IronPython.Runtime.CommonDictionaryStorage): 20 MB (11,77%) (380 objects, 13 kB (0,01%))
IronPython.Compiler.PythonGlobal [] IronPython.Runtime.GlobalDictionaryStorage->IronPython.Compiler.PythonGlobal []->(IronPython.Compiler.PythonGlobal): 19 MB (11,24%) (455 objects, 91 kB (0,05%))
IronPython.Compiler.PythonGlobal IronPython.Compiler.PythonGlobal []->IronPython.Compiler.PythonGlobal->(IronPython.Runtime.CodeContext,IronPython.Runtime.PythonFunction): 14 MB (8,02%) (3003 objects, 70 kB (0,04%))
IronPython.Compiler.PythonGlobal IronPython.Compiler.PythonGlobal []->IronPython.Compiler.PythonGlobal->(IronPython.NewTypes.IronPython.Runtime.Types.PythonType_3$3,IronPython.Runtime.CodeContext): 2,8 MB (1,67%) (608 objects, 14 kB (0,01%))
IronPython.Runtime.PythonFunction IronPython.Compiler.PythonGlobal->IronPython.Runtime.PythonFunction->(IronPython.Runtime.CodeContext,System.String): 14 MB (7,98%) (2545 objects, 119 kB (0,07%))
IronPython.Runtime.FunctionCode IronPython.Runtime.PythonFunction->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.FunctionDefinition,System.Func<T,U,V>): 11 MB (6,72%) (1697 objects, 86 kB (0,05%))
System.Collections.Generic.Dictionary<T,U> IronPython.NewTypes.IronPython.Runtime.Types.PythonType_3$3->System.Collections.Generic.Dictionary<T,U>->(System.Int32 [],System.OrdinalComparer): 1,9 MB (1,10%) (608 objects, 31 kB (0,02%))
System.Collections.Generic.List<T> IronPython.Runtime.WeakRefTracker->System.Collections.Generic.List<T>->(IronPython.Runtime.WeakRefTracker.CallbackInfo []): 7,8 MB (4,56%) (1874 objects, 44 kB (0,03%))
IronPython.Runtime.WeakRefTracker.CallbackInfo [] System.Collections.Generic.List<T>->IronPython.Runtime.WeakRefTracker.CallbackInfo []->(IronPython.Runtime.PythonFunction): 7,7 MB (4,51%) (46 objects, 12 kB (0,01%))
System.Collections.Generic.Dictionary<T,U>.Entry [] System.Collections.Generic.Dictionary<T,U>->System.Collections.Generic.Dictionary<T,U>.Entry []->(System.String): 134 MB (78,48%) (8389 objects, 1,8 MB (1,05%))
IronPython.Runtime.PythonFunction IronPython.Runtime.WeakRefTracker.CallbackInfo []->IronPython.Runtime.PythonFunction->(IronPython.Runtime.CodeContext,System.String): 7,7 MB (4,50%) (460 objects, 22 kB (0,01%))
Microsoft.Scripting.Debugging.DebugSourceFile System.Collections.Generic.Dictionary<T,U>.Entry []->Microsoft.Scripting.Debugging.DebugSourceFile->(System.String): 125 MB (73,19%) (485 objects, 9,5 kB (0,01%))
IronPython.Runtime.FunctionCode IronPython.Runtime.PythonFunction->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.FunctionDefinition,System.Func<T,U,V,W>): 11 MB (6,32%) (1367 objects, 69 kB (0,04%))
IronPython.Compiler.Ast.FunctionDefinition IronPython.Runtime.FunctionCode->IronPython.Compiler.Ast.FunctionDefinition->(IronPython.Compiler.Ast.FunctionDefinition,IronPython.Compiler.Ast.ScopeStatement.DelayedFunctionCode,System.Collections.Generic.Dictionary<T,U>,...): 6,6 MB (3,85%) (77 objects, 7,8 kB (0,00%))
IronPython.Compiler.Ast.FunctionDefinition IronPython.Compiler.Ast.FunctionDefinition->IronPython.Compiler.Ast.FunctionDefinition->(IronPython.Compiler.Ast.ClassDefinition,System.Collections.Generic.Dictionary<T,U>,System.Collections.Generic.Dictionary<T,U>,...): 6,2 MB (3,60%) (38 objects, 3,9 kB (0,00%))
IronPython.Compiler.Ast.ClassDefinition IronPython.Compiler.Ast.FunctionDefinition->IronPython.Compiler.Ast.ClassDefinition->(IronPython.Compiler.Ast.PythonAst,System.Collections.Generic.Dictionary<T,U>,System.Collections.Generic.Dictionary<T,U>,...): 5,6 MB (3,28%) (77 objects, 8,1 kB (0,00%))
System.Collections.Generic.Dictionary<T,U>.Entry [] System.Collections.Generic.Dictionary<T,U>->System.Collections.Generic.Dictionary<T,U>.Entry []->(System.RuntimeType): 4,8 MB (2,79%) (4114 objects, 314 kB (0,18%))
System.Linq.Expressions.Block2 System.Linq.Expressions.Scope1->System.Linq.Expressions.Block2->(System.Linq.Expressions.AssignBinaryExpression): 3,6 MB (2,12%) (3079 objects, 48 kB (0,03%))
IronPython.Runtime.FunctionCode IronPython.Compiler.Ast.ClassDefinition->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.ClassDefinition,System.Func<T,U>): 1,8 MB (1,08%) (37 objects, 1,9 kB (0,00%))
System.Linq.Expressions.Expression<T> IronPython.Runtime.FunctionCode->System.Linq.Expressions.Expression<T>->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>,System.String): 14 MB (8,10%) (2087 objects, 57 kB (0,03%))
System.Func<T,U> IronPython.Runtime.FunctionCode->System.Func<T,U>->(Microsoft.Scripting.Interpreter.LightLambda): 4,8 MB (2,80%) (1215 objects, 38 kB (0,02%))
System.Collections.Generic.Dictionary<T,U> IronPython.Compiler.Ast.PythonAst->System.Collections.Generic.Dictionary<T,U>->(System.Collections.Generic.ObjectEqualityComparer<T>,System.Int32 []): 3,3 MB (1,90%) (984 objects, 50 kB (0,03%))
System.Collections.Generic.Dictionary<T,U>.Entry [](1) System.Collections.Generic.Dictionary<T,U>->System.Collections.Generic.Dictionary<T,U>.Entry []->(System.String): 2,9 MB (1,68%) (11230 objects, 1,5 MB (0,87%))
System.Linq.Expressions.Scope1 System.Linq.Expressions.Expression<T>->System.Linq.Expressions.Scope1->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 28 MB (16,11%) (2522 objects, 39 kB (0,02%))
Microsoft.Scripting.Interpreter.LightLambda System.Func<T,U>->Microsoft.Scripting.Interpreter.LightLambda->(Microsoft.Scripting.Interpreter.Interpreter,System.EventHandler<T>): 4,7 MB (2,78%) (1215 objects, 38 kB (0,02%))
IronPython.Runtime.PythonFunction System.Collections.Generic.Dictionary<T,U>.Entry []->IronPython.Runtime.PythonFunction->(IronPython.Runtime.CodeContext,System.String): 1,7 MB (1,01%) (4949 objects, 232 kB (0,13%))
System.Runtime.CompilerServices.RuleCache<T> System.Collections.Generic.Dictionary<T,U>.Entry []->System.Runtime.CompilerServices.RuleCache<T>->(System.Func<T,U,V,W> []): 1,8 MB (1,05%) (3161 objects, 49 kB (0,03%))
System.Runtime.CompilerServices.Closure System.Func<T,U,V>->System.Runtime.CompilerServices.Closure->(System.Object []): 28 MB (16,32%) (1807 objects, 28 kB (0,02%))
Microsoft.Scripting.Interpreter.Instruction [] Microsoft.Scripting.Interpreter.Interpreter->Microsoft.Scripting.Interpreter.Instruction []->(Microsoft.Scripting.Interpreter.InitializeLocalInstruction.ImmutableBox,Microsoft.Scripting.Interpreter.InitializeLocalInstruction.ParameterBox,Microsoft.Scripting.Interpreter.InitializeLocalInstruction.Reference,...): 5,5 MB (3,23%) (719 objects, 3,8 MB (2,20%))
System.Reflection.Emit.DynamicMethod.RTDynamicMethod System.Func<T,U,V>->System.Reflection.Emit.DynamicMethod.RTDynamicMethod->(System.Reflection.Emit.DynamicMethod): 5,4 MB (3,16%) (1807 objects, 49 kB (0,03%))
Microsoft.Scripting.Interpreter.Instruction [] Microsoft.Scripting.Interpreter.Interpreter->Microsoft.Scripting.Interpreter.Instruction []->(Microsoft.Scripting.Interpreter.InitializeLocalInstruction.ImmutableValue,Microsoft.Scripting.Interpreter.InitializeLocalInstruction.ParameterBox,Microsoft.Scripting.Interpreter.InitializeLocalInstruction.Reference,...): 3,3 MB (1,94%) (1586 objects, 2,8 MB (1,62%))
System.Object [] System.Runtime.CompilerServices.Closure->System.Object []->(IronPython.Compiler.LazyCode<T>): 2,0 MB (1,15%) (114 objects, 2,2 kB (0,00%))
System.Runtime.CompilerServices.Closure System.Func<T,U,V,W>->System.Runtime.CompilerServices.Closure->(System.Object []): 22 MB (12,91%) (1438 objects, 22 kB (0,01%))
Microsoft.Scripting.Interpreter.LightDelegateCreator Microsoft.Scripting.Interpreter.LightLambda->Microsoft.Scripting.Interpreter.LightDelegateCreator->(Microsoft.Scripting.Interpreter.Interpreter,System.Object): 15 MB (8,76%) (4477 objects, 122 kB (0,07%))
Microsoft.Scripting.Interpreter.Interpreter Microsoft.Scripting.Interpreter.LightLambda->Microsoft.Scripting.Interpreter.Interpreter->(Microsoft.Scripting.Interpreter.ExceptionHandler [],Microsoft.Scripting.Interpreter.RuntimeLabel [],Microsoft.Scripting.Utils.HybridReferenceDictionary<T,U>,...): 12 MB (7,25%) (4349 objects, 289 kB (0,17%))
System.Linq.Expressions.Expression<T> Microsoft.Scripting.Interpreter.LightDelegateCreator->System.Linq.Expressions.Expression<T>->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>,System.String): 15 MB (8,66%) (2750 objects, 75 kB (0,04%))
IronPython.Compiler.LazyCode<T> System.Object []->IronPython.Compiler.LazyCode<T>->(System.Func<T,U>): 2,2 MB (1,29%) (152 objects, 3,6 kB (0,00%))
System.Collections.Generic.IList<T> [] Microsoft.Scripting.Debugging.FunctionInfo->System.Collections.Generic.IList<T> []->(System.Collections.Generic.List<T>): 3,4 MB (1,97%) (2638 objects, 182 kB (0,10%))
System.Func<T,U> IronPython.Compiler.LazyCode<T>->System.Func<T,U>->(System.Runtime.CompilerServices.Closure): 2,0 MB (1,15%) (114 objects, 3,6 kB (0,00%))
System.Runtime.CompilerServices.Closure System.Func<T,U,V,W,X>->System.Runtime.CompilerServices.Closure->(System.Object []): 3,8 MB (2,21%) (456 objects, 7,1 kB (0,00%))
System.Collections.Generic.List<T> System.Collections.Generic.IList<T> []->System.Collections.Generic.List<T>->(Microsoft.Scripting.Debugging.VariableInfo []): 3,2 MB (1,87%) (36100 objects, 846 kB (0,48%))
System.Object [] System.Runtime.CompilerServices.Closure->System.Object []->(System.Reflection.Emit.DynamicMethod): 53 MB (30,86%) (2638 objects, 62 kB (0,04%))
Microsoft.Scripting.Debugging.VariableInfo [] System.Collections.Generic.List<T>->Microsoft.Scripting.Debugging.VariableInfo []->(Microsoft.Scripting.Debugging.VariableInfo): 3,5 MB (2,06%) (38739 objects, 2,6 MB (1,50%))
System.Reflection.Emit.DynamicMethod System.Object []->System.Reflection.Emit.DynamicMethod->(System.Reflection.Emit.DynamicILGenerator,System.Reflection.Emit.DynamicMethod.RTDynamicMethod,System.RuntimeType []): 35 MB (20,44%) (2638 objects, 134 kB (0,08%))
System.Linq.Expressions.AssignBinaryExpression System.Linq.Expressions.BlockExpressionList->System.Linq.Expressions.AssignBinaryExpression->(System.Linq.Expressions.ParameterExpression): 15 MB (9,04%) (7852 objects, 123 kB (0,07%))
System.Object [] System.Object []->System.Object []->(IronPython.Runtime.FunctionCode,System.Runtime.CompilerServices.CallSite<T>,System.String []): 6,2 MB (3,64%) (324 objects, 26 kB (0,01%))
System.Linq.Expressions.AssignBinaryExpression System.Linq.Expressions.BlockExpressionList->System.Linq.Expressions.AssignBinaryExpression->(System.Linq.Expressions.TypedParameterExpression): 5,8 MB (3,38%) (3657 objects, 57 kB (0,03%))
System.Object [] System.Object []->System.Object []->(IronPython.Runtime.FunctionCode,Microsoft.Scripting.Debugging.CompilerServices.DebugContext,System.Object,...): 3,8 MB (2,20%) (190 objects, 40 kB (0,02%))
System.Object [] System.Object []->System.Object []->(IronPython.Runtime.FunctionCode,System.String []): 2,8 MB (1,65%) (342 objects, 26 kB (0,02%))
System.Object [] System.Object []->System.Object []->(IronPython.Runtime.FunctionCode,Microsoft.Scripting.Debugging.CompilerServices.DebugContext,System.String [],...): 2,5 MB (1,47%) (380 objects, 19 kB (0,01%))
System.Reflection.Emit.DynamicILGenerator System.Reflection.Emit.DynamicMethod->System.Reflection.Emit.DynamicILGenerator->(System.Byte [],System.Int32 [],System.Reflection.Emit.__FixupData [],...): 42 MB (24,72%) (3964 objects, 403 kB (0,23%))
System.Linq.Expressions.LabelExpression System.Linq.Expressions.AssignBinaryExpression->System.Linq.Expressions.LabelExpression->(System.Linq.Expressions.ScopeN): 11 MB (6,65%) (492 objects, 7,7 kB (0,00%))
System.Linq.Expressions.Scope1 System.Linq.Expressions.AssignBinaryExpression->System.Linq.Expressions.Scope1->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 8,8 MB (5,13%) (1842 objects, 29 kB (0,02%))
System.Linq.Expressions.Block2 System.Linq.Expressions.ConditionalExpression->System.Linq.Expressions.Block2->(System.Collections.ObjectModel.ReadOnlyCollection<T>): 5,8 MB (3,38%) (39960 objects, 624 kB (0,36%))
IronPython.Runtime.FunctionCode System.Object []->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.FunctionDefinition,System.Func<T,U,V,W>): 5,7 MB (3,37%) (2396 objects, 122 kB (0,07%))
IronPython.Runtime.FunctionCode System.Object []->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.FunctionDefinition,System.Func<T,U,V>): 4,9 MB (2,87%) (2252 objects, 114 kB (0,07%))
IronPython.Runtime.FunctionCode System.Object []->IronPython.Runtime.FunctionCode->(IronPython.Compiler.Ast.FunctionDefinition,System.Func<T,U,V,W,X>): 4,7 MB (2,73%) (1257 objects, 64 kB (0,04%))
IronPython.Compiler.Ast.FunctionDefinition IronPython.Runtime.FunctionCode->IronPython.Compiler.Ast.FunctionDefinition->(IronPython.Compiler.Ast.PythonAst,System.Collections.Generic.Dictionary<T,U>,System.Collections.Generic.Dictionary<T,U>,...): 20 MB (11,94%) (3078 objects, 313 kB (0,18%))
System.Linq.Expressions.ScopeN System.Linq.Expressions.LabelExpression->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 14 MB (7,94%) (910 objects, 14 kB (0,01%))
IronPython.Compiler.Ast.FunctionDefinition IronPython.Runtime.FunctionCode->IronPython.Compiler.Ast.FunctionDefinition->(IronPython.Compiler.Ast.ClassDefinition,System.Collections.Generic.Dictionary<T,U>,System.Collections.Generic.Dictionary<T,U>,...): 13 MB (7,36%) (4141 objects, 421 kB (0,24%))
IronPython.Compiler.Ast.FunctionDefinition IronPython.Runtime.FunctionCode->IronPython.Compiler.Ast.FunctionDefinition->(IronPython.Compiler.Ast.ClassDefinition,IronPython.Compiler.Ast.ScopeStatement.DelayedFunctionCode,System.Collections.Generic.Dictionary<T,U>,...): 3,8 MB (2,21%) (2809 objects, 285 kB (0,16%))
IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement IronPython.Compiler.Ast.FunctionDefinition->IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement->(IronPython.Compiler.Ast.PythonAst,IronPython.Compiler.Ast.SuiteStatement): 15 MB (8,82%) (7257 objects, 227 kB (0,13%))
IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement IronPython.Compiler.Ast.FunctionDefinition->IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement->(IronPython.Compiler.Ast.PythonAst,System.String): 12 MB (7,10%) (2848 objects, 89 kB (0,05%))
System.Reflection.Emit.DynamicMethod.RTDynamicMethod System.Func<T,U,V,W>->System.Reflection.Emit.DynamicMethod.RTDynamicMethod->(System.Reflection.Emit.DynamicMethod): 6,5 MB (3,79%) (1438 objects, 39 kB (0,02%))
System.Linq.Expressions.ScopeN IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 24 MB (14,03%) (11583 objects, 181 kB (0,10%))
System.Reflection.Emit.DynamicMethod System.Reflection.Emit.DynamicMethod.RTDynamicMethod->System.Reflection.Emit.DynamicMethod->(System.Reflection.Emit.InternalModuleBuilder,System.RuntimeType,System.RuntimeType [],...): 16 MB (9,55%) (4080 objects, 207 kB (0,12%))
IronPython.Compiler.Ast.SuiteStatement IronPython.Compiler.Ast.PythonAst.RewrittenBodyStatement->IronPython.Compiler.Ast.SuiteStatement->(IronPython.Compiler.Ast.FunctionDefinition): 11 MB (6,45%) (8962 objects, 210 kB (0,12%))
System.Linq.Expressions.Expression [] System.Linq.Expressions.ScopeN->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression,System.Linq.Expressions.Block3,System.Linq.Expressions.ScopeN): 3,0 MB (1,77%) (76 objects, 23 kB (0,01%))
System.Linq.Expressions.Expression [] System.Linq.Expressions.ScopeN->System.Linq.Expressions.Expression []->(System.Linq.Expressions.Block3,System.Linq.Expressions.ScopeN): 2,9 MB (1,68%) (571 objects, 33 kB (0,02%))
System.Linq.Expressions.TryExpression System.Linq.Expressions.Scope1->System.Linq.Expressions.TryExpression->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>,System.RuntimeType): 2,0 MB (1,15%) (2143 objects, 59 kB (0,03%))
System.Linq.Expressions.TryExpression System.Linq.Expressions.TryExpression->System.Linq.Expressions.TryExpression->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>,System.RuntimeType): 25 MB (14,59%) (2828 objects, 77 kB (0,04%))
System.Runtime.CompilerServices.TrueReadOnlyCollection<T>(2) System.Linq.Expressions.ScopeN->System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->(System.Linq.Expressions.Expression []): 19 MB (10,86%) (10207 objects, 159 kB (0,09%))
System.Linq.Expressions.BlockN System.Linq.Expressions.TryExpression->System.Linq.Expressions.BlockN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 23 MB (13,29%) (2469 objects, 29 kB (0,02%))
System.Collections.ObjectModel.ReadOnlyCollection<T>(2) System.Linq.Expressions.Scope1->System.Collections.ObjectModel.ReadOnlyCollection<T>->(System.Linq.Expressions.BlockExpressionList): 21 MB (12,40%) (5014 objects, 78 kB (0,04%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.Scope1): 15 MB (8,69%) (1290 objects, 30 kB (0,02%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression,System.Linq.Expressions.MethodCallExpression2,System.Linq.Expressions.MethodCallExpression3): 11 MB (6,26%) (492 objects, 19 kB (0,01%))
System.Linq.Expressions.BlockExpressionList(2) System.Collections.ObjectModel.ReadOnlyCollection<T>->System.Linq.Expressions.BlockExpressionList->(System.Linq.Expressions.Scope1): 21 MB (12,36%) (5014 objects, 78 kB (0,04%))
Microsoft.Scripting.Ast.LightCheckAndThrowExpression System.Linq.Expressions.Expression []->Microsoft.Scripting.Ast.LightCheckAndThrowExpression->(Microsoft.Scripting.Ast.LightExceptionConvertingExpression): 6,5 MB (3,81%) (2814 objects, 33 kB (0,02%))
System.Linq.Expressions.LogicalBinaryExpression System.Linq.Expressions.ConditionalExpression->System.Linq.Expressions.LogicalBinaryExpression->(System.Linq.Expressions.LogicalBinaryExpression): 3,9 MB (2,31%) (37952 objects, 741 kB (0,42%))
System.Linq.Expressions.TryExpression(1) System.Linq.Expressions.BlockExpressionList->System.Linq.Expressions.TryExpression->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>,System.RuntimeType): 20 MB (11,79%) (2431 objects, 66 kB (0,04%))
Microsoft.Scripting.Ast.LightExceptionConvertingExpression Microsoft.Scripting.Ast.LightCheckAndThrowExpression->Microsoft.Scripting.Ast.LightExceptionConvertingExpression->(System.Linq.Expressions.TryExpression): 7,2 MB (4,21%) (3231 objects, 50 kB (0,03%))
System.Linq.Expressions.LogicalBinaryExpression System.Linq.Expressions.LogicalBinaryExpression->System.Linq.Expressions.LogicalBinaryExpression->(System.Linq.Expressions.PropertyExpression): 2,1 MB (1,26%) (38028 objects, 743 kB (0,42%))
System.Collections.ObjectModel.ReadOnlyCollection<T> System.Linq.Expressions.Scope1->System.Collections.ObjectModel.ReadOnlyCollection<T>->(System.Linq.Expressions.BlockExpressionList): 27 MB (15,71%) (4368 objects, 68 kB (0,04%))
System.Collections.ObjectModel.ReadOnlyCollection<T>(1) System.Linq.Expressions.Scope1->System.Collections.ObjectModel.ReadOnlyCollection<T>->(System.Linq.Expressions.BlockExpressionList): 26 MB (15,34%) (2811 objects, 44 kB (0,03%))
System.Runtime.CompilerServices.TrueReadOnlyCollection<T> System.Linq.Expressions.TryExpression->System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->(System.Linq.Expressions.CatchBlock []): 8,9 MB (5,21%) (13497 objects, 211 kB (0,12%))
IronPython.Compiler.Ast.Statement [] IronPython.Compiler.Ast.SuiteStatement->IronPython.Compiler.Ast.Statement []->(IronPython.Compiler.Ast.IfStatement): 3,0 MB (1,76%) (2546 objects, 56 kB (0,03%))
System.Linq.Expressions.BlockExpressionList(1) System.Collections.ObjectModel.ReadOnlyCollection<T>->System.Linq.Expressions.BlockExpressionList->(System.Linq.Expressions.Scope1): 26 MB (15,32%) (2811 objects, 44 kB (0,03%))
System.Linq.Expressions.ScopeN System.Linq.Expressions.TryExpression->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 20 MB (11,58%) (3284 objects, 51 kB (0,03%))
System.Linq.Expressions.TryExpression System.Linq.Expressions.BlockExpressionList->System.Linq.Expressions.TryExpression->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>,System.RuntimeType): 26 MB (15,26%) (2469 objects, 68 kB (0,04%))
IronPython.Compiler.Ast.IfStatementTest [] IronPython.Compiler.Ast.IfStatement->IronPython.Compiler.Ast.IfStatementTest []->(IronPython.Compiler.Ast.IfStatementTest): 5,3 MB (3,10%) (7486 objects, 150 kB (0,09%))
IronPython.Compiler.Ast.IfStatementTest IronPython.Compiler.Ast.IfStatementTest []->IronPython.Compiler.Ast.IfStatementTest->(IronPython.Compiler.Ast.PythonAst,IronPython.Compiler.Ast.SuiteStatement): 5,1 MB (2,98%) (8284 objects, 259 kB (0,15%))
IronPython.Compiler.Ast.SuiteStatement IronPython.Compiler.Ast.IfStatementTest->IronPython.Compiler.Ast.SuiteStatement->(IronPython.Compiler.Ast.FunctionDefinition): 3,1 MB (1,83%) (8018 objects, 188 kB (0,11%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.Block3): 3,0 MB (1,75%) (2961 objects, 96 kB (0,05%))
IronPython.Compiler.Ast.Statement [] IronPython.Compiler.Ast.SuiteStatement->IronPython.Compiler.Ast.Statement []->(IronPython.Compiler.Ast.AssignmentStatement): 2,6 MB (1,53%) (5281 objects, 112 kB (0,06%))
System.Collections.ObjectModel.ReadOnlyCollection<T> System.Linq.Expressions.Block3->System.Collections.ObjectModel.ReadOnlyCollection<T>->(System.Linq.Expressions.BlockExpressionList): 24 MB (13,83%) (39219 objects, 613 kB (0,35%))
System.Linq.Expressions.Block2 System.Linq.Expressions.Block3->System.Linq.Expressions.Block2->(System.Collections.ObjectModel.ReadOnlyCollection<T>): 4,2 MB (2,45%) (21367 objects, 334 kB (0,19%))
IronPython.Compiler.Ast.IfStatement IronPython.Compiler.Ast.Statement []->IronPython.Compiler.Ast.IfStatement->(IronPython.Compiler.Ast.FunctionDefinition): 3,3 MB (1,91%) (5738 objects, 157 kB (0,09%))
IronPython.Compiler.Ast.IfStatement IronPython.Compiler.Ast.Statement []->IronPython.Compiler.Ast.IfStatement->(IronPython.Compiler.Ast.FunctionDefinition,IronPython.Compiler.Ast.SuiteStatement): 2,6 MB (1,55%) (1406 objects, 38 kB (0,02%))
IronPython.Compiler.Ast.ReturnStatement IronPython.Compiler.Ast.Statement []->IronPython.Compiler.Ast.ReturnStatement->(IronPython.Compiler.Ast.FunctionDefinition): 2,2 MB (1,31%) (10029 objects, 235 kB (0,13%))
System.Linq.Expressions.FullConditionalExpression System.Linq.Expressions.Block3->System.Linq.Expressions.FullConditionalExpression->(System.Linq.Expressions.Block3,System.Linq.Expressions.TypedDynamicExpression1): 1,9 MB (1,10%) (418 objects, 8,2 kB (0,00%))
System.Collections.ObjectModel.ReadOnlyCollection<T> System.Linq.Expressions.MethodCallExpression3->System.Collections.ObjectModel.ReadOnlyCollection<T>->(System.Linq.Expressions.ListArgumentProvider): 1,8 MB (1,08%) (60148 objects, 940 kB (0,54%))
System.Linq.Expressions.BlockExpressionList System.Collections.ObjectModel.ReadOnlyCollection<T>->System.Linq.Expressions.BlockExpressionList->(System.Linq.Expressions.Block3): 23 MB (13,48%) (39219 objects, 613 kB (0,35%))
System.Collections.ObjectModel.ReadOnlyCollection<T> System.Linq.Expressions.Block2->System.Collections.ObjectModel.ReadOnlyCollection<T>->(System.Linq.Expressions.BlockExpressionList): 9,1 MB (5,35%) (95872 objects, 1,5 MB (0,86%))
System.Linq.Expressions.Block3 System.Linq.Expressions.FullConditionalExpression->System.Linq.Expressions.Block3->(System.Linq.Expressions.ClearDebugInfoExpression,System.Linq.Expressions.SpanDebugInfoExpression): 3,4 MB (2,01%) (2964 objects, 58 kB (0,03%))
System.Linq.Expressions.FullConditionalExpression System.Linq.Expressions.Block3->System.Linq.Expressions.FullConditionalExpression->(System.Linq.Expressions.ScopeN,System.Linq.Expressions.TypedDynamicExpression1): 2,0 MB (1,19%) (1444 objects, 28 kB (0,02%))
IronPython.Compiler.Ast.Statement [] IronPython.Compiler.Ast.SuiteStatement->IronPython.Compiler.Ast.Statement []->(IronPython.Compiler.Ast.ExpressionStatement): 1,8 MB (1,05%) (5660 objects, 118 kB (0,07%))
System.Linq.Expressions.ScopeN System.Linq.Expressions.FullConditionalExpression->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 7,5 MB (4,40%) (10039 objects, 157 kB (0,09%))
System.Runtime.CompilerServices.TrueReadOnlyCollection<T>(4) System.Linq.Expressions.ScopeN->System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->(System.Linq.Expressions.Expression []): 13 MB (7,74%) (13394 objects, 209 kB (0,12%))
System.Linq.Expressions.Expression [] System.Linq.Expressions.ScopeN->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression,System.Linq.Expressions.Block3): 2,1 MB (1,24%) (1976 objects, 73 kB (0,04%))
System.Linq.Expressions.Expression [](2) System.Linq.Expressions.ScopeN->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression): 1,9 MB (1,10%) (3118 objects, 83 kB (0,05%))
System.Linq.Expressions.Block3 System.Linq.Expressions.Expression []->System.Linq.Expressions.Block3->(System.Linq.Expressions.ClearDebugInfoExpression,System.Linq.Expressions.SpanDebugInfoExpression): 11 MB (6,57%) (27203 objects, 531 kB (0,30%))
System.Linq.Expressions.FullConditionalExpression System.Linq.Expressions.Expression []->System.Linq.Expressions.FullConditionalExpression->(System.Linq.Expressions.Block2,System.Linq.Expressions.LogicalBinaryExpression): 2,3 MB (1,36%) (2433 objects, 48 kB (0,03%))
System.Linq.Expressions.Expression [](1) System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.ScopeN): 2,1 MB (1,21%) (914 objects, 23 kB (0,01%))
System.Runtime.CompilerServices.TrueReadOnlyCollection<T>(1) System.Linq.Expressions.ScopeN->System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->(System.Linq.Expressions.Expression []): 20 MB (11,94%) (7226 objects, 113 kB (0,06%))
IronPython.Compiler.Ast.Arg [] IronPython.Compiler.Ast.CallExpression->IronPython.Compiler.Ast.Arg []->(IronPython.Compiler.Ast.Arg): 3,6 MB (2,14%) (19561 objects, 418 kB (0,24%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression,System.Linq.Expressions.ScopeN): 11 MB (6,37%) (1447 objects, 110 kB (0,06%))
System.Runtime.CompilerServices.TrueReadOnlyCollection<T>(5) System.Linq.Expressions.ScopeN->System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->(System.Linq.Expressions.Expression []): 6,5 MB (3,83%) (11646 objects, 182 kB (0,10%))
IronPython.Compiler.Ast.Arg IronPython.Compiler.Ast.Arg []->IronPython.Compiler.Ast.Arg->(IronPython.Compiler.Ast.PythonAst): 3,2 MB (1,85%) (27830 objects, 761 kB (0,44%))
System.Linq.Expressions.Block3(1) System.Linq.Expressions.Expression []->System.Linq.Expressions.Block3->(System.Linq.Expressions.ClearDebugInfoExpression,System.Linq.Expressions.SpanDebugInfoExpression): 2,8 MB (1,62%) (11590 objects, 226 kB (0,13%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression,System.Linq.Expressions.Block3): 2,2 MB (1,30%) (760 objects, 57 kB (0,03%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression): 15 MB (8,91%) (15650 objects, 460 kB (0,26%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.ScopeN): 9,6 MB (5,63%) (3535 objects, 117 kB (0,07%))
System.Linq.Expressions.Expression [](1) System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression): 3,6 MB (2,11%) (2132 objects, 65 kB (0,04%))
System.Linq.Expressions.Block2 System.Linq.Expressions.Expression []->System.Linq.Expressions.Block2->(System.Collections.ObjectModel.ReadOnlyCollection<T>): 12 MB (6,81%) (30011 objects, 469 kB (0,27%))
System.Linq.Expressions.Block2 System.Linq.Expressions.Expression []->System.Linq.Expressions.Block2->(System.Linq.Expressions.AssignBinaryExpression): 2,4 MB (1,40%) (10743 objects, 168 kB (0,10%))
System.Linq.Expressions.LabelExpression System.Linq.Expressions.Expression []->System.Linq.Expressions.LabelExpression->(System.Linq.Expressions.ScopeN): 2,2 MB (1,30%) (418 objects, 6,5 kB (0,00%))
System.Linq.Expressions.FullConditionalExpression System.Linq.Expressions.Expression []->System.Linq.Expressions.FullConditionalExpression->(System.Linq.Expressions.ScopeN,System.Linq.Expressions.TypedDynamicExpression1): 2,0 MB (1,18%) (190 objects, 3,7 kB (0,00%))
System.Linq.Expressions.Expression [](1) System.Linq.Expressions.ScopeN->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression): 5,5 MB (3,19%) (8743 objects, 227 kB (0,13%))
System.Collections.Generic.Dictionary<T,U> IronPython.Compiler.Ast.FunctionDefinition->System.Collections.Generic.Dictionary<T,U>->(System.Int32 [],System.OrdinalComparer): 2,9 MB (1,70%) (11244 objects, 571 kB (0,33%))
System.Collections.Generic.Dictionary<T,U> IronPython.Compiler.Ast.FunctionDefinition->System.Collections.Generic.Dictionary<T,U>->(System.Collections.Generic.ObjectEqualityComparer<T>,System.Int32 []): 2,1 MB (1,25%) (11206 objects, 569 kB (0,33%))
System.Linq.Expressions.Scope1(1) System.Linq.Expressions.Expression []->System.Linq.Expressions.Scope1->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 13 MB (7,32%) (1062 objects, 17 kB (0,01%))
System.Linq.Expressions.Block3 System.Linq.Expressions.Expression []->System.Linq.Expressions.Block3->(System.Collections.ObjectModel.ReadOnlyCollection<T>,System.Linq.Expressions.ClearDebugInfoExpression): 8,1 MB (4,74%) (26267 objects, 513 kB (0,29%))
System.Collections.Generic.Dictionary<T,U>.Entry [] System.Collections.Generic.Dictionary<T,U>->System.Collections.Generic.Dictionary<T,U>.Entry []->(IronPython.Compiler.Ast.PythonVariable): 4,8 MB (2,80%) (13367 objects, 2,2 MB (1,26%))
System.Linq.Expressions.Expression [](1) System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.Block2,System.Linq.Expressions.DefaultExpression): 3,2 MB (1,87%) (5013 objects, 137 kB (0,08%))
System.Linq.Expressions.Expression [] System.Linq.Expressions.ScopeN->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression): 14 MB (8,44%) (13074 objects, 384 kB (0,22%))
System.Linq.Expressions.ScopeN(1) System.Linq.Expressions.Expression []->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 19 MB (11,04%) (23475 objects, 367 kB (0,21%))
System.Linq.Expressions.Expression [] System.Linq.Expressions.ScopeN->System.Linq.Expressions.Expression []->(Microsoft.Scripting.Ast.LightCheckAndThrowExpression): 4,0 MB (2,36%) (2054 objects, 48 kB (0,03%))
System.Linq.Expressions.ScopeN(2) System.Linq.Expressions.Expression []->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 8,1 MB (4,73%) (23361 objects, 365 kB (0,21%))
System.Runtime.CompilerServices.TrueReadOnlyCollection<T> System.Linq.Expressions.ScopeN->System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->(System.Linq.Expressions.Expression []): 29 MB (16,89%) (18648 objects, 291 kB (0,17%))
System.Runtime.CompilerServices.TrueReadOnlyCollection<T>(3) System.Linq.Expressions.ScopeN->System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->(System.Linq.Expressions.Expression []): 14 MB (8,23%) (10623 objects, 166 kB (0,09%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.Block2,System.Linq.Expressions.DefaultExpression): 15 MB (8,97%) (24617 objects, 675 kB (0,39%))
System.Linq.Expressions.Expression [] System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->System.Linq.Expressions.Expression []->(System.Linq.Expressions.AssignBinaryExpression,System.Linq.Expressions.ScopeN,System.Linq.Expressions.TypedParameterExpression): 4,9 MB (2,88%) (1181 objects, 42 kB (0,02%))
System.Linq.Expressions.ScopeN System.Linq.Expressions.Expression []->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 26 MB (15,17%) (8067 objects, 126 kB (0,07%))
System.Linq.Expressions.AssignBinaryExpression System.Linq.Expressions.Expression []->System.Linq.Expressions.AssignBinaryExpression->(System.Linq.Expressions.PrimitiveParameterExpression<T>): 2,0 MB (1,17%) (62846 objects, 982 kB (0,56%))
System.Linq.Expressions.LogicalBinaryExpression System.Linq.Expressions.ConditionalExpression->System.Linq.Expressions.LogicalBinaryExpression->(System.Linq.Expressions.PropertyExpression): 2,2 MB (1,31%) (44214 objects, 864 kB (0,49%))
System.Linq.Expressions.ScopeN(4) System.Linq.Expressions.Expression []->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 2,1 MB (1,22%) (5778 objects, 90 kB (0,05%))
System.Linq.Expressions.Scope1 System.Linq.Expressions.Expression []->System.Linq.Expressions.Scope1->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 18 MB (10,78%) (5305 objects, 83 kB (0,05%))
System.Runtime.CompilerServices.TrueReadOnlyCollection<T>(6) System.Linq.Expressions.ScopeN->System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->(System.Linq.Expressions.Expression []): 4,8 MB (2,81%) (6683 objects, 104 kB (0,06%))
System.Linq.Expressions.ScopeN(3) System.Linq.Expressions.Expression []->System.Linq.Expressions.ScopeN->(System.Runtime.CompilerServices.TrueReadOnlyCollection<T>): 4,4 MB (2,55%) (8969 objects, 140 kB (0,08%))
System.Linq.Expressions.Expression [] System.Linq.Expressions.ScopeN->System.Linq.Expressions.Expression []->(System.Linq.Expressions.Block2,System.Linq.Expressions.DefaultExpression): 2,6 MB (1,51%) (4090 objects, 112 kB (0,06%))
System.Runtime.CompilerServices.TrueReadOnlyCollection<T>(7) System.Linq.Expressions.ScopeN->System.Runtime.CompilerServices.TrueReadOnlyCollection<T>->(System.Linq.Expressions.Expression []): 2,0 MB (1,18%) (5360 objects, 84 kB (0,05%))
System.Byte [] System.Reflection.Emit.DynamicILGenerator->System.Byte []: 12 MB (7,24%) (6719 objects, 12 MB (7,24%))
System.Reflection.Emit.__FixupData [] System.Reflection.Emit.DynamicILGenerator->System.Reflection.Emit.__FixupData []: 8,8 MB (5,18%) (3964 objects, 8,8 MB (5,18%))
System.Int32 [] System.Reflection.Emit.DynamicILGenerator->System.Int32 []: 4,9 MB (2,85%) (17402 objects, 4,9 MB (2,85%))
System.RuntimeTypeHandle System.Object []->System.RuntimeTypeHandle->(System.RuntimeType): 3,4 MB (1,97%) (293412 objects, 3,4 MB (1,97%))
System.Int32 [] System.Collections.Generic.Dictionary<T,U>->System.Int32 []: 2,0 MB (1,20%) (39372 objects, 2,0 MB (1,20%))
System.Byte [] System.Reflection.Emit.DynamicResolver->System.Byte []: 1,9 MB (1,13%) (8162 objects, 1,9 MB (1,13%))

using System.Threading;
namespace IronPythonLeakTest
{
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using IronPython.Hosting;
using IronPython.Runtime;
using IronPython.Runtime.Exceptions;
using IronPython.Runtime.Types;
using Microsoft.Scripting;
using Microsoft.Scripting.Hosting;
using System.Windows.Forms;
public static class ScriptExecutor
{
public static bool import_os = true;
public static bool import_warnings = true;
public static bool set_trace = true;
private const string LIB_PATH = @"C:\Program Files (x86)\IronPython 2.7.1\Lib";
private static readonly Dictionary<string, object> DEFAULT_EXECUTION_OPTIONS =
new Dictionary<string, object> { { "LightweightScopes", true } };
private static int TraceCount;
private static void Main()
{
long afterFirst = 0;
long beforeStart = 0;
try
{
beforeStart = GC.GetTotalMemory(true);
Execute(0);
afterFirst = GC.GetTotalMemory(true);
for (int i = 1; i < 1000; i += 1)
{
Execute(i);
}
}
finally
{
for (int i = 0; i < 5; i += 1)
{
Application.DoEvents();
GC.Collect();
Thread.Sleep(1000);
GC.WaitForPendingFinalizers();
}
long afterLast = GC.GetTotalMemory(true);
Console.WriteLine("Script Finished");
Console.WriteLine("First run: {0}Mb, 1000 runs: {1}Mb", (afterFirst - beforeStart) / (1024 * 1024), (afterLast - beforeStart) / (1024 * 1024));
Console.ReadLine();
}
}
private static void Execute(int i)
{
DateTime start = DateTime.Now;
string src = "from __future__ import print_function \n";
if (import_os) src += "import os \n";
src += string.Format("print('hallo: ', {0}) \n", i);
ScriptEngine engine = Python.CreateEngine(DEFAULT_EXECUTION_OPTIONS);
ScriptRuntime runtime = engine.Runtime;
ScriptScope mainScope = engine.CreateScope();
runtime.LoadAssembly(typeof(IronPython.Modules.PythonNT).Assembly);
ScriptSource scriptSource = engine.CreateScriptSourceFromString(src, "TestScript", SourceCodeKind.AutoDetect);
scriptSource.Compile(new global::IronPythonLeakTest.ErrorListenerImpl());
ScriptSource source = scriptSource;
// Set the search pathes.
engine.SetSearchPaths(new[] { LIB_PATH });
if (set_trace)
{
engine.SetTrace(TraceBackHandler);
}
if (import_warnings)
{
var warningModule = engine.ImportModule("warnings");
warningModule.SetVariable("showwarning", new ShowWarning(ShowWarning));
}
source.Execute(mainScope);
Console.WriteLine("{0}: {1} - {2}", i, ScriptExecutor.TraceCount, (DateTime.Now - start).Milliseconds);
}
private static void ShowWarning(CodeContext context, object message, PythonType category, string filename, int lineno, object file, string line)
{
Console.WriteLine(message ?? "");
}
private static TracebackDelegate TraceBackHandler(TraceBackFrame stackFrame, string stEvent, object payload)
{
TraceCount += 1;
return TraceBackHandler;
}
}
public delegate void ShowWarning(
CodeContext context, object message, PythonType category, string filename, int lineno,
[DefaultParameterValue(null)] object file, [DefaultParameterValue(null)] string line);
class ErrorListenerImpl : ErrorListener
{
public override void ErrorReported(ScriptSource source, string stMessage, Microsoft.Scripting.SourceSpan span, int errorCode, Microsoft.Scripting.Severity severity)
{
Console.WriteLine(stMessage);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment