Files
go-omni/performance/tcpBaseline.json

1736 lines
44 KiB
JSON

{
"createdAt": "2026-09-20T18:30:09Z",
"goVersion": "go1.25.0",
"platform": "darwin/arm64",
"gomaxprocs": 12,
"duration": "2s",
"notes": [
"Loopback HTTP/1.1 health response, fixed requestId, no TLS, access logs or database.",
"Each case starts a fresh server process; load client runs in the parent process on the same machine.",
"Closed-loop concurrency; throughput is successful responses / actual elapsed time, including drain.",
"Latency percentiles include failures and are histogram upper bounds with \u003c=6.25% rounding.",
"Memory is server-only runtime.MemStats (not RSS or kernel socket memory); sampling interval 200ms.",
"Idle memory measured after a forced GC; delta includes heap growth amortized across connections, excluding stacks.",
"After is after closing clients and one forced GC; afterReclaim is a second GC to observe pooled-cache release.",
"Native limits: 8192 connections / 4096 active requests. These cases do not benchmark overload rejection."
],
"results": [
{
"adapter": "nethttp",
"scenario": "traffic",
"concurrency": 1,
"run": 1,
"requests": 39462,
"errors": 0,
"elapsedSeconds": 2.000005,
"requestsPerSecond": 19730.95067262332,
"p50Millis": 0.047104,
"p95Millis": 0.077824,
"p99Millis": 0.131072,
"serverBytesPerRequest": 4454.37697024986,
"serverAllocsPerRequest": 47.08965587147129,
"sampledPeakHeapAlloc": 3492736,
"before": {
"heapAlloc": 1636640,
"heapInuse": 3588096,
"stackInuse": 557056,
"totalAlloc": 3078640,
"mallocs": 23478,
"numGc": 2,
"goroutines": 3,
"connections": 1,
"accepted": 1
},
"during": {
"heapAlloc": 1944200,
"heapInuse": 3997696,
"stackInuse": 851968,
"totalAlloc": 178857264,
"mallocs": 1881730,
"numGc": 101,
"goroutines": 3,
"connections": 1,
"accepted": 1
},
"after": {
"heapAlloc": 1719816,
"heapInuse": 3702784,
"stackInuse": 786432,
"totalAlloc": 178861424,
"mallocs": 1881740,
"numGc": 102,
"goroutines": 2,
"connections": 0,
"accepted": 1
},
"afterReclaim": {
"heapAlloc": 1692416,
"heapInuse": 3571712,
"stackInuse": 786432,
"totalAlloc": 178863608,
"mallocs": 1881746,
"numGc": 103,
"goroutines": 2,
"connections": 0,
"accepted": 1
}
},
{
"adapter": "native",
"scenario": "traffic",
"concurrency": 1,
"run": 1,
"requests": 43512,
"errors": 0,
"elapsedSeconds": 2.000188292,
"requestsPerSecond": 21753.95195243949,
"p50Millis": 0.043008,
"p95Millis": 0.069632,
"p99Millis": 0.114688,
"serverBytesPerRequest": 4295.838757124471,
"serverAllocsPerRequest": 55.07106085677514,
"sampledPeakHeapAlloc": 2835696,
"before": {
"heapAlloc": 1633112,
"heapInuse": 3604480,
"stackInuse": 622592,
"totalAlloc": 3074824,
"mallocs": 23466,
"numGc": 2,
"goroutines": 4,
"connections": 1,
"accepted": 1
},
"during": {
"heapAlloc": 2466608,
"heapInuse": 4390912,
"stackInuse": 688128,
"totalAlloc": 189995360,
"mallocs": 2419718,
"numGc": 108,
"goroutines": 4,
"connections": 1,
"accepted": 1
},
"after": {
"heapAlloc": 1658936,
"heapInuse": 3776512,
"stackInuse": 622592,
"totalAlloc": 189999360,
"mallocs": 2419730,
"numGc": 109,
"goroutines": 3,
"connections": 0,
"accepted": 1
},
"afterReclaim": {
"heapAlloc": 1645576,
"heapInuse": 3604480,
"stackInuse": 622592,
"totalAlloc": 190001288,
"mallocs": 2419735,
"numGc": 110,
"goroutines": 3,
"connections": 0,
"accepted": 1
}
},
{
"adapter": "nethttp",
"scenario": "traffic",
"concurrency": 32,
"run": 1,
"requests": 176070,
"errors": 0,
"elapsedSeconds": 2.00058625,
"requestsPerSecond": 88009.20230257505,
"p50Millis": 0.278528,
"p95Millis": 1.048576,
"p99Millis": 1.441792,
"serverBytesPerRequest": 4468.189061168853,
"serverAllocsPerRequest": 47.11240983699665,
"sampledPeakHeapAlloc": 4113888,
"before": {
"heapAlloc": 1993880,
"heapInuse": 4628480,
"stackInuse": 1146880,
"totalAlloc": 3604480,
"mallocs": 25939,
"numGc": 3,
"goroutines": 34,
"connections": 32,
"accepted": 32
},
"during": {
"heapAlloc": 3577608,
"heapInuse": 6414336,
"stackInuse": 2293760,
"totalAlloc": 790318528,
"mallocs": 8321021,
"numGc": 471,
"goroutines": 34,
"connections": 32,
"accepted": 32
},
"after": {
"heapAlloc": 2244384,
"heapInuse": 4669440,
"stackInuse": 1966080,
"totalAlloc": 790324576,
"mallocs": 8321053,
"numGc": 472,
"goroutines": 2,
"connections": 0,
"accepted": 32
},
"afterReclaim": {
"heapAlloc": 1934808,
"heapInuse": 3801088,
"stackInuse": 1966080,
"totalAlloc": 790326760,
"mallocs": 8321060,
"numGc": 473,
"goroutines": 2,
"connections": 0,
"accepted": 32
}
},
{
"adapter": "native",
"scenario": "traffic",
"concurrency": 32,
"run": 1,
"requests": 170185,
"errors": 0,
"elapsedSeconds": 2.000530708,
"requestsPerSecond": 85069.92635476206,
"p50Millis": 0.278528,
"p95Millis": 1.048576,
"p99Millis": 1.572864,
"serverBytesPerRequest": 4305.3017833534095,
"serverAllocsPerRequest": 55.133631048564794,
"sampledPeakHeapAlloc": 3410920,
"before": {
"heapAlloc": 1814112,
"heapInuse": 4349952,
"stackInuse": 950272,
"totalAlloc": 3390600,
"mallocs": 25714,
"numGc": 2,
"goroutines": 35,
"connections": 32,
"accepted": 32
},
"during": {
"heapAlloc": 2055752,
"heapInuse": 5341184,
"stackInuse": 1146880,
"totalAlloc": 736088384,
"mallocs": 9408631,
"numGc": 555,
"goroutines": 35,
"connections": 32,
"accepted": 32
},
"after": {
"heapAlloc": 1896016,
"heapInuse": 4407296,
"stackInuse": 786432,
"totalAlloc": 736095248,
"mallocs": 9408674,
"numGc": 556,
"goroutines": 3,
"connections": 0,
"accepted": 32
},
"afterReclaim": {
"heapAlloc": 1728488,
"heapInuse": 3743744,
"stackInuse": 786432,
"totalAlloc": 736097432,
"mallocs": 9408680,
"numGc": 557,
"goroutines": 3,
"connections": 0,
"accepted": 32
}
},
{
"adapter": "nethttp",
"scenario": "traffic",
"concurrency": 128,
"run": 1,
"requests": 224900,
"errors": 0,
"elapsedSeconds": 2.000502334,
"requestsPerSecond": 112421.76336296141,
"p50Millis": 0.8192,
"p95Millis": 3.2768,
"p99Millis": 4.718592,
"serverBytesPerRequest": 4452.596282792352,
"serverAllocsPerRequest": 47.1292352156514,
"sampledPeakHeapAlloc": 6644048,
"before": {
"heapAlloc": 2944776,
"heapInuse": 5505024,
"stackInuse": 1802240,
"totalAlloc": 5016680,
"mallocs": 32887,
"numGc": 4,
"goroutines": 128,
"connections": 126,
"accepted": 126
},
"during": {
"heapAlloc": 4749256,
"heapInuse": 7782400,
"stackInuse": 3080192,
"totalAlloc": 1006405584,
"mallocs": 10632252,
"numGc": 371,
"goroutines": 130,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 3130128,
"heapInuse": 5816320,
"stackInuse": 1933312,
"totalAlloc": 1006417136,
"mallocs": 10632332,
"numGc": 372,
"goroutines": 2,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 1997352,
"heapInuse": 3850240,
"stackInuse": 1933312,
"totalAlloc": 1006419320,
"mallocs": 10632338,
"numGc": 373,
"goroutines": 2,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "native",
"scenario": "traffic",
"concurrency": 128,
"run": 1,
"requests": 223237,
"errors": 0,
"elapsedSeconds": 2.0005375,
"requestsPerSecond": 111588.51058777953,
"p50Millis": 0.786432,
"p95Millis": 3.407872,
"p99Millis": 4.980736,
"serverBytesPerRequest": 4297.285019956369,
"serverAllocsPerRequest": 55.094782674915,
"sampledPeakHeapAlloc": 4607856,
"before": {
"heapAlloc": 2246848,
"heapInuse": 4734976,
"stackInuse": 1736704,
"totalAlloc": 4255872,
"mallocs": 32172,
"numGc": 3,
"goroutines": 115,
"connections": 112,
"accepted": 112
},
"during": {
"heapAlloc": 3420024,
"heapInuse": 6258688,
"stackInuse": 1966080,
"totalAlloc": 963568888,
"mallocs": 12331366,
"numGc": 460,
"goroutines": 131,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 2435264,
"heapInuse": 4907008,
"stackInuse": 819200,
"totalAlloc": 963580728,
"mallocs": 12331438,
"numGc": 461,
"goroutines": 3,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 1810152,
"heapInuse": 3710976,
"stackInuse": 819200,
"totalAlloc": 963582912,
"mallocs": 12331445,
"numGc": 462,
"goroutines": 3,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "nethttp",
"scenario": "idle",
"concurrency": 128,
"run": 1,
"errors": 0,
"idleHeapDelta": 1336888,
"idleHeapPerConnection": 10444.4375,
"before": {
"heapAlloc": 1612376,
"heapInuse": 3547136,
"stackInuse": 491520,
"totalAlloc": 3036888,
"mallocs": 23305,
"numGc": 1,
"goroutines": 2,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 2949264,
"heapInuse": 5251072,
"stackInuse": 1769472,
"totalAlloc": 4969088,
"mallocs": 32512,
"numGc": 3,
"goroutines": 130,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 2805744,
"heapInuse": 5062656,
"stackInuse": 753664,
"totalAlloc": 4994936,
"mallocs": 32623,
"numGc": 4,
"goroutines": 2,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 1724472,
"heapInuse": 3760128,
"stackInuse": 753664,
"totalAlloc": 4997424,
"mallocs": 32633,
"numGc": 5,
"goroutines": 2,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "native",
"scenario": "idle",
"concurrency": 128,
"run": 1,
"errors": 0,
"idleHeapDelta": 696072,
"idleHeapPerConnection": 5438.0625,
"before": {
"heapAlloc": 1606384,
"heapInuse": 3407872,
"stackInuse": 458752,
"totalAlloc": 3030960,
"mallocs": 23288,
"numGc": 1,
"goroutines": 3,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 2302456,
"heapInuse": 4186112,
"stackInuse": 1605632,
"totalAlloc": 4289200,
"mallocs": 31756,
"numGc": 2,
"goroutines": 131,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 2329080,
"heapInuse": 4300800,
"stackInuse": 655360,
"totalAlloc": 4325544,
"mallocs": 31874,
"numGc": 3,
"goroutines": 3,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 1715600,
"heapInuse": 3514368,
"stackInuse": 655360,
"totalAlloc": 4328048,
"mallocs": 31885,
"numGc": 4,
"goroutines": 3,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "nethttp",
"scenario": "idle",
"concurrency": 1024,
"run": 1,
"errors": 0,
"idleHeapDelta": 10350192,
"idleHeapPerConnection": 10107.609375,
"before": {
"heapAlloc": 1612120,
"heapInuse": 3473408,
"stackInuse": 491520,
"totalAlloc": 3036664,
"mallocs": 23304,
"numGc": 1,
"goroutines": 2,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 11962312,
"heapInuse": 14548992,
"stackInuse": 9175040,
"totalAlloc": 18019736,
"mallocs": 95457,
"numGc": 5,
"goroutines": 1026,
"connections": 1024,
"accepted": 1024
},
"after": {
"heapAlloc": 10805352,
"heapInuse": 13303808,
"stackInuse": 819200,
"totalAlloc": 18086560,
"mallocs": 95671,
"numGc": 6,
"goroutines": 2,
"connections": 0,
"accepted": 1024
},
"afterReclaim": {
"heapAlloc": 2200016,
"heapInuse": 4202496,
"stackInuse": 819200,
"totalAlloc": 18089048,
"mallocs": 95681,
"numGc": 7,
"goroutines": 2,
"connections": 0,
"accepted": 1024
}
},
{
"adapter": "native",
"scenario": "idle",
"concurrency": 1024,
"run": 1,
"errors": 0,
"idleHeapDelta": 5373232,
"idleHeapPerConnection": 5247.296875,
"before": {
"heapAlloc": 1617360,
"heapInuse": 3465216,
"stackInuse": 524288,
"totalAlloc": 3041840,
"mallocs": 23300,
"numGc": 1,
"goroutines": 3,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 6990592,
"heapInuse": 9207808,
"stackInuse": 9109504,
"totalAlloc": 12887640,
"mallocs": 90134,
"numGc": 5,
"goroutines": 1027,
"connections": 1024,
"accepted": 1024
},
"after": {
"heapAlloc": 7047376,
"heapInuse": 9469952,
"stackInuse": 720896,
"totalAlloc": 12954384,
"mallocs": 90350,
"numGc": 6,
"goroutines": 3,
"connections": 0,
"accepted": 1024
},
"afterReclaim": {
"heapAlloc": 2181080,
"heapInuse": 4104192,
"stackInuse": 720896,
"totalAlloc": 12956872,
"mallocs": 90360,
"numGc": 7,
"goroutines": 3,
"connections": 0,
"accepted": 1024
}
},
{
"adapter": "native",
"scenario": "traffic",
"concurrency": 1,
"run": 2,
"requests": 42996,
"errors": 0,
"elapsedSeconds": 2.000068417,
"requestsPerSecond": 21497.26461082356,
"p50Millis": 0.043008,
"p95Millis": 0.069632,
"p99Millis": 0.118784,
"serverBytesPerRequest": 4295.052935156758,
"serverAllocsPerRequest": 55.067494650665175,
"sampledPeakHeapAlloc": 3492952,
"before": {
"heapAlloc": 1641992,
"heapInuse": 3637248,
"stackInuse": 655360,
"totalAlloc": 3078328,
"mallocs": 23471,
"numGc": 2,
"goroutines": 4,
"connections": 1,
"accepted": 1
},
"during": {
"heapAlloc": 3492952,
"heapInuse": 5332992,
"stackInuse": 688128,
"totalAlloc": 187748424,
"mallocs": 2391153,
"numGc": 103,
"goroutines": 4,
"connections": 1,
"accepted": 1
},
"after": {
"heapAlloc": 1658088,
"heapInuse": 3801088,
"stackInuse": 622592,
"totalAlloc": 187752424,
"mallocs": 2391165,
"numGc": 104,
"goroutines": 3,
"connections": 0,
"accepted": 1
},
"afterReclaim": {
"heapAlloc": 1644968,
"heapInuse": 3588096,
"stackInuse": 622592,
"totalAlloc": 187754608,
"mallocs": 2391171,
"numGc": 105,
"goroutines": 3,
"connections": 0,
"accepted": 1
}
},
{
"adapter": "nethttp",
"scenario": "traffic",
"concurrency": 1,
"run": 2,
"requests": 39687,
"errors": 0,
"elapsedSeconds": 2.000020666,
"requestsPerSecond": 19843.294959233186,
"p50Millis": 0.047104,
"p95Millis": 0.073728,
"p99Millis": 0.139264,
"serverBytesPerRequest": 4457.090735001386,
"serverAllocsPerRequest": 47.096757124499206,
"sampledPeakHeapAlloc": 3423696,
"before": {
"heapAlloc": 1638832,
"heapInuse": 3612672,
"stackInuse": 557056,
"totalAlloc": 3080176,
"mallocs": 23476,
"numGc": 2,
"goroutines": 3,
"connections": 1,
"accepted": 1
},
"during": {
"heapAlloc": 2571392,
"heapInuse": 4505600,
"stackInuse": 786432,
"totalAlloc": 179968736,
"mallocs": 1892605,
"numGc": 103,
"goroutines": 3,
"connections": 1,
"accepted": 1
},
"after": {
"heapAlloc": 1715896,
"heapInuse": 3710976,
"stackInuse": 753664,
"totalAlloc": 179973024,
"mallocs": 1892618,
"numGc": 104,
"goroutines": 2,
"connections": 0,
"accepted": 1
},
"afterReclaim": {
"heapAlloc": 1683648,
"heapInuse": 3555328,
"stackInuse": 753664,
"totalAlloc": 179974952,
"mallocs": 1892623,
"numGc": 105,
"goroutines": 2,
"connections": 0,
"accepted": 1
}
},
{
"adapter": "native",
"scenario": "traffic",
"concurrency": 32,
"run": 2,
"requests": 177949,
"errors": 0,
"elapsedSeconds": 2.000303583,
"requestsPerSecond": 88960.99647690328,
"p50Millis": 0.278528,
"p95Millis": 0.98304,
"p99Millis": 1.507328,
"serverBytesPerRequest": 4304.238135645606,
"serverAllocsPerRequest": 55.12900325374124,
"sampledPeakHeapAlloc": 3368856,
"before": {
"heapAlloc": 1823912,
"heapInuse": 4300800,
"stackInuse": 1015808,
"totalAlloc": 3402320,
"mallocs": 25726,
"numGc": 2,
"goroutines": 35,
"connections": 32,
"accepted": 32
},
"during": {
"heapAlloc": 2226712,
"heapInuse": 5480448,
"stackInuse": 1179648,
"totalAlloc": 769337192,
"mallocs": 9835877,
"numGc": 548,
"goroutines": 35,
"connections": 32,
"accepted": 32
},
"after": {
"heapAlloc": 1904896,
"heapInuse": 4292608,
"stackInuse": 819200,
"totalAlloc": 769343464,
"mallocs": 9835909,
"numGc": 549,
"goroutines": 3,
"connections": 0,
"accepted": 32
},
"afterReclaim": {
"heapAlloc": 1736120,
"heapInuse": 3661824,
"stackInuse": 819200,
"totalAlloc": 769345392,
"mallocs": 9835914,
"numGc": 550,
"goroutines": 3,
"connections": 0,
"accepted": 32
}
},
{
"adapter": "nethttp",
"scenario": "traffic",
"concurrency": 32,
"run": 2,
"requests": 180248,
"errors": 0,
"elapsedSeconds": 2.00056525,
"requestsPerSecond": 90098.53590129089,
"p50Millis": 0.278528,
"p95Millis": 1.015808,
"p99Millis": 1.507328,
"serverBytesPerRequest": 4470.327282410901,
"serverAllocsPerRequest": 47.11734942967467,
"sampledPeakHeapAlloc": 4070832,
"before": {
"heapAlloc": 2008240,
"heapInuse": 4915200,
"stackInuse": 1081344,
"totalAlloc": 3589376,
"mallocs": 25901,
"numGc": 2,
"goroutines": 34,
"connections": 32,
"accepted": 32
},
"during": {
"heapAlloc": 4024272,
"heapInuse": 6840320,
"stackInuse": 2490368,
"totalAlloc": 809356928,
"mallocs": 8518709,
"numGc": 479,
"goroutines": 34,
"connections": 32,
"accepted": 32
},
"after": {
"heapAlloc": 2221984,
"heapInuse": 4505600,
"stackInuse": 2195456,
"totalAlloc": 809364400,
"mallocs": 8518759,
"numGc": 481,
"goroutines": 2,
"connections": 0,
"accepted": 32
},
"afterReclaim": {
"heapAlloc": 1929720,
"heapInuse": 3833856,
"stackInuse": 2195456,
"totalAlloc": 809366328,
"mallocs": 8518764,
"numGc": 482,
"goroutines": 2,
"connections": 0,
"accepted": 32
}
},
{
"adapter": "native",
"scenario": "traffic",
"concurrency": 128,
"run": 2,
"requests": 224333,
"errors": 0,
"elapsedSeconds": 2.00109875,
"requestsPerSecond": 112104.91236377014,
"p50Millis": 0.753664,
"p95Millis": 3.407872,
"p99Millis": 4.980736,
"serverBytesPerRequest": 4297.053148667383,
"serverAllocsPerRequest": 55.09475645580454,
"sampledPeakHeapAlloc": 4655184,
"before": {
"heapAlloc": 2339440,
"heapInuse": 4653056,
"stackInuse": 1671168,
"totalAlloc": 4342800,
"mallocs": 32315,
"numGc": 3,
"goroutines": 131,
"connections": 128,
"accepted": 128
},
"during": {
"heapAlloc": 4337936,
"heapInuse": 6758400,
"stackInuse": 1998848,
"totalAlloc": 968313624,
"mallocs": 12391887,
"numGc": 468,
"goroutines": 131,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 2454464,
"heapInuse": 5029888,
"stackInuse": 819200,
"totalAlloc": 968326008,
"mallocs": 12391973,
"numGc": 469,
"goroutines": 3,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 1827784,
"heapInuse": 3710976,
"stackInuse": 819200,
"totalAlloc": 968328192,
"mallocs": 12391980,
"numGc": 470,
"goroutines": 3,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "nethttp",
"scenario": "traffic",
"concurrency": 128,
"run": 2,
"requests": 224658,
"errors": 0,
"elapsedSeconds": 2.000817709,
"requestsPerSecond": 112283.09255233605,
"p50Millis": 0.8192,
"p95Millis": 3.2768,
"p99Millis": 4.718592,
"serverBytesPerRequest": 4453.685655529738,
"serverAllocsPerRequest": 47.128546501793835,
"sampledPeakHeapAlloc": 7418920,
"before": {
"heapAlloc": 2955384,
"heapInuse": 5586944,
"stackInuse": 1802240,
"totalAlloc": 5029472,
"mallocs": 32921,
"numGc": 4,
"goroutines": 130,
"connections": 128,
"accepted": 128
},
"during": {
"heapAlloc": 4259776,
"heapInuse": 7544832,
"stackInuse": 3211264,
"totalAlloc": 1005585584,
"mallocs": 10620726,
"numGc": 372,
"goroutines": 130,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 3135984,
"heapInuse": 5906432,
"stackInuse": 2064384,
"totalAlloc": 1005598608,
"mallocs": 10620814,
"numGc": 373,
"goroutines": 2,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 2010472,
"heapInuse": 3883008,
"stackInuse": 2064384,
"totalAlloc": 1005600792,
"mallocs": 10620820,
"numGc": 374,
"goroutines": 2,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "native",
"scenario": "idle",
"concurrency": 128,
"run": 2,
"errors": 0,
"idleHeapDelta": 689768,
"idleHeapPerConnection": 5388.8125,
"before": {
"heapAlloc": 1617504,
"heapInuse": 3457024,
"stackInuse": 524288,
"totalAlloc": 3042080,
"mallocs": 23302,
"numGc": 1,
"goroutines": 3,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 2307272,
"heapInuse": 4218880,
"stackInuse": 1572864,
"totalAlloc": 4293424,
"mallocs": 31770,
"numGc": 2,
"goroutines": 131,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 2327464,
"heapInuse": 4308992,
"stackInuse": 622592,
"totalAlloc": 4323144,
"mallocs": 31873,
"numGc": 3,
"goroutines": 3,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 1715264,
"heapInuse": 3538944,
"stackInuse": 622592,
"totalAlloc": 4325648,
"mallocs": 31884,
"numGc": 4,
"goroutines": 3,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "nethttp",
"scenario": "idle",
"concurrency": 128,
"run": 2,
"errors": 0,
"idleHeapDelta": 1319256,
"idleHeapPerConnection": 10306.6875,
"before": {
"heapAlloc": 1617432,
"heapInuse": 3571712,
"stackInuse": 524288,
"totalAlloc": 3041784,
"mallocs": 23308,
"numGc": 1,
"goroutines": 2,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 2936688,
"heapInuse": 5120000,
"stackInuse": 1638400,
"totalAlloc": 4958824,
"mallocs": 32504,
"numGc": 3,
"goroutines": 130,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 2795104,
"heapInuse": 4898816,
"stackInuse": 655360,
"totalAlloc": 4987808,
"mallocs": 32596,
"numGc": 4,
"goroutines": 2,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 1715096,
"heapInuse": 3694592,
"stackInuse": 655360,
"totalAlloc": 4990392,
"mallocs": 32607,
"numGc": 5,
"goroutines": 2,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "native",
"scenario": "idle",
"concurrency": 1024,
"run": 2,
"errors": 0,
"idleHeapDelta": 5389360,
"idleHeapPerConnection": 5263.046875,
"before": {
"heapAlloc": 1601072,
"heapInuse": 3497984,
"stackInuse": 425984,
"totalAlloc": 3025616,
"mallocs": 23282,
"numGc": 1,
"goroutines": 3,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 6990432,
"heapInuse": 9404416,
"stackInuse": 9109504,
"totalAlloc": 12886536,
"mallocs": 90180,
"numGc": 5,
"goroutines": 1027,
"connections": 1024,
"accepted": 1024
},
"after": {
"heapAlloc": 7047376,
"heapInuse": 9519104,
"stackInuse": 753664,
"totalAlloc": 12955776,
"mallocs": 90406,
"numGc": 6,
"goroutines": 3,
"connections": 0,
"accepted": 1024
},
"afterReclaim": {
"heapAlloc": 2183336,
"heapInuse": 4177920,
"stackInuse": 753664,
"totalAlloc": 12957704,
"mallocs": 90411,
"numGc": 7,
"goroutines": 3,
"connections": 0,
"accepted": 1024
}
},
{
"adapter": "nethttp",
"scenario": "idle",
"concurrency": 1024,
"run": 2,
"errors": 0,
"idleHeapDelta": 10342088,
"idleHeapPerConnection": 10099.6953125,
"before": {
"heapAlloc": 1611912,
"heapInuse": 3473408,
"stackInuse": 491520,
"totalAlloc": 3036504,
"mallocs": 23303,
"numGc": 1,
"goroutines": 2,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 11954000,
"heapInuse": 14442496,
"stackInuse": 9076736,
"totalAlloc": 18004552,
"mallocs": 95428,
"numGc": 5,
"goroutines": 1026,
"connections": 1024,
"accepted": 1024
},
"after": {
"heapAlloc": 10809800,
"heapInuse": 13328384,
"stackInuse": 786432,
"totalAlloc": 18086432,
"mallocs": 95667,
"numGc": 6,
"goroutines": 2,
"connections": 0,
"accepted": 1024
},
"afterReclaim": {
"heapAlloc": 2199616,
"heapInuse": 4186112,
"stackInuse": 786432,
"totalAlloc": 18088360,
"mallocs": 95672,
"numGc": 7,
"goroutines": 2,
"connections": 0,
"accepted": 1024
}
},
{
"adapter": "nethttp",
"scenario": "traffic",
"concurrency": 1,
"run": 3,
"requests": 38650,
"errors": 0,
"elapsedSeconds": 2.000164708,
"requestsPerSecond": 19323.40864000486,
"p50Millis": 0.049152,
"p95Millis": 0.073728,
"p99Millis": 0.139264,
"serverBytesPerRequest": 4456.037050452781,
"serverAllocsPerRequest": 47.096765847347996,
"sampledPeakHeapAlloc": 3494472,
"before": {
"heapAlloc": 1649600,
"heapInuse": 3751936,
"stackInuse": 622592,
"totalAlloc": 3091392,
"mallocs": 23493,
"numGc": 2,
"goroutines": 3,
"connections": 1,
"accepted": 1
},
"during": {
"heapAlloc": 2591800,
"heapInuse": 4653056,
"stackInuse": 851968,
"totalAlloc": 175317224,
"mallocs": 1843783,
"numGc": 100,
"goroutines": 3,
"connections": 1,
"accepted": 1
},
"after": {
"heapAlloc": 1723328,
"heapInuse": 3842048,
"stackInuse": 786432,
"totalAlloc": 175321256,
"mallocs": 1843795,
"numGc": 101,
"goroutines": 2,
"connections": 0,
"accepted": 1
},
"afterReclaim": {
"heapAlloc": 1693408,
"heapInuse": 3702784,
"stackInuse": 786432,
"totalAlloc": 175323440,
"mallocs": 1843801,
"numGc": 102,
"goroutines": 2,
"connections": 0,
"accepted": 1
}
},
{
"adapter": "native",
"scenario": "traffic",
"concurrency": 1,
"run": 3,
"requests": 42891,
"errors": 0,
"elapsedSeconds": 2.000075208,
"requestsPerSecond": 21444.6935937421,
"p50Millis": 0.045056,
"p95Millis": 0.069632,
"p99Millis": 0.12288,
"serverBytesPerRequest": 4295.194982630389,
"serverAllocsPerRequest": 55.0668205451027,
"sampledPeakHeapAlloc": 3197328,
"before": {
"heapAlloc": 1638536,
"heapInuse": 3629056,
"stackInuse": 622592,
"totalAlloc": 3078360,
"mallocs": 23471,
"numGc": 2,
"goroutines": 4,
"connections": 1,
"accepted": 1
},
"during": {
"heapAlloc": 1716328,
"heapInuse": 4079616,
"stackInuse": 655360,
"totalAlloc": 187303568,
"mallocs": 2385342,
"numGc": 105,
"goroutines": 4,
"connections": 1,
"accepted": 1
},
"after": {
"heapAlloc": 1659704,
"heapInuse": 3760128,
"stackInuse": 589824,
"totalAlloc": 187307568,
"mallocs": 2385354,
"numGc": 106,
"goroutines": 3,
"connections": 0,
"accepted": 1
},
"afterReclaim": {
"heapAlloc": 1645768,
"heapInuse": 3620864,
"stackInuse": 589824,
"totalAlloc": 187309752,
"mallocs": 2385360,
"numGc": 107,
"goroutines": 3,
"connections": 0,
"accepted": 1
}
},
{
"adapter": "nethttp",
"scenario": "traffic",
"concurrency": 32,
"run": 3,
"requests": 182070,
"errors": 0,
"elapsedSeconds": 2.000483125,
"requestsPerSecond": 91013.0146686441,
"p50Millis": 0.278528,
"p95Millis": 0.98304,
"p99Millis": 1.507328,
"serverBytesPerRequest": 4470.001120448179,
"serverAllocsPerRequest": 47.11588949305212,
"sampledPeakHeapAlloc": 4037832,
"before": {
"heapAlloc": 1992024,
"heapInuse": 4562944,
"stackInuse": 1081344,
"totalAlloc": 3573640,
"mallocs": 25843,
"numGc": 2,
"goroutines": 33,
"connections": 31,
"accepted": 31
},
"during": {
"heapAlloc": 2638056,
"heapInuse": 6004736,
"stackInuse": 2359296,
"totalAlloc": 817426744,
"mallocs": 8604233,
"numGc": 487,
"goroutines": 34,
"connections": 32,
"accepted": 32
},
"after": {
"heapAlloc": 2239528,
"heapInuse": 4653056,
"stackInuse": 2031616,
"totalAlloc": 817432888,
"mallocs": 8604269,
"numGc": 488,
"goroutines": 2,
"connections": 0,
"accepted": 32
},
"afterReclaim": {
"heapAlloc": 1931720,
"heapInuse": 3874816,
"stackInuse": 2031616,
"totalAlloc": 817434816,
"mallocs": 8604274,
"numGc": 489,
"goroutines": 2,
"connections": 0,
"accepted": 32
}
},
{
"adapter": "native",
"scenario": "traffic",
"concurrency": 32,
"run": 3,
"requests": 177639,
"errors": 0,
"elapsedSeconds": 2.000176,
"requestsPerSecond": 88811.68457175768,
"p50Millis": 0.278528,
"p95Millis": 0.98304,
"p99Millis": 1.507328,
"serverBytesPerRequest": 4303.6634072472825,
"serverAllocsPerRequest": 55.12404370661848,
"sampledPeakHeapAlloc": 3737072,
"before": {
"heapAlloc": 1811496,
"heapInuse": 4235264,
"stackInuse": 851968,
"totalAlloc": 3387360,
"mallocs": 25686,
"numGc": 2,
"goroutines": 35,
"connections": 32,
"accepted": 32
},
"during": {
"heapAlloc": 3257280,
"heapInuse": 6094848,
"stackInuse": 1081344,
"totalAlloc": 767885824,
"mallocs": 9817866,
"numGc": 545,
"goroutines": 35,
"connections": 32,
"accepted": 32
},
"after": {
"heapAlloc": 1898800,
"heapInuse": 4390912,
"stackInuse": 753664,
"totalAlloc": 767892400,
"mallocs": 9817901,
"numGc": 546,
"goroutines": 3,
"connections": 0,
"accepted": 32
},
"afterReclaim": {
"heapAlloc": 1721880,
"heapInuse": 3620864,
"stackInuse": 753664,
"totalAlloc": 767894328,
"mallocs": 9817906,
"numGc": 547,
"goroutines": 3,
"connections": 0,
"accepted": 32
}
},
{
"adapter": "nethttp",
"scenario": "traffic",
"concurrency": 128,
"run": 3,
"requests": 225710,
"errors": 0,
"elapsedSeconds": 2.000534625,
"requestsPerSecond": 112824.84050982122,
"p50Millis": 0.8192,
"p95Millis": 3.2768,
"p99Millis": 4.718592,
"serverBytesPerRequest": 4453.873873554561,
"serverAllocsPerRequest": 47.13242213459749,
"sampledPeakHeapAlloc": 6310984,
"before": {
"heapAlloc": 2983744,
"heapInuse": 5758976,
"stackInuse": 1835008,
"totalAlloc": 5057400,
"mallocs": 33052,
"numGc": 4,
"goroutines": 130,
"connections": 128,
"accepted": 128
},
"during": {
"heapAlloc": 5150088,
"heapInuse": 8052736,
"stackInuse": 3145728,
"totalAlloc": 1010341272,
"mallocs": 10671311,
"numGc": 372,
"goroutines": 130,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 3134480,
"heapInuse": 5857280,
"stackInuse": 2064384,
"totalAlloc": 1010353432,
"mallocs": 10671395,
"numGc": 373,
"goroutines": 2,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 2012600,
"heapInuse": 3964928,
"stackInuse": 2064384,
"totalAlloc": 1010355616,
"mallocs": 10671401,
"numGc": 374,
"goroutines": 2,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "native",
"scenario": "traffic",
"concurrency": 128,
"run": 3,
"requests": 226631,
"errors": 0,
"elapsedSeconds": 2.001603042,
"requestsPerSecond": 113224.74798676888,
"p50Millis": 0.753664,
"p95Millis": 3.407872,
"p99Millis": 4.980736,
"serverBytesPerRequest": 4296.581879795792,
"serverAllocsPerRequest": 55.092396891863864,
"sampledPeakHeapAlloc": 5363864,
"before": {
"heapAlloc": 2325992,
"heapInuse": 4759552,
"stackInuse": 1802240,
"totalAlloc": 4333848,
"mallocs": 32320,
"numGc": 3,
"goroutines": 131,
"connections": 128,
"accepted": 128
},
"during": {
"heapAlloc": 3131560,
"heapInuse": 6258688,
"stackInuse": 1933312,
"totalAlloc": 978072496,
"mallocs": 12517965,
"numGc": 465,
"goroutines": 131,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 2423744,
"heapInuse": 4964352,
"stackInuse": 786432,
"totalAlloc": 978083408,
"mallocs": 12518041,
"numGc": 466,
"goroutines": 3,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 1799736,
"heapInuse": 3743744,
"stackInuse": 786432,
"totalAlloc": 978085592,
"mallocs": 12518048,
"numGc": 467,
"goroutines": 3,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "nethttp",
"scenario": "idle",
"concurrency": 128,
"run": 3,
"errors": 0,
"idleHeapDelta": 1344288,
"idleHeapPerConnection": 10502.25,
"before": {
"heapAlloc": 1606824,
"heapInuse": 3555328,
"stackInuse": 458752,
"totalAlloc": 3031240,
"mallocs": 23298,
"numGc": 1,
"goroutines": 2,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 2951112,
"heapInuse": 5152768,
"stackInuse": 1769472,
"totalAlloc": 4966488,
"mallocs": 32511,
"numGc": 3,
"goroutines": 130,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 2796160,
"heapInuse": 4907008,
"stackInuse": 720896,
"totalAlloc": 4985888,
"mallocs": 32605,
"numGc": 4,
"goroutines": 2,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 1715608,
"heapInuse": 3686400,
"stackInuse": 720896,
"totalAlloc": 4987816,
"mallocs": 32610,
"numGc": 5,
"goroutines": 2,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "native",
"scenario": "idle",
"concurrency": 128,
"run": 3,
"errors": 0,
"idleHeapDelta": 689768,
"idleHeapPerConnection": 5388.8125,
"before": {
"heapAlloc": 1616480,
"heapInuse": 3473408,
"stackInuse": 524288,
"totalAlloc": 3041072,
"mallocs": 23296,
"numGc": 1,
"goroutines": 3,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 2306248,
"heapInuse": 4227072,
"stackInuse": 1605632,
"totalAlloc": 4291856,
"mallocs": 31759,
"numGc": 2,
"goroutines": 131,
"connections": 128,
"accepted": 128
},
"after": {
"heapAlloc": 2333208,
"heapInuse": 4358144,
"stackInuse": 688128,
"totalAlloc": 4328088,
"mallocs": 31876,
"numGc": 3,
"goroutines": 3,
"connections": 0,
"accepted": 128
},
"afterReclaim": {
"heapAlloc": 1719584,
"heapInuse": 3571712,
"stackInuse": 688128,
"totalAlloc": 4330688,
"mallocs": 31888,
"numGc": 4,
"goroutines": 3,
"connections": 0,
"accepted": 128
}
},
{
"adapter": "nethttp",
"scenario": "idle",
"concurrency": 1024,
"run": 3,
"errors": 0,
"idleHeapDelta": 10351144,
"idleHeapPerConnection": 10108.5390625,
"before": {
"heapAlloc": 1612664,
"heapInuse": 3473408,
"stackInuse": 491520,
"totalAlloc": 3037176,
"mallocs": 23307,
"numGc": 1,
"goroutines": 2,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 11963808,
"heapInuse": 14958592,
"stackInuse": 9175040,
"totalAlloc": 18043328,
"mallocs": 95502,
"numGc": 6,
"goroutines": 1026,
"connections": 1024,
"accepted": 1024
},
"after": {
"heapAlloc": 10810232,
"heapInuse": 13475840,
"stackInuse": 819200,
"totalAlloc": 18115240,
"mallocs": 95734,
"numGc": 7,
"goroutines": 2,
"connections": 0,
"accepted": 1024
},
"afterReclaim": {
"heapAlloc": 2199680,
"heapInuse": 4268032,
"stackInuse": 819200,
"totalAlloc": 18117728,
"mallocs": 95744,
"numGc": 8,
"goroutines": 2,
"connections": 0,
"accepted": 1024
}
},
{
"adapter": "native",
"scenario": "idle",
"concurrency": 1024,
"run": 3,
"errors": 0,
"idleHeapDelta": 5386192,
"idleHeapPerConnection": 5259.953125,
"before": {
"heapAlloc": 1611120,
"heapInuse": 3440640,
"stackInuse": 491520,
"totalAlloc": 3035632,
"mallocs": 23289,
"numGc": 1,
"goroutines": 3,
"connections": 0,
"accepted": 0
},
"during": {
"heapAlloc": 6997312,
"heapInuse": 9289728,
"stackInuse": 9109504,
"totalAlloc": 12894344,
"mallocs": 90200,
"numGc": 5,
"goroutines": 1027,
"connections": 1024,
"accepted": 1024
},
"after": {
"heapAlloc": 7047888,
"heapInuse": 9396224,
"stackInuse": 688128,
"totalAlloc": 12958448,
"mallocs": 90415,
"numGc": 6,
"goroutines": 3,
"connections": 0,
"accepted": 1024
},
"afterReclaim": {
"heapAlloc": 2179288,
"heapInuse": 4112384,
"stackInuse": 688128,
"totalAlloc": 12960936,
"mallocs": 90425,
"numGc": 7,
"goroutines": 3,
"connections": 0,
"accepted": 1024
}
}
]
}