Closed spouliot closed 5 years ago
@baulig can you provide any insight you might have?
I haven't looked into this in detail yet, but what you're doing is very inefficient, so it's not too surprising that you see poor performance.
A quick curl -I
on that URL reveals that it's 925 MB in size:
$ curl -I http://cdimage.ubuntu.com/releases/18.04.2/release/ubuntu-18.04.2-server-amd64.iso
HTTP/1.1 200 OK
Date: Tue, 09 Jul 2019 19:17:43 GMT
Server: Apache/2.4.18 (Ubuntu)
Last-Modified: Sun, 10 Feb 2019 00:19:44 GMT
ETag: "37300000-5817f262ea8b9"
Accept-Ranges: bytes
Content-Length: 925892608
Content-Type: application/x-iso9660-image
This means that you're doing 226k read operation - that's a quarter of a million! If I counted correctly, then each reads allocates four objects plus two tasks and I'm not sure how many allocations the async task helpers make. So it's probably safe to assume that your loop is hitting the garbage collector with about two million allocations. Yeah, that's going to cost some CPU power ....
This code was written long before ValueTask<T>
, so those allocations were unavoidable. Those allocations are for cancellations and async stuff - so it's not some kind of a buffer that could easily be reused.
All I can recommend you at the moment is to make your read buffer a lot larger, so you'll be doing fewer reads.
Deep diving into the code, there is one instance of WebCompletionSource
(containing a TaskCompletionSource<Result>
and a Result
field) in WebResponseStream.ReadAsync()
. This then calls the async ProcessRead()
, which in turn calls HttpWebRequest.RunWithTimeout()
where we allocate one CancellationTokenSource
, call another async function before await
-ing the async ServicePointScheduler.WaitAsync ()
.
ServicePointScheduler.WaitAsync()
a helper method which in turn also allocates one CancellationTokenSource
, does a Task.Delay (millisecondTimeout, cts.Token)
and await Task.WhenAny (workerTask, timeoutTask).ConfigureAwait (false)
.
As you can see, there are a lot of those async methods involved and I probably miscounted the number of allocations in my last comment. And this still does not account for the actual read operation on the network stream.
In general, I do not apply the "won't fix" label lightly (and @steveisok please feel free to override my decision on that), but I don't think there is anything we can actually do about this apart from rewriting a very complex piece of code - with all the risks that come with such an endeavor.
However, may I ask you why you're using such a small buffer to read a large ISO file? Maybe there's something we can help you with to make your code more efficient. You could for instance experiment with larger buffer sizes to see whether that makes a difference.
Hello, actually the buffer size does not make a huge difference. You can try with different (big) buffer sizes and the CPU usage will always be really high.
You can check also this other code:
using (WebClient wc=new WebClient()) { wc.DownloadFileAsync(new Uri("http://cdimage.ubuntu.com/releases/18.04.2/release/ubuntu-18.04.2-server-amd64.iso"), "/Users/myuser/saved.iso"); }
It is also using a huge amount of CPU in Mac while the download is in progress, and the download speed is not good.
In my opinion the problem is inside the WebClient / HttpWebRequest It would be great to change the WebClient to support native NSUrlSession like you did for HttpClient
HttpClient, with Managed session configured in the project settings, uses similar CPU than the WebClient, but performs (speed and CPU) much better with NSUrlSession configured, so my guess a WebClient / HttpWebRequest using native NSUrlSession will perform decently.
I just tried with a 4096000
byte buffer and the numbers look very much like on DotNet:
$ time curl -o /dev/null http://cdimage.ubuntu.com/releases/18.04.2/release/ubuntu-18.04.2-server-amd64.iso
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 883M 100 883M 0 0 19.8M 0 0:00:44 0:00:44 --:--:-- 20.4M
real 0m44.433s
user 0m0.829s
sys 0m2.579s
With Mono 6.4.0.94:
$ time mono Program.exe
real 0m45.487s
user 0m9.472s
sys 0m6.885s
With dotnet 3.0.100-preview7-012650:
$ time dotnet run
real 0m47.339s
user 0m10.888s
sys 0m4.127s
Increasing buffer size to 40960000:
$ time mono Program.exe
real 0m46.130s
user 0m9.261s
sys 0m6.674s
Some profiling data:
Mono log profiler data
Profiler version: 3.0
Data version: 17
Arguments: log:calls,alloc,sample,maxframes=20,calldepth=100,heapshot,sample=cycles/10000
Architecture: x86-64
Operating system: osx
Mean timer overhead: 20 nanoseconds
Program startup: Tue Jul 9 17:41:15 2019
Program ID: 5828
Server listening on: 56017
JIT summary
Compiled methods: 2553
Generated code size: 966003
JIT helpers: 0
JIT helpers code size: 0
GC summary
GC resizes: 49
Max heap size: 68849664
Object moves: 275490
Gen0 collections: 47, max time: 2401us, total time: 62663us, average: 1333us
Gen1 collections: 5, max time: 254218814881us, total time: 254255951796us, average: 50851190359us
Statistical samples summary
Sample type: cycles
Unmanaged hits: 3820612 (99.8%)
Managed hits: 6746 ( 0.2%)
Unresolved hits: 2587 ( 0.1%)
Hits % Method name
1801449 47.07 semaphore_wait_signal_trap
1075031 28.09 __psynch_cvwait
461000 12.04 semaphore_wait_trap
260467 6.81 __select
26443 0.69 buffer_lock
18504 0.48 System_Threading_Thread_SpinWait_int
13232 0.35 mono_conc_hashtable_lookup
10409 0.27 method_enter
8103 0.21 mach_absolute_time
7850 0.21 emit_event
7144 0.19 mono_get_hazardous_pointer
6849 0.18 method_leave
5722 0.15 check_thread_state
5659 0.15 init_thread
5523 0.14 method_leave
5409 0.14 emit_method_inner
4393 0.11 _platform_memmove$VARIANT$Haswell
4168 0.11 mono_thread_info_get_tools_data
3936 0.10 mono_threads_transition_do_blocking
Allocation summary
Bytes Count Average Type name
41046752 165 248768 System.Byte[]
39138560 305770 128 System.Action
39094968 707126 55 unresolved class 0x0
18589440 232368 80 System.Threading.Tasks.Task<System.Int32>
8673840 77445 112 System.Net.WebReadStream.<ReadAsync>d__28
5577768 77469 72 System.Threading.Tasks.Task.ContingentProperties
5034720 37020 136 System.Net.WebResponseStream.<ReadAsync>d__40
4957696 38732 128 System.Threading.SparselyPopulatedArray<System.Threading.CancellationCallbackInfo>[]
4957440 77460 64 System.Threading.CancellationTokenSource
4957184 38728 128 System.Func<System.Boolean>
4957056 38727 128 System.Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<System.Int32>>
4647600 38730 120 System.Threading.Tasks.Task.DelayPromise
4027400 38725 104 System.Net.FixedSizeReadStream.<ProcessReadAsync>d__5
4027400 38725 104 System.Net.BufferedReadStream.<ProcessReadAsync>d__2
3896776 37469 104 System.Net.HttpWebRequest.<RunWithTimeoutWorker>d__244<System.Int32>
3896472 162353 24 System.Boolean
3718400 77466 48 System.Threading.Tasks.Task[]
3613920 37645 96 System.Net.ServicePointScheduler.<WaitAsync>d__46
3408416 38732 88 System.Threading.Tasks.TaskFactory.CompleteOnInvokePromise
3098240 38728 80 System.Threading.Tasks.Task<System.Net.WebCompletionSource.Result<System.Object>>
3012240 37653 80 System.Threading.Tasks.Task<System.Boolean>
2788560 38730 72 System.Threading.Timer
2478848 38732 64 System.Threading.CancellationCallbackInfo[]
1859136 38732 48 System.Threading.SparselyPopulatedArrayFragment<System.Threading.CancellationCallbackInfo>
1859136 38732 48 System.Threading.CancellationCallbackInfo
1549080 38727 40 System.Net.WebResponseStream.<>c__DisplayClass41_0
1331120 33278 40 System.Threading.Tasks.Task.SetOnInvokeMres
1239424 38732 32 System.Threading.SparselyPopulatedArray<System.Threading.CancellationCallbackInfo>
1239296 38728 32 System.MonoListItem
1239296 38728 32 System.Net.WebCompletionSource
1040640 8 130080 System.Threading.Timer[]
929472 38728 24 System.Threading.Tasks.TaskCompletionSource<System.Net.WebCompletionSource.Result<System.Object>>
532224 33264 16 System.Object
81416 284 286 System.Char[]
73248 3052 24 System.Int32
61312 1916 32 System.Collections.Generic.LowLevelListWithIList<System.Object>
42976 146 294 System.Collections.Hashtable.bucket[]
32664 310 105 System.Object[]
13544 226 59 System.Int32[]
12600 315 40 System.Threading.ThreadPoolWorkQueue.QueueSegment
11600 312 37 System.Attribute[]
10112 316 32 System.Collections.DictionaryEntry
9472 16 592 System.Xml.XmlTextWriter.TagInfo[]
7600 95 80 System.Collections.Hashtable
6800 85 80 System.Configuration.SectionInfo
6576 137 48 System.Text.StringBuilder
6512 1 6512 System.Globalization.InternalEncodingDataItem[]
6160 14 440 System.Collections.Generic.Dictionary.Entry<System.Type,System.MonoCustomAttrs.AttributeInfo>[]
5888 184 32 System.Collections.Specialized.NameObjectCollectionBase.NameObjectEntry
5728 86 66 System.String[]
5440 136 40 System.Collections.Generic.List<System.Object>
5376 56 96 System.Reflection.RuntimePropertyInfo
5352 167 32 System.Reflection.RuntimeParameterInfo[]
5040 105 48 Mono.Globalization.Unicode.Contraction
4608 64 72 System.Net.NetworkInformation.MacOsStructs.ifaddrs
4608 72 64 System.Configuration.PropertyInformation
4424 19 232 Mono.Globalization.Unicode.Contraction[]
4320 108 40 System.Xml.NameTable.Entry
4320 108 40 System.Collections.ArrayList
3760 94 40 System.ComponentModel.TypeDescriptor.TypeDescriptionNode.DefaultTypeDescriptor
3584 16 224 System.Xml.XmlTextWriter.Namespace[]
3400 25 136 System.Xml.XmlTextReaderImpl.NodeData
3360 84 40 System.Reflection.RuntimeMethodInfo
3328 8 416 System.Collections.Generic.Dictionary.Entry<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>[]
3200 80 40 System.Reflection.RuntimeConstructorInfo[]
2960 37 80 System.Configuration.ConfigurationProperty
2880 40 72 System.Net.NetworkInformation.MacOsNetworkInterface
2800 35 80 System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData
2560 32 80 System.Configuration.PropertyInformationCollection
2560 16 160 System.Xml.XmlTextWriter
2440 64 38 System.Type[]
2240 35 64 System.Collections.Specialized.OrderedDictionary
2200 55 40 System.Reflection.ConstructorInfo[]
2176 4 544 System.Xml.NameTable.Entry[]
2128 19 112 System.ComponentModel.AttributeCollection.AttributeEntry[]
2120 53 40 System.Net.HeaderInfo
2072 52 39 System.Reflection.MethodBase[]
1872 39 48 System.Collections.ArrayList.ArrayListEnumeratorSimple
1664 52 32 System.Configuration.ConfigurationPropertyAttribute[]
1600 1 1600 System.Globalization.InternalCodePageDataItem[]
1600 40 40 System.Collections.Generic.List<System.Net.IPAddress>
1536 64 24 System.Net.NetworkInformation.MacOsStructs.sockaddr
1456 2 728 System.Collections.Generic.Dictionary.Entry<System.String,System.UriParser>[]
1440 36 40 System.ComponentModel.AttributeCollection
1408 11 128 System.AsyncCallback
1376 26 52 System.Reflection.RuntimePropertyInfo[]
1360 17 80 System.Configuration.ConfigInfoCollection
1344 42 32 System.ComponentModel.TypeDescriptionProviderAttribute[]
1320 33 40 System.Collections.Generic.List.Enumerator<System.Configuration.ConfigurationProperty>
1320 33 40 System.Net.IPAddress
1280 32 40 System.Configuration.ElementInformation
1248 18 69 System.Configuration.ConfigurationProperty[]
1152 9 128 System.IOAsyncCallback
1152 2 576 System.Xml.XmlTextReaderImpl
1152 24 48 System.UInt16[]
1120 14 80 System.Collections.Generic.Dictionary<System.Type,System.MonoCustomAttrs.AttributeInfo>
1120 35 32 System.Collections.Specialized.OrderedDictionary.OrderedDictionaryKeyValueCollection
1080 27 40 System.Reflection.RuntimeConstructorInfo
1056 33 32 Mono.Globalization.Unicode.TailoringInfo
1056 12 88 System.Configuration.SectionGroupInfo
1040 5 208 System.Globalization.CultureInfo
1024 16 64 System.IO.StringWriter
1008 16 63 System.Net.IPAddress[]
960 8 120 System.Net.Configuration.WebRequestModuleElement
896 2 448 System.Xml.XmlTextWriter.State[]
856 5 171 System.IntPtr[]
848 5 169 System.UInt64[]
832 26 32 System.MonoTypeInfo
816 7 116 Mono.Globalization.Unicode.CodePointIndexer.TableRange[]
800 4 200 System.AppDomainSetup
800 25 32 System.Reflection.ParameterInfo[]
768 6 128 System.Action<System.Object>
768 24 32 System.Collections.Specialized.NameObjectCollectionBase.NameObjectKeysEnumerator
768 16 48 System.Xml.XmlTextEncoder
768 14 54 System.RuntimeType[]
720 18 40 System.Net.NetworkInformation.MacOsStructs.sockaddr_in6
704 8 88 System.Configuration.SectionInformation
680 17 40 System.Int32[][]
680 17 40 System.Collections.Generic.List<System.Reflection.MethodBase>
680 5 136 Mono.Globalization.Unicode.SortKeyBuffer
648 3 216 System.Globalization.NumberFormatInfo
640 16 40 System.UriParser.BuiltInUriParser
640 4 160 System.Xml.XmlTextReaderImpl.NodeData[]
616 11 56 System.Collections.Hashtable.HashtableEnumerator
600 15 40 System.Collections.Generic.List<System.Configuration.ConfigurationProperty>
592 37 16 System.Configuration.DefaultValidator
576 18 32 System.Configuration.PropertyInformationCollection.PropertyInformationEnumerator
576 24 24 System.Configuration.ConfigurationAllowDefinition
544 4 136 System.Globalization.CultureData
512 4 128 System.Threading.ContextCallback
504 9 56 System.Configuration.ConfigurationCollectionAttribute
480 2 240 System.Runtime.CompilerServices.Ephemeron[]
480 2 240 System.Reflection.PropertyInfo[]
448 2 224 System.Xml.XmlNamespaceManager.NamespaceDeclaration[]
448 1 448 System.Net.HeaderInfo[]
384 3 128 System.Reflection.MemberFilter
384 2 192 System.Net.NetworkInformation.NetworkInterface[]
384 3 128 System.Comparison<Mono.Globalization.Unicode.Contraction>
368 2 184 System.Net.Configuration.WebRequestModuleElementCollection
368 2 184 System.Net.Configuration.ConnectionManagementElementCollection
368 1 368 System.Net.HttpWebRequest
360 15 24 System.Configuration.ConfigurationPropertyCollection
336 6 56 System.Runtime.Serialization.SafeSerializationManager
320 4 80 System.Guid[]
304 2 152 System.Net.Configuration.WebRequestModulesSection
304 2 152 System.Net.Configuration.ConnectionManagementSection
304 2 152 System.Net.Configuration.DefaultProxySection
304 2 152 System.Net.Configuration.SettingsSection
296 1 296 Mono.Globalization.Unicode.TailoringInfo[]
288 3 96 Mono.Globalization.Unicode.SimpleCollator
280 1 280 System.Collections.Concurrent.ConcurrentDictionary.Node<System.Net.ServicePointManager.SPKey,System.Net.ServicePoint>[]
280 7 40 Mono.Globalization.Unicode.CodePointIndexer
264 3 88 System.Collections.Hashtable.SyncHashtable
256 2 128 System.Net.HeaderParser
256 2 128 System.Threading.ThreadStart
256 2 128 System.Threading.TimerCallback
256 2 128 System.Func<System.Object,System.Boolean>
256 16 16 System.SerializableAttribute
240 3 80 System.Threading.Tasks.Task<System.Net.HttpWebResponse>
240 2 120 System.Net.Configuration.HttpWebRequestElement
240 2 120 System.Configuration.Configuration
240 2 120 System.Net.Configuration.Ipv6Element
240 2 120 System.Net.Configuration.PerformanceCountersElement
240 2 120 System.Net.Configuration.ServicePointManagerElement
240 6 40 System.Configuration.ConfigurationCollectionAttribute[]
240 2 120 System.Net.WebHeaderCollection
240 2 120 System.Net.Configuration.SocketElement
240 3 80 System.Threading.Tasks.Task<System.Net.WebRequestStream>
240 2 120 System.Net.Configuration.WebProxyScriptElement
224 2 112 System.IO.FileStream
224 4 56 System.Text.UnicodeEncoding
216 1 216 System.Globalization.CalendarData[]
216 3 72 System.Uri
216 3 72 System.Uri.UriInfo
216 3 72 System.Globalization.TextInfo
208 2 104 System.Threading.Tasks.Task<System.ValueTuple<System.Net.HttpWebResponse,System.Boolean,System.Boolean,System.Net.BufferOffsetSize,System.Net.WebOperation>>
208 2 104 System.Collections.Generic.Dictionary.Entry<System.Type,System.AttributeUsageAttribute>[]
200 5 40 System.Globalization.SortKey
200 5 40 System.Threading.ThreadPoolWorkQueue.WorkStealingQueue
192 6 32 System.Random
192 2 96 System.Collections.Specialized.NameValueCollection
192 2 96 System.Reflection.RuntimeAssembly
192 6 32 System.MonoCustomAttrs.AttributeInfo
184 5 36 System.Runtime.ExceptionServices.ExceptionDispatchInfo[]
176 1 176 System.Net.HttpWebRequest.<MyGetResponseAsync>d__246
176 1 176 System.Net.WebResponseStream
168 1 168 System.Buffers.TlsOverPerCoreLockedStacksArrayPool.PerCoreLockedStacks<System.Int32>[]
168 7 24 System.Text.DecoderReplacementFallback
168 1 168 System.Collections.Generic.LowLevelDictionary.Entry<System.Int32,System.Threading.Tasks.Task>[]
168 7 24 System.Text.EncoderReplacementFallback
168 1 168 System.Byte[][]
168 3 56 System.Globalization.CompareInfo
168 1 168 System.Buffers.TlsOverPerCoreLockedStacksArrayPool.PerCoreLockedStacks<System.Byte>[]
160 1 160 System.AppDomain
160 4 40 System.AttributeUsageAttribute[]
160 2 80 System.Threading.Tasks.Task<System.Net.WebCompletionSource.Result<System.Net.WebRequestStream>>
160 1 160 System.Threading.ThreadPoolWorkQueue.WorkStealingQueue[]
160 1 160 System.Net.WebHeaderCollection.RfcChar[]
160 5 32 System.Version
160 2 80 System.Threading.Tasks.Task<System.Tuple<System.Int32,System.Int32,System.Int32,System.Boolean>>
160 1 160 System.Globalization.CalendarData
160 1 160 System.Net.WebRequestStream
160 2 80 System.Threading.Tasks.Task<System.Net.WebResponseStream>
160 4 40 System.Net.WebRequestPrefixElement
160 2 80 System.Collections.Generic.Dictionary<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>
160 2 80 System.Collections.Generic.Dictionary<System.Type,System.AttributeUsageAttribute>
160 2 80 System.Collections.Generic.Dictionary<System.String,System.UriParser>
144 6 24 System.Net.NetworkInformation.MacOsStructs.sockaddr_in
144 1 144 System.OutOfMemoryException
144 6 24 System.AttributeUsageAttribute
144 3 48 System.Runtime.CompilerServices.ConditionalWeakTable.Enumerator<System.Byte[][],System.Object>
144 2 72 System.Diagnostics.StackFrame
144 1 144 System.Net.WebOperation
144 2 72 System.Xml.XmlNamespaceManager
144 1 144 System.NullReferenceException
144 1 144 System.StackOverflowException
136 1 136 System.Net.ServicePoint
128 1 128 System.Func<System.Threading.Tasks.Task.ContingentProperties>
128 1 128 System.Net.HttpWebResponse
128 1 128 System.Func<System.Net.EndPoint,System.AsyncCallback,System.Object,System.IAsyncResult>
128 1 128 System.Func<System.AsyncCallback,System.Object,System.IAsyncResult>
128 1 128 System.Func<System.Threading.Tasks.Task<System.Net.WebResponse>>
128 1 128 System.Func<System.Threading.Tasks.Task>
128 2 64 System.Threading.SemaphoreSlim
128 2 64 System.Uri.MoreInfo
128 1 128 System.Func<System.IO.Stream,System.IAsyncResult,System.Int32>
128 1 128 System.EventHandler
128 1 128 System.Predicate<System.Object>
128 1 128 System.Comparison<Mono.Globalization.Unicode.Level2Map>
128 1 128 System.Func<System.IAsyncResult,System.Net.WebResponse>
128 1 128 System.Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<System.Net.HttpWebResponse>>
128 1 128 System.Predicate<System.Threading.Tasks.Task>
128 1 128 System.Func<System.IO.Stream,System.IAsyncResult,System.Threading.Tasks.VoidTaskResult>
128 1 128 System.Threading.WaitCallback
128 8 16 System.ComponentModel.TypeConverter
128 1 128 System.Action<System.IAsyncResult>
128 1 128 System.Threading.ParameterizedThreadStart
120 3 40 System.Net.IPAddress.ReadOnlyIPAddress
120 5 24 System.Reflection.DefaultMemberAttribute
120 3 40 System.Collections.Generic.List<Mono.Globalization.Unicode.Contraction>
120 1 120 System.Net.Configuration.ProxyElement
120 3 40 System.Collections.Generic.List<Mono.Globalization.Unicode.Level2Map>
112 1 112 System.Threading.Tasks.Task<System.Int32>[]
112 1 112 System.DefaultBinder.Primitives[]
112 1 112 System.Net.WebOperation.<Run>d__58
112 1 112 System.Net.WebConnection.<Connect>d__16
112 2 56 System.Text.UTF8Encoding
112 1 112 System.Net.WebConnection.<InitConnection>d__19
112 1 112 System.Net.ServicePointScheduler.<RunScheduler>d__32
104 1 104 System.Net.ServicePointScheduler
104 1 104 System.Collections.Generic.Dictionary.Entry<System.String,System.Globalization.CultureInfo>[]
104 1 104 System.Collections.Generic.Dictionary.Entry<System.String,System.Globalization.ISimpleCollator>[]
104 1 104 System.Net.HttpWebRequest.<RunWithTimeoutWorker>d__244<System.Net.HttpWebResponse>
104 1 104 System.Collections.Generic.Dictionary.Entry<System.Int32,System.Globalization.CultureInfo>[]
96 2 48 System.Threading.ManualResetEvent
96 2 48 System.Threading.Tasks.TaskExceptionHolder
96 2 48 System.WeakReference[]
96 1 96 System.Net.WebConnection
96 1 96 System.Boolean[]
96 3 32 System.ComponentModel.EnumConverter
96 2 48 System.Threading.Thread[]
96 1 96 System.ComponentModel.WeakHashtable
96 1 96 System.Net.WebResponseStream.<InitReadAsync>d__51
96 3 32 System.Net.IPEndPoint
96 2 48 System.Collections.Generic.LinkedList<System.WeakReference>
96 3 32 System.Enum.ValuesAndNames
96 1 96 System.Threading.Tasks.TaskFactory.FromAsyncTrimPromise<System.Threading.Tasks.VoidTaskResult,System.IO.Stream>
96 2 48 System.Xml.XmlTextReaderImpl.XmlContext
96 2 48 System.ComponentModel.TypeDescriptor.TypeDescriptionNode
96 3 32 Microsoft.Win32.SafeHandles.SafeWaitHandle
96 1 96 System.Configuration.ConfigurationSectionGroupCollection
96 1 96 System.Configuration.ConfigurationSectionCollection
88 1 88 System.Threading.CancellationTokenSource.Linked1CancellationTokenSource
88 1 88 System.Net.Sockets.Socket
88 1 88 System.Threading.Tasks.UnwrapPromise<System.Threading.Tasks.VoidTaskResult>
88 1 88 System.Runtime.Remoting.Contexts.Context
88 1 88 System.Net.WebRequestStream.<Initialize>d__36
88 1 88 System.Net.WebRequestStream.<SetHeadersAsync>d__37
88 1 88 System.Threading.Tasks.UnwrapPromise<System.Net.WebResponse>
80 2 40 System.ComponentModel.ReflectTypeDescriptionProvider
80 1 80 System.Int16[]
80 1 80 System.Threading.Tasks.Task<System.Net.WebCompletionSource.Result<System.Net.WebResponseStream>>
80 1 80 System.Net.FixedSizeReadStream
80 2 40 System.Collections.Generic.List<System.WeakReference>
80 1 80 System.Collections.Generic.Dictionary<System.String,System.LocalDataStoreSlot>
80 1 80 System.Collections.Generic.Dictionary<System.String,System.Globalization.ISimpleCollator>
80 1 80 System.Collections.Generic.Dictionary<System.String,System.Globalization.CultureInfo>
80 1 80 System.Threading.Tasks.Task<System.Threading.Tasks.Task>
80 2 40 System.ValueTuple<System.Net.ServicePointScheduler.ConnectionGroup,System.Net.WebOperation>[]
80 2 40 System.Xml.NameTable
80 1 80 System.Collections.Generic.Dictionary<System.Int32,System.Globalization.CultureInfo>
80 1 80 System.Threading.Tasks.Task<System.Net.WebCompletionSource.Result<System.ValueTuple<System.Boolean,System.Net.WebOperation>>>
80 2 40 System.Collections.Generic.List.Enumerator<System.Threading.Tasks.Task>
80 1 80 System.Collections.Generic.Dictionary<System.Int32,System.Threading.Tasks.Task>
80 2 40 System.Collections.Generic.List<System.Threading.Tasks.Task>
80 1 80 System.Diagnostics.BooleanSwitch
80 1 80 System.Threading.Tasks.Task<System.Threading.Tasks.Task<System.Net.WebResponse>>
72 1 72 System.Net.TimerThread.TimerNode
72 1 72 System.Net.Sockets.NetworkStream
72 1 72 System.Threading.Tasks.Task
72 1 72 System.Net.BufferedReadStream
72 1 72 System.Net.WebCompletionSource.<WaitForCompletion>d__15<System.Net.WebRequestStream>
72 1 72 System.Configuration.ConfigurationSectionGroup
72 1 72 System.Net.WebCompletionSource.<WaitForCompletion>d__15<System.Net.WebResponseStream>
72 1 72 System.Net.Configuration.NetSectionGroup
72 1 72 System.Reflection.RuntimeParameterInfo
72 3 24 System.Threading.Tasks.StackGuard
64 2 32 System.Collections.Generic.LowLevelListWithIList<System.Threading.Tasks.Task>
64 2 32 ConfigXmlTextReader
64 2 32 System.CultureAwareComparer
64 1 64 System.Reflection.RuntimeModule
64 2 32 System.ValueTuple<System.Net.ServicePointScheduler.ConnectionGroup,System.Net.WebConnection,System.Threading.Tasks.Task>[]
64 2 32 System.Net.WebCompletionSource<System.Net.WebRequestStream>
64 2 32 Microsoft.Win32.SafeHandles.SafeFileHandle
64 2 32 System.Tuple<System.Int32,System.Int32,System.Int32,System.Boolean>
64 2 32 System.Configuration.ElementMap
64 2 32 System.Collections.Generic.LowLevelListWithIList<System.Runtime.ExceptionServices.ExceptionDispatchInfo>
56 1 56 System.Diagnostics.DebuggerDisplayAttribute
56 1 56 System.Globalization.CodePageDataItem
56 1 56 System.Reflection.RuntimeFieldInfo
56 1 56 System.Text.UTF8Encoding.UTF8Decoder
56 1 56 System.Collections.Generic.LinkedListNode<System.ValueTuple<System.Net.ServicePointScheduler.ConnectionGroup,System.Net.WebOperation>>
56 1 56 System.Collections.Concurrent.ConcurrentDictionary<System.Net.ServicePointManager.SPKey,System.Net.ServicePoint>
56 1 56 System.LocalDataStoreMgr
56 1 56 System.Net.ServicePointScheduler.ConnectionGroup
56 1 56 System.Text.UTF8Encoding.UTF8EncodingSealed
56 1 56 System.Net.Sockets.SafeSocketHandle
48 1 48 System.Collections.Generic.LinkedListNode<System.Net.WebConnection>
48 1 48 System.Configuration.ExeConfigurationFileMap
48 2 24 System.Collections.Generic.Dictionary.ValueCollection<System.String,System.Net.NetworkInformation.MacOsNetworkInterface>
48 1 48 System.Collections.Generic.LinkedList<System.Net.WebOperation>
48 1 48 System.Diagnostics.StackFrame[]
48 1 48 System.Threading.Timer.Scheduler
48 3 16 System.ComponentModel.CollectionConverter
48 1 48 System.OperatingSystem
48 1 48 System.Net.WebCompletionSource.Result<System.ValueTuple<System.Boolean,System.Net.WebOperation>>
48 2 24 System.Threading.Tasks.TaskCompletionSource<System.Net.WebCompletionSource.Result<System.Net.WebRequestStream>>
48 2 24 System.WeakReference
48 1 48 System.Collections.Concurrent.ConcurrentDictionary.Node<System.Net.ServicePointManager.SPKey,System.Net.ServicePoint>
48 1 48 System.Collections.Generic.LinkedListNode<System.WeakReference>
48 1 48 System.Configuration.InternalConfigurationRoot
48 3 16 System.Runtime.CompilerServices.IsReadOnlyAttribute
48 1 48 System.Threading.WaitHandle[]
48 1 48 System.Collections.Generic.LinkedList<System.Net.WebConnection>
48 2 24 System.ComponentModel.TypeConverterAttribute
48 1 48 System.Collections.Generic.LinkedList<System.ValueTuple<System.Net.ServicePointScheduler.ConnectionGroup,System.Net.WebOperation>>
48 1 48 System.IO.TextWriter.NullTextWriter
48 1 48 System.Net.Configuration.SettingsSectionInternal
48 2 24 Mono.CFDictionary
48 1 48 System.Collections.Generic.LinkedList<System.ValueTuple<System.Net.ServicePointScheduler.ConnectionGroup,System.Net.WebConnection,System.Threading.Tasks.Task>>
48 1 48 System.Threading.AutoResetEvent
48 2 24 System.Runtime.InteropServices.ComVisibleAttribute
48 1 48 System.Net.IPHostEntry
48 1 48 System.Collections.Generic.LinkedListNode<System.Net.WebOperation>
40 1 40 System.Threading.Tasks.TaskFactory
40 1 40 System.Net.SocketAddress
40 1 40 System.Collections.Generic.List`1
40 1 40 System.Collections.Generic.LowLevelDictionary<System.Int32,System.Threading.Tasks.Task>
40 1 40 System.Collections.Generic.List<System.Threading.Timer>
40 1 40 System.Threading.ThreadPoolWorkQueue
40 1 40 System.Threading.ThreadHelper
40 1 40 System.Buffers.TlsOverPerCoreLockedStacksArrayPool<System.Int32>
40 1 40 System.Reflection.RuntimeFieldInfo[]
40 1 40 System.Net.ServicePointManager.SPKey
40 1 40 System.Threading.Tasks.TaskFactory.<>c__DisplayClass35_0<System.Net.WebResponse>
40 1 40 System.Diagnostics.StackTrace[]
40 1 40 System.Net.WebCompletionSource.Result<System.Net.WebRequestStream>
40 1 40 System.Runtime.CompilerServices.ConditionalWeakTable<System.Byte[][],System.Object>
40 1 40 System.Buffers.TlsOverPerCoreLockedStacksArrayPool<System.Byte>
40 1 40 System.Net.WebCompletionSource.Result<System.Net.WebResponseStream>
40 1 40 System.Configuration.InternalConfigurationSystem
40 1 40 System.IO.Stream.NullStream
40 1 40 System.Runtime.CompilerServices.ConditionalWeakTable<System.Int32[][],System.Object>
40 1 40 System.Diagnostics.StackTrace
40 1 40 System.Threading.Tasks.TaskFactory.<>c__DisplayClass38_0<System.Threading.Tasks.VoidTaskResult,System.Net.EndPoint>
40 1 40 System.Threading.Tasks.TaskFactory<System.Net.WebResponse>
40 1 40 System.Collections.Concurrent.ConcurrentDictionary.Tables<System.Net.ServicePointManager.SPKey,System.Net.ServicePoint>
40 1 40 Mono.Net.CFProxy[]
40 1 40 System.Net.TimerThread.TimerQueue
40 1 40 System.Collections.Generic.List<System.LocalDataStore>
40 1 40 System.IO.StringReader
40 1 40 System.Collections.Generic.List<System.Threading.Thread>
32 1 32 System.Gen2GcCallback
32 1 32 System.Collections.CompatibleComparer
32 1 32 System.Configuration.ExeConfigurationHost
32 1 32 Mono.CFString
32 1 32 System.Threading.Tasks.CompletionActionInvoker
32 1 32 System.Collections.ObjectModel.ReadOnlyCollection<System.Runtime.ExceptionServices.ExceptionDispatchInfo>
32 1 32 System.Runtime.ExceptionServices.ExceptionDispatchInfo
32 1 32 Mono.Globalization.Unicode.Level2Map[]
32 1 32 System.Threading.Tasks.TaskToApm.<>c__DisplayClass3_0
32 1 32 System.Xml.SafeAsciiDecoder
32 1 32 System.Net.WebCompletionSource<System.Net.WebResponseStream>
32 1 32 Mono.Net.CFNetwork.CFWebProxy
32 1 32 System.Net.WebCompletionSource<System.ValueTuple<System.Boolean,System.Net.WebOperation>>
32 1 32 System.Buffers.ArrayPoolEventSource
32 1 32 System.Exception[]
32 1 32 System.LocalDataStore[]
32 1 32 System.Net.BufferOffsetSize
24 1 24 System.Net.Sockets.Socket.<>c__DisplayClass252_0
24 1 24 System.TimeSpan
24 1 24 System.Configuration.DefaultConfig
24 1 24 System.Net.ServicePointScheduler.AsyncManualResetEvent
24 1 24 System.Configuration.ConfigurationAllowExeDefinition
24 1 24 System.Collections.CaseInsensitiveHashCodeProvider
24 1 24 System.Threading.Lock
24 1 24 System.Net.NetworkInformation.MacOsNetworkInterfaceAPI
24 1 24 System.Net.Configuration.ConnectionManagementData
24 1 24 System.Net.Configuration.ProxyElement.BypassOnLocalValues
24 1 24 System.Configuration.ConfigurationLocationCollection
24 1 24 System.Threading.Tasks.TaskCompletionSource<System.Net.WebCompletionSource.Result<System.Net.WebResponseStream>>
24 1 24 Mono.Net.CFUrl
24 1 24 System.Net.Configuration.ProxyElement.UseSystemDefaultValues
24 1 24 Mono.CFArray
24 1 24 System.Net.Configuration.DefaultProxySectionInternal
24 1 24 System.Net.Configuration.ProxyElement.AutoDetectValues
24 1 24 System.OrdinalIgnoreCaseComparer
24 1 24 Mono.Net.CFProxy
24 1 24 System.Threading.Timer.TimerComparer
24 1 24 System.Threading.Tasks.TaskCompletionSource<System.Net.WebCompletionSource.Result<System.ValueTuple<System.Boolean,System.Net.WebOperation>>>
24 1 24 System.Net.Cache.RequestCachePolicy
24 1 24 System.Collections.CaseInsensitiveComparer
24 1 24 System.Configuration.ConfigurationUserLevel
24 1 24 System.IO.TextReader.NullTextReader
24 1 24 Mono.Net.CFProxySettings
24 1 24 System.OrdinalCaseSensitiveComparer
24 1 24 System.Configuration.ClientConfigurationSystem
24 1 24 System.CLSCompliantAttribute
24 1 24 System.Threading.ThreadPoolWorkQueue.SparseArray<System.Threading.ThreadPoolWorkQueue.WorkStealingQueue>
24 1 24 System.Threading.Tasks.ThreadPoolTaskScheduler
16 1 16 System.Threading.Tasks.Task.<>c
16 1 16 System.ComponentModel.WeakHashtable.WeakKeyComparer
16 1 16 System.Collections.Generic.ObjectEqualityComparer<System.Net.ServicePointManager.SPKey>
16 1 16 System.Collections.Generic.GenericComparer<System.UInt64>
16 1 16 System.Net.HttpWebRequest.<>c__244<System.Int32>
16 1 16 System.ComponentModel.Int32Converter
16 1 16 System.Threading.CancellationTokenSource.LinkedNCancellationTokenSource.<>c
16 1 16 System.Collections.Generic.ObjectEqualityComparer<System.Threading.Thread>
16 1 16 System.Net.Sockets.SocketTaskExtensions.<>c
16 1 16 System.Collections.Generic.ArraySortHelper<System.UInt64,System.String>
16 1 16 System.Text.DecoderExceptionFallback
16 1 16 System.Collections.Generic.ObjectEqualityComparer<System.Type>
16 1 16 System.Net.Sockets.Socket.<>c
16 1 16 System.Reflection.Missing
16 1 16 System.Collections.Generic.GenericEqualityComparer<System.String>
16 1 16 System.Collections.Generic.ArraySortHelper<Mono.Globalization.Unicode.Contraction>
16 1 16 System.DBNull
16 1 16 System.Net.Sockets.SocketAsyncResult.<>c
16 1 16 System.Threading.Tasks.ThreadPoolTaskScheduler.<>c
16 1 16 System.Net.HeaderInfoTable
16 1 16 System.Collections.Generic.LowLevelDictionary.DefaultComparer<System.Int32,System.Threading.Tasks.Task,System.Int32>
16 1 16 System.Threading.CancellationToken.<>c
16 1 16 System.Net.ServicePointScheduler.AsyncManualResetEvent.<>c
16 1 16 System.Net.CaseInsensitiveAscii
16 1 16 System.IO.Stream.<>c
16 1 16 Mono.Globalization.Unicode.MSCompatUnicodeTable.<>c
16 1 16 System.ComponentModel.BooleanConverter
16 1 16 System.DefaultBinder
16 1 16 System.Net.HttpRequestCreator
16 1 16 System.ComponentModel.TimeSpanConverter
16 1 16 System.Collections.Generic.ObjectEqualityComparer<System.Net.WebOperation>
16 1 16 System.ComponentModel.StringConverter
16 1 16 System.UriTypeConverter
16 1 16 System.Collections.Generic.ArraySortHelper<System.UInt64>
16 1 16 System.Configuration.InternalConfigurationFactory
16 1 16 System.Collections.Generic.GenericEqualityComparer<System.Int32>
16 1 16 System.Text.EncoderExceptionFallback
16 1 16 Mono.Globalization.Unicode.ContractionComparer
16 1 16 System.Net.WebRequest.DesignerWebRequestCreate
Total memory allocated: 232994008 bytes in 2602987 objects
Method call summary
Total(ms) Self(ms) Calls Method name
47039 0 1 (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
47039 29 1 X:Main ()
46797 0 7 (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
46796 46796 1 (wrapper managed-to-native) System.Threading.WaitHandle:Wait_internal (intptr*,int,bool,int)
46524 130 38727 System.Net.WebConnectionStream:Read (byte[],int,int)
35479 60 77454 System.Threading.Tasks.Task`1<int>:get_Result ()
35419 2477 36969 System.Threading.Tasks.Task`1<int>:GetResultCore (bool)
32402 32402 33174 (wrapper managed-to-native) System.Threading.Monitor:Monitor_wait (object,int)
12770 446 154898 System.Net.WebReadStream/<ReadAsync>d__28:MoveNext ()
12229 630 268110 System.Threading.Tasks.Task`1<int>:TrySetResult (int)
11104 259 75747 System.Net.WebResponseStream/<ReadAsync>d__40:MoveNext ()
10622 71 38727 System.Net.WebResponseStream:ReadAsync (byte[],int,int,System.Threading.CancellationToken)
10516 92 38727 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:Start<System.Net.WebResponseStream/<ReadAsync>d__40> (System.Net.WebResponseStream/<ReadAsync>d__40&)
9691 223 232360 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:SetResult (int)
9130 127 38727 System.Net.WebResponseStream:ProcessRead (byte[],int,int,System.Threading.CancellationToken)
8867 120 77453 System.Net.WebReadStream:ReadAsync (byte[],int,int,System.Threading.CancellationToken)
8721 125 38727 System.Net.HttpWebRequest:RunWithTimeout<int> (System.Func`2<System.Threading.CancellationToken, System.Threading.Tasks.Task`1<int>>,int,System.Action,System.Func`1<bool>,System.Threading.CancellationToken)
8688 135 77453 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:Start<System.Net.WebReadStream/<ReadAsync>d__28> (System.Net.WebReadStream/<ReadAsync>d__28&)
7434 824 161254 (wrapper runtime-invoke) <Module>:runtime_invoke_bool (object,intptr,intptr,intptr)
6295 192 77452 System.Net.FixedSizeReadStream/<ProcessReadAsync>d__5:MoveNext ()
5527 39 38727 System.Net.WebResponseStream/<>c__DisplayClass41_0:<ProcessRead>b__0 (System.Threading.CancellationToken)
4709 209 77451 System.Net.BufferedReadStream/<ProcessReadAsync>d__2:MoveNext ()
4367 62 38727 System.Net.FixedSizeReadStream:ProcessReadAsync (byte[],int,int,System.Threading.CancellationToken)
4274 74 38727 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:Start<System.Net.FixedSizeReadStream/<ProcessReadAsync>d__5> (System.Net.FixedSizeReadStream/<ProcessReadAsync>d__5&)
3841 232 76196 System.Net.HttpWebRequest/<RunWithTimeoutWorker>d__244`1<int>:MoveNext ()
3822 1848 2201934 (wrapper alloc) object:ProfilerAllocSmall (intptr,intptr)
3479 691 76374 System.Net.ServicePointScheduler/<WaitAsync>d__46:MoveNext ()
3453 69 38728 System.Net.Sockets.SocketAsyncResult/<>c:<Complete>b__27_0 (object)
3342 90 38726 System.Threading.Tasks.TaskFactory`1/FromAsyncTrimPromise`1<int, System.IO.Stream>:CompleteFromAsyncResult (System.IAsyncResult)
3208 73 38726 System.Threading.Tasks.TaskFactory`1/FromAsyncTrimPromise`1<int, System.IO.Stream>:Complete (System.IO.Stream,System.Func`3<System.IO.Stream, System.IAsyncResult, int>,System.IAsyncResult,bool)
3008 62 38727 System.Net.HttpWebRequest:RunWithTimeoutWorker<int> (System.Threading.Tasks.Task`1<int>,int,System.Action,System.Func`1<bool>,System.Threading.CancellationTokenSource)
2915 71 38727 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:Start<System.Net.HttpWebRequest/<RunWithTimeoutWorker>d__244`1<int>> (System.Net.HttpWebRequest/<RunWithTimeoutWorker>d__244`1<int>&)
2274 61 38726 System.Net.BufferedReadStream:ProcessReadAsync (byte[],int,int,System.Threading.CancellationToken)
2183 81 38726 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:Start<System.Net.BufferedReadStream/<ProcessReadAsync>d__2> (System.Net.BufferedReadStream/<ProcessReadAsync>d__2&)
2045 65 38730 System.Net.ServicePointScheduler:WaitAsync (System.Threading.Tasks.Task,int)
1959 1959 2315319 (wrapper managed-to-native) object:__icall_wrapper_mono_profiler_raise_gc_allocation (object)
1949 55 38730 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<bool>:Start<System.Net.ServicePointScheduler/<WaitAsync>d__46> (System.Net.ServicePointScheduler/<WaitAsync>d__46&)
1816 48 38728 System.IOSelectorJob:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem ()
1766 84 38726 System.Net.Sockets.Socket/<>c:<.cctor>b__318_8 (System.IOAsyncResult)
1228 89 38726 System.Threading.Tasks.TaskFactory`1<int>:FromAsyncTrim<System.IO.Stream, System.IO.Stream/ReadWriteParameters> (System.IO.Stream,System.IO.Stream/ReadWriteParameters,System.Func`5<System.IO.Stream, System.IO.Stream/ReadWriteParameters, System.AsyncCallback, object, System.IAsyncResult>,System.Func`3<System.IO.Stream, System.IAsyncResult, int>)
1133 41 38730 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<bool>:SetResult (bool)
1089 73 37645 System.Threading.Tasks.Task`1<bool>:TrySetResult (bool)
1060 266 77445 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>, System.Net.WebReadStream/<ReadAsync>d__28> (System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>&,System.Net.WebReadStream/<ReadAsync>d__28&)
1009 49 38726 System.Net.Sockets.NetworkStream:BeginRead (byte[],int,int,System.AsyncCallback,object)
943 34 38726 System.Net.Sockets.Socket:BeginReceive (byte[],int,int,System.Net.Sockets.SocketFlags,System.AsyncCallback,object)
926 116 38726 System.Net.Sockets.Socket:Receive_internal (System.Net.Sockets.SafeSocketHandle,byte*,int,System.Net.Sockets.SocketFlags,int&,bool)
909 161 38726 System.Net.Sockets.Socket:BeginReceive (byte[],int,int,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&,System.AsyncCallback,object)
822 353 461744 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:get_Task ()
755 41 38727 System.Net.Sockets.SocketAsyncResult:Complete (int)
713 234 38728 System.Net.Sockets.SocketAsyncResult:Complete ()
566 152 38725 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>, System.Net.BufferedReadStream/<ProcessReadAsync>d__2> (System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>&,System.Net.BufferedReadStream/<ProcessReadAsync>d__2&)
549 549 376995 (wrapper managed-to-native) System.Threading.Thread:YieldInternal ()
538 135 37469 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<bool>, System.Net.HttpWebRequest/<RunWithTimeoutWorker>d__244`1<int>> (System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<bool>&,System.Net.HttpWebRequest/<RunWithTimeoutWorker>d__244`1<int>&)
534 138 38725 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>, System.Net.FixedSizeReadStream/<ProcessReadAsync>d__5> (System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>&,System.Net.FixedSizeReadStream/<ProcessReadAsync>d__5&)
521 521 169602 (wrapper managed-to-native) System.Environment:get_ProcessorCount ()
521 131 37020 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>, System.Net.WebResponseStream/<ReadAsync>d__40> (System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>&,System.Net.WebResponseStream/<ReadAsync>d__40&)
489 112 37645 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<bool>:AwaitUnsafeOnCompleted<System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<System.Threading.Tasks.Task>, System.Net.ServicePointScheduler/<WaitAsync>d__46> (System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<System.Threading.Tasks.Task>&,System.Net.ServicePointScheduler/<WaitAsync>d__46&)
477 477 38726 (wrapper managed-to-native) System.Net.Sockets.Socket:Receive_internal (intptr,byte*,int,System.Net.Sockets.SocketFlags,int&,bool)
444 444 161254 (wrapper managed-to-native) System.Threading.ThreadPool:RequestWorkerThread ()
432 108 38727 System.Net.Sockets.Socket:QueueIOSelectorJob (System.Threading.SemaphoreSlim,intptr,System.IOSelectorJob)
398 33 38728 System.Net.WebCompletionSource:.ctor ()
397 114 38728 (wrapper runtime-invoke) <Module>:runtime_invoke_void_object_byte (object,intptr,intptr,intptr)
383 158 193632 System.Threading.Tasks.Task`1<int>:ConfigureAwait (bool)
365 108 38731 System.Net.WebCompletionSource`1<T_REF>:.ctor (bool)
358 44 38726 System.Net.Sockets.NetworkStream:EndRead (System.IAsyncResult)
354 153 116195 System.Net.WebOperation:get_Aborted ()
314 43 38726 System.Net.Sockets.Socket:EndReceive (System.IAsyncResult)
298 2 1 System.Net.HttpWebRequest:GetResponse ()
274 63 77457 System.Net.WebOperation:ThrowIfDisposed (System.Threading.CancellationToken)
271 124 38726 System.Net.Sockets.Socket:EndReceive (System.IAsyncResult,System.Net.Sockets.SocketError&)
268 135 157086 (wrapper alloc) object:ProfilerAllocVector (intptr,intptr)
266 40 38730 System.Net.WebOperation:ThrowIfClosedOrDisposed ()
260 170 193632 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>:GetResult ()
256 256 403143 (wrapper managed-to-native) System.Environment:get_TickCount ()
226 41 38736 System.Net.WebOperation:ThrowIfClosedOrDisposed (System.Threading.CancellationToken)
225 148 193632 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1<int>:.ctor (System.Threading.Tasks.Task`1<int>,bool)
212 212 38728 (wrapper managed-to-native) System.IOSelector:Add (intptr,System.IOSelectorJob)
209 209 462362 (wrapper managed-to-native) System.Buffer:InternalMemcpy (byte*,byte*,int)
207 207 421964 (wrapper managed-to-native) System.Threading.Interlocked:Exchange (object&,object)
197 197 377301 (wrapper managed-to-native) System.Threading.Monitor:Exit (object)
185 41 38736 System.Net.WebOperation:get_Closed ()
183 0 2 System.Configuration.Configuration:.ctor (System.Configuration.InternalConfigurationSystem,string)
182 1 1 System.Net.WebRequest:Create (string)
179 77 38728 System.Net.WebCompletionSource`1<T_REF>:TrySetCompleted ()
173 129 38728 System.Net.Sockets.SafeSocketHandle:RegisterForBlockingSyscall ()
166 2 1 System.Net.WebRequest:Create (System.Uri,bool)
165 165 33174 (wrapper managed-to-native) System.Threading.Monitor:Monitor_pulse_all (object)
159 118 38728 System.Net.Sockets.SafeSocketHandle:UnRegisterForBlockingSyscall ()
155 92 38730 (wrapper remoting-invoke-with-check) System.Threading.Timer:.ctor (System.Threading.TimerCallback,object,int,int)
150 99 116195 (wrapper remoting-invoke-with-check) System.Net.HttpWebRequest:get_Aborted ()
146 0 5 System.Configuration.ConfigurationManager:GetSection (string)
146 0 5 System.Configuration.ClientConfigurationSystem:System.Configuration.Internal.IInternalConfigSystem.GetSection (string)
144 61 76376 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<bool>:get_Task ()
139 139 41676 (wrapper managed-to-native) object:__icall_wrapper_mono_gc_alloc_obj (intptr,intptr)
137 3 1 System.Net.WebRequest:get_PrefixList ()
133 0 1 System.Net.WebRequest:PopulatePrefixList ()
131 131 68104 (wrapper managed-to-native) System.Threading.Thread:SleepInternal (int)
109 97 191916 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>:UnsafeOnCompleted (System.Action)
109 72 77464 System.Net.Sockets.Socket:ThrowIfDisposedAndClosed ()
105 105 268110 System.Threading.Tasks.Task`1<int>:.ctor ()
95 0 5 System.Configuration.ClientConfigurationSystem:get_Configuration ()
94 0 1 System.Configuration.ConfigurationManager:OpenExeConfigurationInternal (System.Configuration.ConfigurationUserLevel,System.Reflection.Assembly,string)
94 0 1 System.Configuration.InternalConfigurationFactory:Create (System.Type,object[])
92 92 232360 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:Create ()
91 91 229384 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine)
91 1 2 System.Configuration.Configuration:Init (System.Configuration.Internal.IConfigSystem,string,System.Configuration.Configuration)
90 60 77445 System.Net.WebReadStream/<ReadAsync>d__28:SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine)
90 90 193632 System.Threading.Tasks.Task`1<int>:get_ResultOnSuccess ()
89 0 2 System.Configuration.Configuration:Load ()
83 32 38729 System.Threading.Tasks.Task`1<bool>:ConfigureAwait (bool)
77 0 51 (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
77 77 193632 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>:get_IsCompleted ()
77 77 193632 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1<int>:GetAwaiter ()
77 77 193632 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<int>:.ctor (System.Threading.Tasks.Task`1<int>,bool)
75 56 38728 System.IOAsyncResult:set_IsCompleted (bool)
72 51 38729 (wrapper remoting-invoke-with-check) System.Threading.Timer:Dispose ()
64 64 80625 (wrapper managed-to-native) System.Threading.ThreadPool:NotifyWorkItemComplete ()
63 1 1 System.Configuration.Configuration:ReadConfigFile (System.Xml.XmlReader,string)
63 63 77471 (wrapper managed-to-native) System.GC:_SuppressFinalize (object)
63 63 155867 (wrapper stelemref) object:virt_stelemref_class_small_idepth (intptr,object)
62 0 93 System.Configuration.Configuration:GetSectionInstance (System.Configuration.SectionInfo,bool)
57 57 80626 (wrapper managed-to-native) System.Threading.ThreadPool:NotifyWorkItemQueued ()
54 54 105075 (wrapper managed-to-native) System.Threading.Monitor:Monitor_test_synchronised (object)
53 3 2 System.Net.ServicePointScheduler/<RunScheduler>d__32:MoveNext ()
53 0 1 System.Net.ServicePointScheduler:<Run>b__31_0 ()
53 0 1 System.Net.ServicePointScheduler:RunScheduler ()
52 35 38729 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<bool>:GetResult ()
52 1 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start<System.Net.ServicePointScheduler/<RunScheduler>d__32> (System.Net.ServicePointScheduler/<RunScheduler>d__32&)
52 1 1 System.Net.WebRequest:<GetResponseAsync>b__79_0 ()
51 1 3 System.Net.HttpWebRequest/<MyGetResponseAsync>d__246:MoveNext ()
51 51 116197 System.Net.HttpWebRequest:get_Aborted ()
51 0 1 System.Net.HttpWebRequest:BeginGetResponse (System.AsyncCallback,object)
50 33 38729 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1<bool>:.ctor (System.Threading.Tasks.Task`1<bool>,bool)
50 50 116196 System.Net.Sockets.Socket:get_CleanedUp ()
50 50 116202 System.Net.WebOperation:get_Request ()
49 0 5 System.Configuration.Configuration:GetSection (string)
49 0 1 System.Net.HttpWebRequest:RunWithTimeout<T_REF> (System.Func`2<System.Threading.CancellationToken, System.Threading.Tasks.Task`1<T_REF>>)
49 1 4 System.Net.WebOperation/<Run>d__58:MoveNext ()
49 31 38728 System.Net.Sockets.SocketAsyncResult:get_Handle ()
47 0 5 System.Configuration.ConfigurationSectionCollection:get_Item (string)
47 30 38725 System.Net.BufferedReadStream/<ProcessReadAsync>d__2:SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine)
47 1 2 System.Net.WebConnection/<InitConnection>d__19:MoveNext ()
46 30 38726 System.Threading.Tasks.TaskFactory`1/FromAsyncTrimPromise`1<int, System.IO.Stream>:.ctor (System.IO.Stream,System.Func`3<System.IO.Stream, System.IAsyncResult, int>)
46 31 37469 System.Net.HttpWebRequest/<RunWithTimeoutWorker>d__244`1<int>:SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine)
46 0 1 System.Net.HttpWebRequest:MyGetResponseAsync (System.Threading.CancellationToken)
45 29 37645 System.Net.ServicePointScheduler/<WaitAsync>d__46:SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine)
45 2 2 System.Net.WebConnection/<Connect>d__16:MoveNext ()
45 30 38725 System.Net.FixedSizeReadStream/<ProcessReadAsync>d__5:SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine)
45 30 38728 System.Net.Sockets.SocketAsyncResult:.ctor (System.Net.Sockets.Socket,System.AsyncCallback,object,System.Net.Sockets.SocketOperation)
45 45 116178 System.Net.WebReadStream:get_InnerStream ()
44 3 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Net.HttpWebResponse>:Start<System.Net.HttpWebRequest/<MyGetResponseAsync>d__246> (System.Net.HttpWebRequest/<MyGetResponseAsync>d__246&)
44 30 37020 System.Net.WebResponseStream/<ReadAsync>d__40:SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine)
43 43 77962 (wrapper stelemref) object:virt_stelemref_sealed_class (intptr,object)
42 42 38791 (wrapper managed-to-native) object:__icall_wrapper_ves_icall_object_new_specific (intptr)
42 0 6 System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>:TrySetResult (System.Threading.Tasks.VoidTaskResult)
42 0 1 System.Net.ServicePointScheduler:RunSchedulerIteration ()
41 1 2 System.Net.ServicePointScheduler:SchedulerIteration (System.Net.ServicePointScheduler/ConnectionGroup)
39 1 1 System.Net.ServicePointScheduler/ConnectionGroup:CreateOrReuseConnection (System.Net.WebOperation,bool)
38 38 77456 System.IOAsyncResult:get_AsyncCallback ()
37 0 1 System.Net.HttpWebRequest:SendRequest (bool,System.Net.BufferOffsetSize,System.Threading.CancellationToken)
37 0 4 System.Configuration.SectionGroupInfo:ReadContent (System.Xml.XmlReader,System.Configuration.Configuration,bool,bool)
37 1 12 System.Configuration.SectionGroupInfo:ReadConfig (System.Configuration.Configuration,string,System.Xml.XmlReader)
36 36 77456 System.IOAsyncResult:get_CompletedSynchronously ()
36 0 1 System.Net.WebConnection:StartOperation (System.Net.WebOperation,bool)
35 0 1 System.Net.WebOperation:Run ()
35 0 1 System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<System.Net.WebOperation/<Run>d__58> (System.Net.WebOperation/<Run>d__58&)
33 0 1 System.Net.WebConnection:InitConnection (System.Net.WebOperation,System.Threading.CancellationToken)
33 0 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Net.WebRequestStream>:Start<System.Net.WebConnection/<InitConnection>d__19> (System.Net.WebConnection/<InitConnection>d__19&)
32 1 1 System.Net.HttpWebRequest:GetServicePoint ()
31 21 37470 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<bool>:UnsafeOnCompleted (System.Action)
31 31 77455 System.Net.WebReadStream:get_Operation ()
31 0 1 System.Net.WebConnection:Connect (System.Net.WebOperation,System.Threading.CancellationToken)
31 0 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start<System.Net.WebConnection/<Connect>d__16> (System.Net.WebConnection/<Connect>d__16&)
31 4 50 (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo:InternalInvoke (System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&)
29 0 1 System.Configuration.SectionGroupInfo:ReadRootData (System.Xml.XmlReader,System.Configuration.Configuration,bool)
28 1 562 System.Xml.XmlTextReader:Read ()
28 3 19 (wrapper managed-to-native) object:__icall_wrapper_mono_generic_class_init (intptr)
27 0 16 System.Configuration.SectionInfo:ReadData (System.Configuration.Configuration,System.Xml.XmlReader,bool)
27 3 562 System.Xml.XmlTextReaderImpl:Read ()
26 0 16 System.Xml.XmlReader:ReadOuterXml ()
24 9 69 (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
23 0 37 System.ComponentModel.TypeDescriptor:GetConverter (System.Type)
23 0 5 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Threading.Tasks.VoidTaskResult>:SetResult (System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>)
23 0 9 System.Configuration.ConfigInfo:CreateInstance ()
23 0 4 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Threading.Tasks.VoidTaskResult>:SetResult (System.Threading.Tasks.VoidTaskResult)
22 1 16 System.Xml.XmlWriter:WriteNode (System.Xml.XmlReader,bool)
22 0 8 System.Configuration.SectionInfo:CreateInstance ()
22 22 38740 System.Net.WebConnectionStream:get_Operation ()
22 1 1 System.Net.ServicePointManager:FindServicePoint (System.Uri,System.Net.IWebProxy)
22 22 38732 (wrapper managed-to-native) System.Threading.Timer:GetTimeMonotonic ()
21 21 38727 System.Net.WebResponseStream:get_CanRead ()
21 21 38728 System.IOAsyncResult:get_IsCompleted ()
21 21 38728 System.Net.Sockets.SocketAsyncResult:CheckIfThrowDelayedException ()
21 21 38727 (wrapper managed-to-native) System.Threading.Monitor:Monitor_pulse (object)
21 21 38728 System.IOAsyncResult:get_AsyncState ()
21 21 38727 System.Net.Sockets.SocketAsyncResult:get_ErrorCode ()
20 0 1 System.Net.HttpRequestCreator:Create (System.Uri)
20 20 38728 System.Net.Sockets.Socket:ValidateEndIAsyncResult (System.IAsyncResult,string,string)
19 19 38732 (wrapper stelemref) object:virt_stelemref_complex (intptr,object)
19 0 37 System.ComponentModel.TypeDescriptor/TypeDescriptionNode/DefaultTypeDescriptor:System.ComponentModel.ICustomTypeDescriptor.GetConverter ()
19 0 37 System.ComponentModel.ReflectTypeDescriptionProvider:GetConverter (System.Type,object)
18 1 37 System.ComponentModel.ReflectTypeDescriptionProvider/ReflectedTypeData:GetConverter (object)
18 18 38729 System.Net.Sockets.Socket:get_Handle ()
17 17 38736 System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>:.ctor ()
17 0 1 System.Net.ServicePoint:get_HostEntry ()
17 0 3 System.Configuration.ConfigurationProperty:.ctor (string,System.Type,object,System.Configuration.ConfigurationPropertyOptions)
17 17 38729 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<bool>:.ctor (System.Threading.Tasks.Task`1<bool>,bool)
17 17 38729 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1/ConfiguredTaskAwaiter<bool>:get_IsCompleted ()
17 0 1 System.Net.Dns:GetHostEntry (string)
17 0 1 System.Net.Configuration.WebRequestModulesSection:.cctor ()
17 17 38729 System.Threading.Tasks.Task`1<bool>:get_ResultOnSuccess ()
16 16 37647 System.Threading.Tasks.Task`1<bool>:.ctor ()
16 1 181 System.Xml.XmlWriter:WriteAttributes (System.Xml.XmlReader,bool)
16 5 2976 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<int>:GetTaskForResult (int)
16 16 38730 (wrapper remoting-invoke-with-check) System.Threading.Timer:KeepRootedWhileScheduled ()
16 16 38728 System.Net.WebCompletionSource`1/Result<T_REF>:.ctor (System.Net.WebCompletionSource`1/Status<T_REF>,System.Runtime.ExceptionServices.ExceptionDispatchInfo)
16 16 38728 System.IOSelectorJob:.ctor (System.IOOperation,System.IOAsyncCallback,System.IOAsyncResult)
16 16 37645 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<bool>:SetStateMachine (System.Runtime.CompilerServices.IAsyncStateMachine)
15 15 38727 System.Net.FixedSizeReadStream:get_ContentLength ()
15 0 1 System.Threading.Tasks.TaskFactory`1/<>c__DisplayClass38_0`1<System.Threading.Tasks.VoidTaskResult, System.Net.EndPoint>:<FromAsyncImpl>b__0 (System.IAsyncResult)
15 1 558 System.Xml.XmlTextReaderImpl:ParseElementContent ()
15 15 38727 System.Net.WebResponseStream/<>c__DisplayClass41_0:.ctor ()
15 15 38729 System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1<bool>:GetAwaiter ()
15 15 38726 System.Net.Sockets.NetworkStream:get_CanRead ()
15 15 38731 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<bool>:Create ()
15 0 1 System.Threading.Tasks.TaskFactory`1<System.Threading.Tasks.VoidTaskResult>:FromAsyncCoreLogic (System.IAsyncResult,System.Func`2<System.IAsyncResult, System.Threading.Tasks.VoidTaskResult>,System.Action`1<System.IAsyncResult>,System.Threading.Tasks.Task`1<System.Threading.Tasks.VoidTaskResult>,bool)
15 0 1 Mono.Net.CFNetwork/CFWebProxy:IsBypassed (System.Uri)
15 15 38727 System.Net.WebConnectionStream:get_ReadTimeout ()
15 0 75 System.Configuration.PropertyInformation:get_Value ()
15 0 1 Mono.Net.CFNetwork/CFWebProxy:GetProxy (System.Uri)
15 15 38727 System.Net.Sockets.Socket:ThrowIfBufferOutOfRange (byte[],int,int)
15 15 38727 System.Net.Sockets.Socket:ThrowIfBufferNull (byte[])
15 0 1 System.Net.Dns:GetHostByName (string)
14 14 38727 System.Net.Sockets.Socket/<>c__DisplayClass308_0:.ctor ()
14 14 38728 System.IOAsyncResult:.ctor (System.AsyncCallback,object)
13 0 2 System.Net.WebRequestStream/<Initialize>d__36:MoveNext ()
13 0 57 System.ComponentModel.TypeDescriptor:GetAttributes (System.Type)
13 0 1 System.Configuration.ConfigurationSection:DeserializeSection (System.Xml.XmlReader)
13 1 5 System.Configuration.ConfigurationElement:DeserializeElement (System.Xml.XmlReader,bool)
12 1 1 System.Configuration.ConfigurationSection:DoDeserializeSection (System.Xml.XmlReader)
12 0 60 System.Xml.XmlReader:MoveToContent ()
12 0 57 System.ComponentModel.TypeDescriptor/TypeDescriptionNode/DefaultTypeDescriptor:System.ComponentModel.ICustomTypeDescriptor.GetAttributes ()
12 0 2 System.Net.WebRequestStream/<SetHeadersAsync>d__37:MoveNext ()
12 0 57 System.ComponentModel.ReflectTypeDescriptionProvider:GetAttributes (System.Type)
12 1 2 System.Configuration.InternalConfigurationHost:OpenStreamForRead (string)
11 2 57 System.ComponentModel.ReflectTypeDescriptionProvider/ReflectedTypeData:GetAttributes ()
11 0 4 System.Net.WebCompletionSource`1/<WaitForCompletion>d__15<T_REF>:MoveNext ()
11 0 1 (wrapper remoting-invoke-with-check) System.Net.HttpWebRequest:.ctor (System.Uri)
10 0 1 System.Net.HttpWebRequest:.ctor (System.Uri)
10 1 215 System.Xml.XmlTextReaderImpl:ParseElement ()
10 0 1 (wrapper remoting-invoke-with-check) System.Net.WebRequestStream:Initialize (System.Threading.CancellationToken)
10 0 16 System.Configuration.ConfigurationElement:Reset (System.Configuration.ConfigurationElement)
10 0 1 System.Net.WebRequestStream:Initialize (System.Threading.CancellationToken)
10 0 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start<System.Net.WebRequestStream/<Initialize>d__36> (System.Net.WebRequestStream/<Initialize>d__36&)
9 0 13 System.Configuration.ElementInformation:Reset (System.Configuration.ElementInformation)
9 0 1 System.Net.Sockets.Socket:get_FamilyHint ()
9 0 1 ConfigXmlTextReader:.ctor (System.IO.Stream,string)
9 0 1 System.Net.HttpWebRequest:.cctor ()
9 0 4 System.Net.Sockets.Socket:get_OSSupportsIPv4 ()
9 0 1 System.Net.ServicePointManager:.cctor ()
9 0 1 Mono.Net.CFNetwork:GetSystemProxySettings ()
9 2 2 System.Net.WebResponseStream/<InitReadAsync>d__51:MoveNext ()
9 0 12 System.Net.Sockets.Socket:InitializeSockets ()
9 0 1 System.Configuration.ConfigurationSettings:GetConfig (string)
9 0 31 System.Configuration.PropertyInformation:Reset (System.Configuration.PropertyInformation)
9 0 1 System.Net.WebRequestStream:SetHeadersAsync (bool,System.Threading.CancellationToken)
8 0 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start<System.Net.WebRequestStream/<SetHeadersAsync>d__37> (System.Net.WebRequestStream/<SetHeadersAsync>d__37&)
8 0 1 System.Xml.XmlTextReader:.ctor (System.IO.Stream)
8 0 3 System.Configuration.SectionGroupInfo:ReadData (System.Configuration.Configuration,System.Xml.XmlReader,bool)
8 0 2 System.Net.Sockets.Socket:IsProtocolSupported (System.Net.NetworkInformation.NetworkInterfaceComponent)
8 0 1 System.Net.WebRequest:get_InternalDefaultWebProxy ()
8 1 85 System.Configuration.SectionInfo:ReadConfig (System.Configuration.Configuration,string,System.Xml.XmlReader)
8 0 1 System.Net.Configuration.DefaultProxySectionInternal:GetSection ()
8 0 211 System.Xml.XmlTextReader:Skip ()
8 0 1 System.Xml.XmlTextReaderImpl:.ctor (System.IO.Stream)
8 0 2 System.Net.NetworkInformation.NetworkInterface:GetAllNetworkInterfaces ()
7 0 36 System.Configuration.ConfigurationElement:get_Item (System.Configuration.ConfigurationProperty)
7 7 2025 (wrapper managed-to-native) object:__icall_wrapper_mono_gc_alloc_vector (intptr,intptr,intptr)
7 0 36 System.Configuration.ConfigurationElement:get_Item (string)
7 0 1 System.Uri:.cctor ()
7 0 211 System.Xml.XmlTextReaderImpl:Skip ()
7 1 1 System.Xml.XmlTextReaderImpl:.ctor (string,System.IO.Stream,System.Xml.XmlNameTable)
7 0 1 System.Net.Configuration.DefaultProxySectionInternal:GetDefaultProxy_UsingOldMonoCode ()
7 3 172 System.Xml.XmlTextReaderImpl:ParseAttributes ()
7 1 2 System.Net.NetworkInformation.SystemNetworkInterface:GetNetworkInterfaces ()
7 0 6 System.Uri:GetParts (System.UriComponents,System.UriFormat)
7 0 3 System.Uri:.ctor (string)
7 0 7 System.Uri:GetComponents (System.UriComponents,System.UriFormat)
7 0 3 System.Uri:CreateThis (string,bool,System.UriKind)
6 1 32 System.Configuration.ElementInformation:.ctor (System.Configuration.ConfigurationElement,System.Configuration.PropertyInformation)
6 0 8 System.Uri:GetComponentsHelper (System.UriComponents,System.UriFormat)
6 3 1 (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
6 0 1 System.Net.Sockets.SocketTaskExtensions:ConnectAsync (System.Net.Sockets.Socket,System.Net.EndPoint)
6 0 27 System.Configuration.ConfigurationProperty:.ctor (string,System.Type,object)
6 0 1 System.Threading.Tasks.TaskFactory`1<System.Threading.Tasks.VoidTaskResult>:FromAsyncImpl<System.Net.EndPoint> (System.Func`4<System.Net.EndPoint, System.AsyncCallback, object, System.IAsyncResult>,System.Func`2<System.IAsyncResult, System.Threading.Tasks.VoidTaskResult>,System.Action`1<System.IAsyncResult>,System.Net.EndPoint,object,System.Threading.Tasks.TaskCreationOptions)
6 1 2 System.Net.NetworkInformation.MacOsNetworkInterfaceAPI:GetAllNetworkInterfaces ()
6 0 4 System.Configuration.ConfigurationElementCollection:InitFromProperty (System.Configuration.PropertyInformation)
6 0 1 System.Net.HttpWebRequest:GetResponseFromData (System.Net.WebResponseStream,System.Threading.CancellationToken)
5 0 1 System.Net.Sockets.SocketTaskExtensions/<>c:<ConnectAsync>b__2_0 (System.Net.EndPoint,System.AsyncCallback,object)
5 0 17 System.Configuration.ConfigurationElement:InitFromProperty (System.Configuration.PropertyInformation)
5 1 2 System.Net.Configuration.ConnectionManagementData:GetMaxConnections (string)
5 2 2 System.Xml.XmlTextReaderImpl:ParseXmlDeclaration (bool)
5 0 1 System.Net.Sockets.Socket:BeginConnect (System.Net.EndPoint,System.AsyncCallback,object)
5 0 2 System.Net.ServicePointScheduler/AsyncManualResetEvent:WaitAsync (int)
5 0 1 (wrapper remoting-invoke-with-check) System.Net.HttpWebRequest:GetRequestHeaders ()
5 0 1 Mono.Net.CFProxySettings:.cctor ()
5 3 1 System.UriParser:.cctor ()
5 0 2 System.Uri:get_AbsoluteUri ()
5 0 18 System.ComponentModel.ReflectTypeDescriptionProvider:SearchIntrinsicTable (System.Collections.Hashtable,System.Type)
5 2 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.ValueTuple`5<System.Net.HttpWebResponse, bool, bool, System.Net.BufferOffsetSize, System.Net.WebOperation>>:Start<System.Net.HttpWebRequest/<GetResponseFromData>d__247> (System.Net.HttpWebRequest/<GetResponseFromData>d__247&)
5 1 1 System.Net.HttpWebRequest:GetRequestHeaders ()
5 0 1 System.Threading.Tasks.TaskFactory`1/FromAsyncTrimPromise`1<System.Threading.Tasks.VoidTaskResult, System.IO.Stream>:CompleteFromAsyncResult (System.IAsyncResult)
5 0 94 System.ComponentModel.TypeDescriptor:GetDescriptor (System.Type,string)
5 5 4 (wrapper managed-to-native) Mono.CFObject:dlopen (string,int)
5 1 3 System.Uri:InitializeUri (System.ParsingError,System.UriKind,System.UriFormatException&)
5 0 4 System.Configuration.ConfigurationElement:GetDefaultCollection ()
4 0 1 System.Threading.Tasks.TaskFactory`1/FromAsyncTrimPromise`1<System.Threading.Tasks.VoidTaskResult, System.IO.Stream>:Complete (System.IO.Stream,System.Func`3<System.IO.Stream, System.IAsyncResult, System.Threading.Tasks.VoidTaskResult>,System.IAsyncResult,bool)
4 0 1 System.Net.Sockets.Socket:BeginSConnect (System.Net.Sockets.SocketAsyncResult)
4 0 1 Mono.Net.CFNetwork:GetProxiesForUri (System.Uri,Mono.Net.CFProxySettings)
4 0 4 System.Configuration.ConfigurationElementCollection:OnDeserializeUnrecognizedElement (string,System.Xml.XmlReader)
4 0 95 System.ComponentModel.TypeDescriptor:NodeFor (System.Type)
4 0 4 System.Configuration.ConfigurationElement:get_Properties ()
4 1 1 System.Net.WebResponseStream:GetResponse (System.Net.BufferOffsetSize,int&,System.Net.ReadState&)
4 0 4 System.Configuration.ElementMap:GetMap (System.Type)
4 1 50 (wrapper runtime-invoke) object:runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr)
4 0 19 System.ComponentModel.ReflectTypeDescriptionProvider:CreateInstance (System.Type,System.Type)
4 1 1 System.Net.WebRequest:.cctor ()
3 0 95 System.ComponentModel.TypeDescriptor:NodeFor (System.Type,bool)
3 0 1 System.Net.ServicePoint:SendRequest (System.Net.WebOperation,string)
3 0 12 System.Configuration.SectionGroupInfo:ResetModified (System.Configuration.Configuration)
3 2 2 System.Configuration.ElementMap:.ctor (System.Type)
3 0 1 System.Net.ServicePointScheduler:SendRequest (System.Net.WebOperation,string)
3 1 2 System.Xml.XmlTextReaderImpl:.ctor (System.Xml.XmlNameTable)
3 0 1 System.Net.HttpWebRequest:GetHeaders ()
3 0 7 System.Net.IPAddressParser:Parse (System.ReadOnlySpan`1<char>,bool)
3 0 1 (wrapper remoting-invoke-with-check) System.Net.WebResponseStream:InitReadAsync (System.Threading.CancellationToken)
3 0 1 System.Net.ServicePointScheduler:Run ()
3 0 1 System.Net.Dns:hostent_to_IPHostEntry (string,string,string[],string[])
3 0 1 System.Net.WebResponseStream:InitReadAsync (System.Threading.CancellationToken)
3 0 1 System.Configuration.Configuration:ResetModified ()
3 0 1 System.Net.HttpWebRequest:RunWithTimeoutWorker<T_REF> (System.Threading.Tasks.Task`1<T_REF>,int,System.Action,System.Func`1<bool>,System.Threading.CancellationTokenSource)
2 1 1 System.Net.HttpWebRequest/<GetResponseFromData>d__247:MoveNext ()
2 0 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start<System.Net.WebResponseStream/<InitReadAsync>d__51> (System.Net.WebResponseStream/<InitReadAsync>d__51&)
2 1 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Net.HttpWebResponse>:Start<System.Net.HttpWebRequest/<RunWithTimeoutWorker>d__244`1<System.Net.HttpWebResponse>> (System.Net.HttpWebRequest/<RunWithTimeoutWorker>d__244`1<System.Net.HttpWebResponse>&)
2 1 1086 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<bool>:GetTaskForResult (bool)
2 0 1 System.Net.Configuration.DefaultProxySection:get_Proxy ()
2 0 6 System.Net.IPAddress:Parse (string)
2 1 120 System.ComponentModel.TypeDescriptor:CheckDefaultProvider (System.Type)
2 1 3 System.Uri:PrivateParseMinimal ()
2 1 279 System.Xml.XmlTextReaderImpl:ParseText ()
2 0 2 System.Net.WebCompletionSource`1<T_REF>:WaitForCompletion ()
2 0 1 System.Xml.XmlTextReaderImpl:InitStreamInput (System.IO.Stream,System.Text.Encoding)
2 0 16 System.SecurityUtils:SecureCreateInstance (System.Type)
2 0 58 System.ComponentModel.ReflectTypeDescriptionProvider:ReflectGetAttributes (System.Type)
2 0 1 System.Net.WebOperation:GetRequestStreamInternal ()
2 0 1 System.Net.Configuration.DefaultProxySectionInternal:GetSystemWebProxy ()
2 0 1 System.Net.Sockets.Socket:.ctor (System.Net.Sockets.AddressFamily,System.Net.Sockets.SocketType,System.Net.Sockets.ProtocolType)
2 1 16 System.SecurityUtils:SecureCreateInstance (System.Type,object[],bool)
2 0 566 System.Xml.XmlTextReader:get_Value ()
2 0 31 (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
2 0 7 System.Configuration.ConfigurationProperty:.ctor (string,System.Type)
2 1 1 Mono.Net.CFNetwork:GetProxiesForURL (Mono.Net.CFUrl,Mono.Net.CFProxySettings)
2 2 4 System.Uri:GetEscapedParts (System.UriComponents)
2 0 413 System.Xml.XmlTextReaderImpl:AddAttribute (int,int)
2 2 1 (wrapper managed-to-native) Mono.Net.CFNetwork:CFNetworkCopySystemProxySettings ()
2 1 1 System.Xml.XmlTextReaderImpl:InitStreamInput (System.Uri,string,System.IO.Stream,byte[],int,System.Text.Encoding)
2 0 1 System.Net.Configuration.ProxyElement:.cctor ()
2 0 1 System.Net.WebProxy:CreateDefaultProxy ()
2 0 16 System.Xml.XmlReader:CreateWriterForInnerOuterXml (System.IO.StringWriter)
2 1 2 System.Platform:get_IsMacOS ()
2 0 1 (wrapper remoting-invoke-with-check) System.IO.Stream/NullStream:.ctor ()
2 0 1 System.Net.Configuration.SettingsSection:.cctor ()
1 1 1 System.Xml.XmlTextReaderImpl:SwitchEncoding (System.Text.Encoding)
1 1 8 System.Uri:EnsureParseRemaining ()
1 1 1 System.Net.WebRequest:GetResponseAsync ()
1 0 566 System.Xml.XmlTextReaderImpl:get_Value ()
1 0 1 System.Net.IPEndPoint:Serialize ()
1 0 2 System.Net.HttpWebRequest/<RunWithTimeoutWorker>d__244`1<T_REF>:MoveNext ()
1 0 35 System.Xml.XmlCharType:get_Instance ()
1 0 1 System.Net.Configuration.HttpWebRequestElement:.cctor ()
1 0 740 System.Xml.XmlTextReaderImpl/NodeData:get_StringValue ()
1 0 19 System.ComponentModel.AttributeCollection:get_Item (System.Type)
1 0 662 (wrapper managed-to-managed) string:.ctor (char[],int,int)
1 0 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Threading.Tasks.VoidTaskResult>:SetException (System.Exception)
1 0 348 System.Xml.XmlTextReader:ReadAttributeValue ()
1 1 3 System.Net.IPAddressParser:Ipv6StringToAddress (System.ReadOnlySpan`1<char>,uint16*,int,uint&)
1 0 8 System.Configuration.ConfigurationElementCollection:CreateNewElementInternal (string)
1 0 17 System.Xml.XmlReader:ReadStartElement ()
1 0 628 System.Xml.NameTable:Add (char[],int,int)
1 0 1 System.Net.WebHeaderCollection:.cctor ()
1 0 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<System.Net.WebRequestStream>:Start<System.Net.WebCompletionSource`1/<WaitForCompletion>d__15<System.Net.WebRequestStream>> (System.Net.WebCompletionSource`1/<WaitForCompletion>d__15<System.Net.WebRequestStream>&)
1 0 3 System.Buffers.TlsOverPerCoreLockedStacksArrayPool`1<byte>:Gen2GcCallbackFunc (object)
1 1 1566 System.Xml.XmlTextReader:get_NodeType ()
1 0 1 System.Net.Sockets.Socket:SocketDefaults ()
1 0 8 System.Net.Configuration.WebRequestModuleElementCollection:CreateNewElement ()
1 1 113 (wrapper managed-to-native) object:__icall_wrapper_mono_monitor_enter_v4_internal (object,intptr)
1 0 1 System.Net.SocketAddress:.ctor (System.Net.IPAddress,int)
1 0 2 System.Net.ServicePointManager/SPKey:GetHashCode ()
1 0 1 System.Net.WebConnection:CreateStream (System.Net.WebOperation,bool,System.Threading.CancellationToken)
1 1 169 (wrapper managed-to-native) System.MonoCustomAttrs:GetCustomAttributesInternal (System.Reflection.ICustomAttributeProvider,System.Type,bool)
1 0 2 System.Uri:get_Authority ()
1 0 1 System.Net.Configuration.DefaultProxySection:.cctor ()
1 0 2 System.Array:Sort<ulong, string> (ulong[],string[],System.Collections.Generic.IComparer`1<ulong>)
1 0 79 System.Configuration.ConfigurationElement:get_ElementInformation ()
1 0 2 System.Threading.Tasks.UnwrapPromise`1<System.Threading.Tasks.VoidTaskResult>:Invoke (System.Threading.Tasks.Task)
1 0 142 System.Xml.XmlTextWriter:WriteWhitespace (string)
1 0 1 System.Net.Configuration.WebRequestModuleElement:.cctor ()
1 0 1 System.Xml.XmlCharType:InitInstance ()
1 0 2 System.Uri:GetHashCode ()
1 1 2973 System.Threading.Tasks.Task`1<int>:.ctor (int)
1 0 1 System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1<bool>:Start<System.Net.WebConnection/<CreateStream>d__18> (System.Net.WebConnection/<CreateStream>d__18&)
1 0 1 System.ComponentModel.TypeDescriptor:.cctor ()
1 0 1 System.Net.TimerThread:.cctor ()
1 0 888 System.Xml.XmlTextWriter:AutoComplete (System.Xml.XmlTextWriter/Token)
1 0 1 System.Net.ServicePointScheduler/AsyncManualResetEvent:Set ()
1 0 3 System.Xml.XmlTextReaderImpl:ParseDocumentContent ()
1 0 96 System.Configuration.SectionGroupInfo:AddChild (System.Configuration.ConfigInfo)
1 0 1 System.Net.ServicePoint:.ctor (System.Net.ServicePointManager/SPKey,System.Uri,int,int)
1 0 2 System.Threading.Tasks.UnwrapPromise`1<System.Threading.Tasks.VoidTaskResult>:InvokeCore (System.Threading.Tasks.Task)
1 0 1 System.Net.Sockets.Socket/<>c:<.cctor>b__318_4 (System.IOAsyncResult)
1 0 1 System.Net.Sockets.Socket:Connect_internal (System.Net.Sockets.SafeSocketHandle,System.Net.SocketAddress,int&,bool)
1 0 2 System.Array:Sort<ulong, string> (ulong[],string[],int,int,System.Collections.Generic.IComparer`1<ulong>)
1 0 1 (wrapper remoting-invoke-with-check) System.Net.WebRequestStream:WriteRequestAsync (System.Threading.CancellationToken)
1 1 1 (wrapper managed-to-native) System.Net.Dns:GetHostByName_internal (string,string&,string[]&,string[]&,int)
1 0 1 Mono.Net.CFUrl:Create (string)
1 0 3 System.Uri:ParseScheme (string,System.Uri/Flags&,System.UriParser&)
1 0 348 System.Xml.XmlTextReaderImpl:ReadAttributeValue ()
1 0 1 (wrapper remoting-invoke-with-check) System.Net.HttpWebResponse:.ctor (System.Uri,string,System.Net.WebResponseStream,System.Net.CookieContainer)
1 0 3 System.Uri:CheckForUnicode (string)
1 0 1 System.Net.SocketAddress:.ctor (System.Net.IPAddress)
1 0 152 (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:PtrToStructure (intptr,System.Type)
1 0 19 System.SecurityUtils:SecureConstructorInvoke (System.Type,System.Type[],object[],bool)
1 0 5 System.Configuration.ConfigurationSectionGroupCollection:get_Item (string)
1 0 3 System.Net.Sockets.Socket:SetSocketOption (System.Net.Sockets.SocketOptionLevel,System.Net.Sockets.SocketOptionName,int)
1 0 1 System.Diagnostics.BooleanSwitch:.ctor (string,string)
1 0 1 System.Threading.Tasks.TaskFactory`1<System.Threading.Tasks.VoidTaskResult>:FromAsyncTrim<System.IO.Stream, System.IO.Stream/ReadWriteParameters> (System.IO.Stream,System.IO.Stream/ReadWriteParameters,System.Func`5<System.IO.Stream, System.IO.Stream/ReadWriteParameters, System.AsyncCallback, object, System.IAsyncResult>,System.Func`3<System.IO.Stream, System.IAsyncResult, System.Threading.Tasks.VoidTaskResult>)
1 0 109 System.Xml.XmlTextWriter:WriteStartElement (string,string,string)
1 0 8 System.Net.WebHeaderCollection:SetInternal (string,string)
1 0 1 System.Net.WebRequestStream:WriteRequestAsync (System.Threading.CancellationToken)
1 0 515 System.Xml.XmlTextReader:MoveToNextAttribute ()
1 0 96 System.Configuration.ConfigInfoCollection:set_Item (string,System.Configuration.ConfigInfo)
1 0 1 System.Net.Sockets.Socket:set_DontFragment (bool)
1 1 4 System.Uri:ReCreateParts (System.UriComponents,uint16,System.UriFormat)
1 0 1 System.Net.TimerThread:CreateQueue (int)
1 0 3 System.Buffers.TlsOverPerCoreLockedStacksArrayPool`1<byte>:Trim ()
1 1 7 System.UriHelper:UnescapeString (string,int,int,char[],int&,char,char,char,System.UnescapeMode,System.UriParser,bool)
1 0 18 System.ComponentModel.AttributeCollection:GetDefaultAttribute (System.Type)
1 0 19 System.SecurityUtils:SecureConstructorInvoke (System.Type,System.Type[],object[],bool,System.Reflection.BindingFlags)
1 0 1 System.Configuration.InternalConfigurationSystem:Init (System.Type,object[])
1 0 2 System.Uri:GetUnescapedParts (System.UriComponents,System.UriFormat)
1 0 4 (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
1 0 184 System.Collections.Specialized.NameObjectCollectionBase:BaseAdd (string,object)
1 0 1 (wrapper remoting-invoke-with-check) System.Net.WebRequestStream:.ctor (System.Net.WebConnection,System.Net.WebOperation,System.IO.Stream,System.Net.WebConnectionTunnel)
1 0 1 System.Configuration.Configuration:GetSectionGroupInstance (System.Configuration.SectionGroupInfo)
1 0 3 System.Uri:CheckAuthorityHelper (char*,uint16,uint16,System.ParsingError&,System.Uri/Flags&,System.UriParser,string&)
1 0 110 System.Collections.Specialized.NameObjectCollectionBase:BaseSet (string,object)
1 1 1 (wrapper managed-to-native) System.Globalization.CultureInfo:get_current_locale_name ()
Total calls: 17018724
Metadata summary
Loaded images: 11
Loaded assemblies: 6
Exception summary
Throws: 5
Executed catch clauses: 5
Executed finally clauses: 850086
Thread summary
Thread: 0x700005c66000, name: "Thread Pool Worker"
Thread: 0x700005a63000, name: "Thread Pool I/O Selector"
Thread: 0x700005860000, name: "Timer-Scheduler"
Thread: 0x70000565d000, name: "Thread Pool Worker"
Thread: 0x70000545a000, name: "Thread Pool Worker"
Thread: 0x700004d4b000, name: ""
Thread: 0x700005151000, name: "Thread Pool Worker"
Thread: 0x700004f4e000, name: "Thread Pool Worker"
Thread: 0x7000049bf000, name: "Profiler Sampler"
Thread: 0x7000047bc000, name: "Finalizer"
Thread: 0x113a585c0, name: "Main"
Thread: 0x700004b48000, name: "Profiler Dumper"
Thread: 0x700004a42000, name: "Profiler Helper"
Thread: 0x700004ac5000, name: "Profiler Writer"
Domain summary
Domain: 0x0, friendly name: "Program.exe"
Context summary
Context: 0x0, domain: 0x0
Heap shot summary
Heap shot 0 at 0.059 secs: size: 41070024, object count: 587, class count: 101, roots: 0
Bytes Count Average Class name
41031328 5 8206265 System.Byte[]
23408 400 58 unresolved class 0x0
1680 2 840 System.Collections.Generic.Dictionary.Entry<System.String,System.UriParser>[]
1152 16 72 System.String[]
1064 9 118 System.Int32[]
640 16 40 System.UriParser.BuiltInUriParser
576 1 576 System.Xml.XmlTextReaderImpl
512 4 128 System.Collections.Hashtable.bucket[]
512 2 256 System.Runtime.CompilerServices.Ephemeron[]
392 8 49 System.Char[]
384 3 128 System.Reflection.MemberFilter
328 1 328 System.Xml.NameTable.Entry[]
320 4 80 System.Collections.Hashtable
256 1 256 System.Globalization.CultureInfo
256 1 256 System.Globalization.NumberFormatInfo
256 1 256 System.Globalization.CalendarData[]
240 2 120 System.Configuration.Configuration
200 1 200 System.Buffers.TlsOverPerCoreLockedStacksArrayPool.PerCoreLockedStacks<System.Byte>[]
200 1 200 System.Buffers.TlsOverPerCoreLockedStacksArrayPool.PerCoreLockedStacks<System.Int32>[]
200 1 200 System.AppDomainSetup
200 1 200 System.Byte[][]
192 12 16 System.Object
168 3 56 System.Runtime.Serialization.SafeSerializationManager
160 1 160 System.Xml.XmlTextReaderImpl.NodeData
160 1 160 System.AppDomain
160 1 160 System.Globalization.CultureData
160 1 160 System.StackOverflowException
160 1 160 System.Globalization.CalendarData
160 1 160 System.NullReferenceException
160 1 160 System.OutOfMemoryException
Heap shot 1 at 37.179 secs: size: 57095136, object count: 215552, class count: 343, roots: 0
Bytes Count Average Class name
41037712 15 2735847 System.Byte[] (bytes: +6384, count: +10)
3857792 30139 128 System.Threading.Tasks.Task.DelayPromise
2411600 30145 80 System.Threading.Tasks.Task.ContingentProperties
2411120 30139 80 System.Threading.Timer
1929152 30143 64 System.Threading.CancellationTokenSource
1929024 30141 64 System.Threading.CancellationCallbackInfo[]
1446768 30141 48 System.Threading.CancellationCallbackInfo
1446768 30141 48 System.Threading.SparselyPopulatedArrayFragment<System.Threading.CancellationCallbackInfo>
262208 2 131104 System.Threading.Timer[]
185808 2357 78 unresolved class 0x0 (bytes: +162400, count: +1957)
29504 69 427 System.Collections.Hashtable.bucket[] (bytes: +28992, count: +65)
13128 123 106 System.Char[] (bytes: +12736, count: +115)
8000 1 8000 System.Globalization.InternalEncodingDataItem[]
6800 85 80 System.Configuration.SectionInfo
5888 184 32 System.Collections.Specialized.NameObjectCollectionBase.NameObjectEntry
5528 70 78 System.Object[] (bytes: +5448, count: +68)
5440 68 80 System.Collections.Hashtable (bytes: +5120, count: +64)
5376 56 96 System.Reflection.RuntimePropertyInfo
5040 105 48 Mono.Globalization.Unicode.Contraction
4608 72 64 System.Configuration.PropertyInformation
4264 26 164 System.Int32[] (bytes: +3200, count: +17)
3280 82 40 System.Reflection.RuntimeMethodInfo
3144 40 78 System.String[] (bytes: +1992, count: +24)
2960 37 80 System.Configuration.ConfigurationProperty
2928 75 39 System.Attribute[]
2800 70 40 System.Collections.ArrayList (bytes: +2720, count: +68)
2800 35 80 System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData
2560 32 80 System.Configuration.PropertyInformationCollection
2432 19 128 System.ComponentModel.AttributeCollection.AttributeEntry[]
2120 53 40 System.Net.HeaderInfo
Heap shot 2 at 48.050 secs: size: 20796376, object count: 275695, class count: 345, roots: 0
Bytes Count Average Class name
4957440 38730 128 System.Threading.Tasks.Task.DelayPromise (bytes: +1099648, count: +8591)
3098800 38735 80 System.Threading.Tasks.Task.ContingentProperties (bytes: +687200, count: +8590)
3098400 38730 80 System.Threading.Timer (bytes: +687280, count: +8591)
2478912 38733 64 System.Threading.CancellationTokenSource (bytes: +549760, count: +8590)
2478848 38732 64 System.Threading.CancellationCallbackInfo[] (bytes: +549824, count: +8591)
1859136 38732 48 System.Threading.CancellationCallbackInfo (bytes: +412368, count: +8591)
1859136 38732 48 System.Threading.SparselyPopulatedArrayFragment<System.Threading.CancellationCallbackInfo> (bytes: +412368, count: +8591)
524352 2 262176 System.Threading.Timer[] (bytes: +262144, count: +0)
187104 2372 78 unresolved class 0x0 (bytes: +1296, count: +15)
77680 14 5548 System.Byte[] (bytes: -40960032, count: -1)
29504 69 427 System.Collections.Hashtable.bucket[] (bytes: +0, count: +0)
13128 123 106 System.Char[] (bytes: +0, count: +0)
8000 1 8000 System.Globalization.InternalEncodingDataItem[] (bytes: +0, count: +0)
6800 85 80 System.Configuration.SectionInfo (bytes: +0, count: +0)
5888 184 32 System.Collections.Specialized.NameObjectCollectionBase.NameObjectEntry (bytes: +0, count: +0)
5528 70 78 System.Object[] (bytes: +0, count: +0)
5440 68 80 System.Collections.Hashtable (bytes: +0, count: +0)
5376 56 96 System.Reflection.RuntimePropertyInfo (bytes: +0, count: +0)
5040 105 48 Mono.Globalization.Unicode.Contraction (bytes: +0, count: +0)
4608 72 64 System.Configuration.PropertyInformation (bytes: +0, count: +0)
4216 25 168 System.Int32[] (bytes: -48, count: -1)
3360 84 40 System.Reflection.RuntimeMethodInfo (bytes: +80, count: +2)
3112 39 79 System.String[] (bytes: -32, count: -1)
2960 37 80 System.Configuration.ConfigurationProperty (bytes: +0, count: +0)
2928 75 39 System.Attribute[] (bytes: +0, count: +0)
2800 70 40 System.Collections.ArrayList (bytes: +0, count: +0)
2800 35 80 System.ComponentModel.ReflectTypeDescriptionProvider.ReflectedTypeData (bytes: +0, count: +0)
2560 32 80 System.Configuration.PropertyInformationCollection (bytes: +0, count: +0)
2432 19 128 System.ComponentModel.AttributeCollection.AttributeEntry[] (bytes: +0, count: +0)
2120 53 40 System.Net.HeaderInfo (bytes: +0, count: +0)
Counters:
Mono System:
User Time : 93621.615ms
System Time : 57484.400ms
Total Time : 151106.081ms
Working Set : 70492160
Private Bytes : 52609024
Virtual Bytes : 1110384640
Page Faults : 0
CPU Load Average - 1min : 4.664551
CPU Load Average - 5min : 2.745605
CPU Load Average - 15min : 2.180176
Mono JIT:
Methods from AOT : 1277
Methods JITted using mono JIT : 1618
Methods JITted using LLVM : 0
The above was with
using System;
using System.IO;
using System.Net;
using System.Net.Sockets;
using System.Net.Security;
class X
{
static void Main ()
{
byte[] buffer = new byte[40960000];
WebRequest wr = WebRequest.Create ("http://cdimage.ubuntu.com/releases/18.04.2/release/ubuntu-18.04.2-server-amd64.iso");
WebResponse wresp = wr.GetResponse ();
using (var respstream = wresp.GetResponseStream ()) {
int readed = 0;
do {
readed = respstream.Read (buffer, 0, buffer.Length);
} while (readed > 0);
}
}
}
If you For example, have 200 worker threads and execute one web request at a time. The asynchronization of the webstack creates so many additional threads that Linux dies.
Is there a way to disable the asynchronization in the webstack?
moved from https://github.com/xamarin/xamarin-macios/issues/6502
Steps to Reproduce
Expected Behavior
On Windows it uses less than 1% CPU
Actual Behavior
On Mac it uses 100% CPU and the download speed is much slower.
Environment
On which platforms did you notice this
[x] macOS [ ] Linux [ ] Windows