Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gregoryyoung/b6df540d8df8e2602a95179109cd2267 to your computer and use it in GitHub Desktop.
Save gregoryyoung/b6df540d8df8e2602a95179109cd2267 to your computer and use it in GitHub Desktop.
> startListening();;
Starting TCP listening on TCP endpoint: 127.0.0.1:4444.
val it : unit = ()
> startRecording("whatever.out", false);;
val it : unit = ()
> TCP connection accepted
- stopRecording();;
val it : unit = ()
> Lost connection to 127.0.0.1:40470 'Success'
-
- mostCalledMethods() |> Seq.take 10;;
val it : seq<PrivateEye.Bridge.profilersession.MethodInformation> =
Error: The input sequence has an insufficient number of elements.
> replayRecording("whatever.out");;
Starting replay.
val it : System.Threading.Tasks.Task =
System.Threading.Tasks.Task {AsyncState = null;
CreationOptions = None;
Exception = null;
Id = 1;
IsCanceled = false;
IsCompleted = false;
IsFaulted = false;
Status = Running;}
> Received identification Process Id 32308, Mono PrivateEye v0.4.0
Replay status 108003328/1079503797 10.0%
Replay status 216006656/1079503797 20.0%
Replay status 324009984/1079503797 30.0%
Replay status 432013312/1079503797 40.0%
Replay status 540016640/1079503797 50.0%
Replay status 648019968/1079503797 60.0%
Replay status 756023296/1079503797 70.0%
Replay status 864026624/1079503797 80.0%
Replay status 972029952/1079503797 90.0%
Replay completed.
> addFsiPrinters();;
val it : unit = ()
> mostCalledMethods() |> Seq.take 3;;
val it : seq<PrivateEye.Bridge.profilersession.MethodInformation> =
---------------------------------------------------------------------------------------------------------
|Name | Sampled| Total Time| Allocs| A. Size| AAlloc| AA. Size|Thrown|
---------------------------------------------------------------------------------------------------------
|TryHandle (EventStore.Core.Messag| 1150713| 16185.5035| 41| 2.29KB| 39| 2.22KB| 0|
|BusQueueStatsCollector:Processing| 712972| 467.6572| 0| 0 bytes| 0| 0 bytes| 0|
|QueueStatsCollector:ProcessingSta| 712812| 357.0393| 0| 0 bytes| 0| 0 bytes| 0|
---------------------------------------------------------------------------------------------------------
> resetSession();;
val it : unit = ()
> replayRecording("whatever.out");;
Starting replay.
val it : System.Threading.Tasks.Task =
System.Threading.Tasks.Task {AsyncState = null;
CreationOptions = None;
Exception = null;
Id = 2;
IsCanceled = false;
IsCompleted = false;
IsFaulted = false;
Status = Running;}
> Received identification Process Id 32308, Mono PrivateEye v0.4.0
Replay status 108003328/1079503797 10.0%
Replay status 216006656/1079503797 20.0%
Replay status 324009984/1079503797 30.0%
Replay status 432013312/1079503797 40.0%
Replay status 540016640/1079503797 50.0%
Replay status 648019968/1079503797 60.0%
Replay status 756023296/1079503797 70.0%
Replay status 864026624/1079503797 80.0%
Replay status 972029952/1079503797 90.0%
Replay completed.
mostCalledMethods() |> Seq.take 3;;
val it : seq<PrivateEye.Bridge.profilersession.MethodInformation> =
---------------------------------------------------------------------------------------------------------
|Name | Sampled| Total Time| Allocs| A. Size| AAlloc| AA. Size|Thrown|
---------------------------------------------------------------------------------------------------------
|TryHandle (EventStore.Core.Messag| 1150713| 16185.5035| 41| 2.29KB| 39| 2.22KB| 0|
|BusQueueStatsCollector:Processing| 712972| 467.6572| 0| 0 bytes| 0| 0 bytes| 0|
|QueueStatsCollector:ProcessingSta| 712812| 357.0393| 0| 0 bytes| 0| 0 bytes| 0|
---------------------------------------------------------------------------------------------------------
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment