Skip to content

Instantly share code, notes, and snippets.

mmap_write flush=false doing 524288 iterations of 4096 size for 2147483648 total
Total time 3783.905000
Value Percentile TotalCount 1/(1-Percentile)
0.000 0.000000 524070 1.00
0.000 0.100000 524070 1.11
0.000 0.200000 524070 1.25
0.000 0.300000 524070 1.43
0.000 0.400000 524070 1.67
0.000 0.500000 524070 2.00
➜ new-eventstore-poc git:(master) ✗ ./shitbird
file_write flush=true doing 524288 iterations of 4096 size for 2147483648 total
\Total time 359052.524000
Value Percentile TotalCount 1/(1-Percentile)
0.000 0.000000 517534 1.00
0.000 0.100000 517534 1.11
0.000 0.200000 517534 1.25
0.000 0.300000 517534 1.43
0.000 0.400000 517534 1.67
0.000 0.200000 524279 1.25
0.000 0.300000 524279 1.43
0.000 0.400000 524279 1.67
0.000 0.500000 524279 2.00
0.000 0.550000 524279 2.22
0.000 0.600000 524279 2.50
0.000 0.650000 524279 2.86
0.000 0.700000 524279 3.33
0.000 0.750000 524279 4.00
0.000 0.775000 524279 4.44
- threads();;
val it :
System.Collections.Generic.IEnumerable<PrivateEye.Bridge.profilersession.ThreadInformation>
= seq
[PrivateEye.Bridge.profilersession.ThreadInformation {Stack = null;};
PrivateEye.Bridge.profilersession.ThreadInformation
{Stack = [|PrivateEye.Bridge.profilersession.StackEntry;
PrivateEye.Bridge.profilersession.StackEntry|];};
PrivateEye.Bridge.profilersession.ThreadInformation
{Stack = [|PrivateEye.Bridge.profilersession.StackEntry|];};
> 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'
greg@demon:~/src/scratch$ ./shitbird 127.0.0.1
3ebc6c46-e272-4226-bcb5-aa93c411ed0d
read 22 bytes
read message bytes = 18
header is Command: Heartbeat Request, flags 0, correlation_id: bce2adc8-1e78-4d3f-9c80-9c8095a178ac
response is Command: Heartbeat Response, flags 0, correlation_id: bce2adc8-1e78-4d3f-9c80-9c8095a178ac
read 22 bytes
read message bytes = 18
greg@demon:~/src/PrivateI/scriptcs$ scriptcs -install PrivateEyePack -PackageVersion 0.1.5
Installing packages...
Installed: PrivateEyePack 0.1.5
Package installation succeeded.
Saving packages in scriptcs_packages.config...
Creating scriptcs_packages.config...
Added PrivateEyePack (v0.1.5) to scriptcs_packages.config
Successfully updated scriptcs_packages.config.
greg@demon:~/src/PrivateI/scriptcs$ scriptcs
scriptcs (ctrl-c to exit or :help for help)
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)
> Profiler.EnableAllocationTracking()
> Profiler.Data.Types.Take(10)
[
{
"Name": ".HeapNode[]",
"ThrownCount": 0,
"AllocatedCount": 9,
"AllocatedSize": 2592
},
{
Download:
windows: http://download.geteventstore.com/binaries/EventStore-OSS-Win-v3.5.0.zip
linux: http://download.geteventstore.com/binaries/EventStore-OSS-Ubuntu-14.04-v3.5.0.tar.gz
Extract zip/tarball
run EventStore.ClusterNode.exe --run-projections=none
run EventStore.TestClient --write-window 1
in testclient
wrfl 10 100000