Created
March 17, 2016 00:42
-
-
Save gregoryyoung/ab4aab547fdb35d51808 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
greg@clown:~/src/PrivateI/scriptcs$ scriptcs -install PrivateEyePack -packageversion 0.1.2 | |
Installing packages... | |
Installed: PrivateEyePack 0.1.2 | |
Package installation succeeded. | |
Saving packages in scriptcs_packages.config... | |
Creating scriptcs_packages.config... | |
Added PrivateEyePack (v0.1.2) to scriptcs_packages.config | |
Successfully updated scriptcs_packages.config. | |
greg@clown:~/src/PrivateI/scriptcs$ scriptcs | |
scriptcs (ctrl-c to exit or :help for help) | |
> using ScriptCs.PEye | |
(3,1): warning CS0105: The using directive for `ScriptCs.PEye' appeared previously in this namespace | |
> var prof = Requires<ScriptCs.PEye.PrivateEye>() | |
(1,13): error CS0103: The name `Requires' does not exist in the current context | |
> var prof = Require<ScriptCs.PEye.PrivateEye>() | |
> prof.StartListening() | |
Starting TCP listening on TCP endpoint: 127.0.0.1:4444. | |
> Segments count: 1, buffers count: 16, should be when full: 16 | |
TCP connection accepted | |
Received identification Process Id 15850, Mono PrivateEye v0.4.0 | |
> prof.EnableMethodTracking() | |
> prof.MostCalledMethods().Take(3) | |
[ | |
{ | |
"Name": "System.Boolean EventStore.Core.Bus.MessageHandler`1:TryHandle (EventStore.Core.Messaging.Message)", | |
"CalledCount": 1197672, | |
"ExceptionsThrown": 0, | |
"ExceptionsCaught": 0, | |
"AllocationsMadeCount": 0, | |
"AllocationsMadeSize": 0, | |
"EffectiveAllocationsMadeCount": 0, | |
"EffectiveAllocationsMadeSize": 0, | |
"TailCalls": 0, | |
"TotalTime": 22631504244, | |
"TimeUnder": 19775901002, | |
"AllocatedCount": 0, | |
"CallsToCount": 1, | |
"CalledFromCount": 1 | |
}, | |
{ | |
"Name": "System.Void EventStore.Core.Bus.QueueStatsCollector:ProcessingEnded (int)", | |
"CalledCount": 751281, | |
"ExceptionsThrown": 0, | |
"ExceptionsCaught": 0, | |
"AllocationsMadeCount": 0, | |
"AllocationsMadeSize": 0, | |
"EffectiveAllocationsMadeCount": 0, | |
"EffectiveAllocationsMadeSize": 0, | |
"TailCalls": 0, | |
"TotalTime": 2543986420, | |
"TimeUnder": 0, | |
"AllocatedCount": 0, | |
"CallsToCount": 0, | |
"CalledFromCount": 1 | |
}, | |
{ | |
"Name": "System.Void EventStore.Core.Bus.QueueStatsCollector:ProcessingStarted (System.Type,int)", | |
"CalledCount": 751237, | |
"ExceptionsThrown": 0, | |
"ExceptionsCaught": 0, | |
"AllocationsMadeCount": 0, | |
"AllocationsMadeSize": 0, | |
"EffectiveAllocationsMadeCount": 0, | |
"EffectiveAllocationsMadeSize": 0, | |
"TailCalls": 0, | |
"TotalTime": 1062208008, | |
"TimeUnder": 0, | |
"AllocatedCount": 0, | |
"CallsToCount": 0, | |
"CalledFromCount": 1 | |
} | |
] | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment