Files
ai-engineering/docs/benchmarks/local-server-sse-native.json
T
bquarkz 9a555cb3c6
build / jvm (push) Waiting to run
build / native (macos-15, macos-arm64) (push) Waiting to run
build / native (ubuntu-24.04, linux-x86_64) (push) Waiting to run
build / native (windows-2025, windows-x86_64) (push) Waiting to run
Test / Tests and coverage
Intrepid/AI Engineering/pipeline/head This commit looks good
feat: add per-project native server and SSE command streaming
Keep Spring in a persistent project server with lightweight clients, managed start/stop, bounded SSE subscriptions, cursor recovery and durable mutation outcomes. Preserve SQLite authority and transaction limits, and document reproducible native measurements.

Validation: 269 tests, 11 pipeline scenarios, full native/SSE smoke, native package verification and 17 installer tests passed. Implements WRK-000E / DEC-0001 / DEC-0002.
2026-11-22 23:08:47 +00:00

600 lines
17 KiB
JSON

{
"observedAt": "2026-11-22T22:34:13.785795+00:00",
"environment": {
"platform": "macOS-27.2.1-arm64-arm-64bit",
"machine": "arm64",
"logicalCpus": 10,
"initialLoadAverage": [
3.5703125,
4.8671875,
4.8251953125
],
"cpu": "Apple M2 Pro",
"physicalMemoryBytes": "17179869184"
},
"method": {
"works": 100,
"notesPerWork": 10,
"storage": "sqlite",
"git": false,
"provider": false,
"freshClientPerSample": true,
"percentile": "nearest rank",
"cold": "process cold; OS file caches not flushed",
"copiedFixture": "/private/tmp/aie-wrk000e-benchmark-1/nominal",
"command": [
"work",
"show",
"WRK-0064",
"--format",
"json"
],
"memoryWorkload": "Fresh server then work show per project; first project has 100 Works/1000 notes, remaining projects one Work each. Summed process RSS, shared pages may be counted repeatedly."
},
"candidate": {
"path": "/Users/niltonconstantino/personal/workspace.personal/intrepid/ai-engineering/build/native/package/ai-engineering",
"sha256": "2fa0f168bfb8e1ba11edbcd5cdda2a6b150726f86d9c11e77ee26c21ce7fc887",
"package": {
"schemaVersion": 1,
"aieVersion": "0.1.0",
"protocolVersion": 4,
"sqliteVersion": "3.54.1",
"localServerProtocol": 1,
"localServerEvents": "sse",
"buildIdentity": "c891da8913045080a02d7b977a259d097e30864a5487e230d0ec7d5d4e78daff",
"files": {
"LICENSE": "975eef35ea2ca6532c53302a8bf202b99231cc7387ebbb022b1af1d58e4852b6",
"README.md": "79b01d93a0c639d727894db6c5040790c5ee05aa0885d2533617d148fcab4f96",
"ai-engineering": "2fa0f168bfb8e1ba11edbcd5cdda2a6b150726f86d9c11e77ee26c21ce7fc887",
"docs/architecture.md": "d84f7716ce7ad7da107c41cfa0e453047f72ee8291991373c82175bf7e6b445c",
"docs/benchmarks/local-server-initial.json": "5a5df4ed04754cfe53ec4f18ded72dcd0821603601f1dd38f6188b80bb164bd6",
"docs/benchmarks/local-server-native.json": "c2091eac03c9c7d0fd1654ca38df679161bf9d0f1deee7231d51c4fd74ae43dd",
"docs/cli-adapters.md": "bbf42d7953cb3ff48e75f0ce2228d83afc87c5e10b69d02d555bcd25ca3e32e1",
"docs/compatibility.md": "c127cb6440f561a976b696af5b99a9659da124a7151c170de3413e40cd377cfc",
"docs/discussion-import.md": "de1e09cd8b576da796a6af7dd4b4c8bac6ec08d8cf3c21389155b0710cf5ecda",
"docs/discussion-slice.md": "3aa8b75ddb6c7ba546740594d6709ba78fcffc553a63e0366cd6b56771eae1e5",
"docs/epics.md": "67ea357a91f1fbe64330b1b5a4fd26432e846bd687f961e23e3deca6cb23ceba",
"docs/experiments.md": "cf6ed18390d16f9483bb8a26f77b3ae040e1cabdc6570ab3300bb1bfb4cd2646",
"docs/latency-scenario.md": "5f4d5591b18d6694982396f82ea5c1112cc9a3ea1abd8335bfcf91d5d2a1acf6",
"docs/legacy-file-storage.md": "97613b0b58baf02f9c5ef31dfe95ee4b33ef742296c6d94ca3e660205b92d598",
"docs/local-server-results.md": "eee82ffe4cc7f4b631be89fe54d4a278e8a95ce74cd80981ec1396a4339a46a2",
"docs/local-server-sse.md": "2ecf3cc6feb85d53778f1441db43faf0e9bfbb7f7a48c3bc4f50fe93aac447a1",
"docs/local-server.md": "f726ca6c9ef65d3534ea6c9b69e8298f4207df255746ea254d1d12881e823628",
"docs/plan-consolidation.md": "9fdc22aab9975e46bb67b1b1aefab0e71af3f069762770662e590483ae1a68cc",
"docs/protocol.md": "c5bf6bf2d459312a3d92e477a1b43dcbdd86aa41c45bd5c10a314560df8a419a",
"docs/roadmap.md": "b3f7d396ad9c4a41a8a02136529f628febf53c4bf2b97acb331668efb76dbeff",
"docs/sqlite-migration-design.md": "21f775427602af06820e6fbeb4d08ff639c803bf923aa0277574df8b2a60488d",
"docs/storage-migration.md": "ac54b7bd2c963367a47d488a32c16720154243378e82b10ba3b78209c8d16aad",
"docs/work-guidance.md": "45e7934db455d427ac1374a1694707d8075ca80b63eef7e13b875e1531474562",
"libawt.dylib": "c794235bd609c8ce066aa3d5b2a3dd5b99d40b5fcd595aceddf4f54051be5d24",
"libawt_lwawt.dylib": "ff09e5e47be4b96c3560b42c890c851ff18e99ddf4d8085525a3244c0aeeba4e",
"libfontmanager.dylib": "3b33fb98dc2937c495ca7833396ad1d613e261e5b6164115821915353ddcdde4",
"libfreetype.dylib": "9a88ef02fe6522f024c2d1e2dee8c1dd053a8ab87d1f61d2b62ea1806b2b189d",
"libjava.dylib": "465aac4cf94ccbd19c4849b89c61284b459c648ecc0f813e8452ad8c6905f444",
"libjavajpeg.dylib": "9370b79daf271c2da78275baa782cfb987c49f0a554585fd35a9edf32211e716",
"libjvm.dylib": "d535b761c960e4f4d1867fc2a977dbc28f7d8fb2a32d7db9bf478c56c175b71d",
"liblcms.dylib": "8d554b5fdb043bb7daff0c305c4464e934387576cb64955b39889ff29a7b0c60",
"libmlib_image.dylib": "e7d5a248aa7956f476aaba2483d7e7684406c3eff3c3984a2a5bba4f9e05fb30",
"libosxapp.dylib": "18fbd74e41bad5e3cb4e6c1a212c75a9590aa863947d5edcdd3571aa5e550105",
"libsqlitejdbc.dylib": "47fa68b43f34552fbfedeed25e82875a42cfd53e81c33c7cee20ac3f729c060e",
"sqlite3": "440575f732a7ff117b604ddd87d742833685a3a6cb3faff414c258b87fc2204c"
}
}
},
"baseline": {
"path": "/private/tmp/aie-wrk000e-baseline-package/ai-engineering",
"sha256": "ba200c28e3ddc6d78668aecf5587524d718902fc6c5eeb607bbca07ee8947658",
"version": "ai-engineering 0.1.0",
"roundtrip": {
"samples": 100,
"minMs": 245.154708,
"p50Ms": 248.1353335,
"p95Ms": 252.225,
"maxMs": 297.107416,
"rawMs": [
252.045584,
248.051541,
245.702,
249.352958,
247.76325,
245.338459,
247.057625,
247.6025,
249.966792,
247.881167,
248.051208,
249.223959,
248.307875,
249.361166,
248.009375,
249.421042,
249.524042,
247.167375,
248.129958,
249.7405,
252.521084,
248.329208,
249.882125,
249.121459,
248.769542,
252.225,
246.79025,
247.251375,
245.154708,
245.525417,
247.197541,
248.008583,
248.605166,
246.947291,
247.286542,
247.399666,
249.042459,
247.314,
247.341875,
249.119292,
246.808375,
245.478875,
245.816125,
250.391458,
247.9555,
247.242916,
251.236625,
249.777958,
248.468208,
248.485791,
247.744292,
247.068625,
248.588875,
250.362041,
248.637791,
246.075208,
249.188708,
248.140709,
249.313,
248.675625,
246.043625,
247.238292,
263.43525,
257.094083,
249.968959,
248.012209,
249.166709,
249.219709,
248.290792,
248.350125,
246.845125,
248.723167,
248.073958,
248.776125,
246.788958,
251.191875,
249.24725,
246.333375,
247.315334,
246.071542,
250.410042,
249.084292,
247.372958,
246.984542,
247.194083,
247.142208,
247.239875,
246.797584,
250.116083,
252.378541,
246.629417,
248.9465,
248.83925,
247.309959,
246.2065,
297.107416,
249.736625,
247.423667,
245.738166,
248.331583
]
}
},
"fixture": {
"version": "ai-engineering 0.1.0",
"binary": "/Users/niltonconstantino/personal/workspace.personal/intrepid/ai-engineering/build/native/package/ai-engineering",
"binarySha256": "0c360680bc0355bce8dedb3342d73aed73f0de7042ffe7c25755561b752f7ef7",
"platform": "macOS-27.2.1-arm64-arm-64bit",
"machine": "arm64",
"storage": "sqlite",
"works": 100,
"entriesPerWork": 10,
"selectedWork": "WRK-0064",
"measurementPerformed": false
},
"readiness": {
"samples": 10,
"minMs": 279.354541,
"p50Ms": 284.5805415,
"p95Ms": 289.952334,
"maxMs": 289.952334,
"rawMs": [
289.952334,
281.8995,
285.948041,
283.171875,
286.641917,
286.5895,
283.213042,
279.872959,
289.282,
279.354541
]
},
"firstUse": {
"samples": 10,
"minMs": 110.338834,
"p50Ms": 114.1799375,
"p95Ms": 147.844083,
"maxMs": 147.844083,
"rawMs": [
120.2665,
110.6965,
110.883167,
122.842125,
112.405083,
110.338834,
147.844083,
118.626958,
115.954792,
110.828666
]
},
"warm": {
"samples": 100,
"minMs": 33.537625,
"p50Ms": 43.9224375,
"p95Ms": 52.730458,
"maxMs": 99.280542,
"rawMs": [
34.481667,
36.241958,
33.717791,
35.211041,
40.031291,
51.585333,
56.2185,
58.282291,
51.727625,
49.40725,
99.280542,
49.367208,
50.964584,
56.786417,
47.983667,
50.743708,
38.514916,
40.215584,
44.014792,
41.886625,
39.79825,
42.414708,
43.093042,
42.825291,
46.515458,
47.277708,
44.157292,
52.114208,
49.488041,
42.305292,
44.416167,
52.090917,
45.6385,
49.675375,
49.939,
42.854958,
46.137334,
47.519917,
39.545,
41.859667,
35.3645,
37.961,
40.782292,
43.062916,
48.203583,
45.259792,
50.854542,
41.31675,
40.385709,
43.830083,
36.761917,
37.224792,
36.573834,
40.969125,
68.0515,
39.994833,
41.051042,
42.957333,
42.428042,
43.560542,
48.143333,
47.445042,
44.286541,
47.78575,
45.193333,
39.918917,
40.87525,
40.816459,
47.281917,
48.187,
46.691584,
48.802458,
45.130208,
52.730458,
48.521458,
48.77825,
47.306333,
49.6775,
39.340042,
40.246916,
44.368917,
46.550375,
45.618875,
42.819459,
39.3795,
45.284542,
45.089958,
42.67825,
37.763958,
35.98575,
35.276709,
33.537625,
37.561958,
38.99925,
41.129208,
39.546958,
41.598334,
43.69275,
47.036291,
46.059625
]
},
"serverBaseline": {
"path": "/private/tmp/aie-sse-baseline-package/ai-engineering",
"sha256": "4764f522935d8fdb1600f5a925e845ddb62689a4743a9e17f8eb433347d1e8c2",
"package": {
"schemaVersion": 1,
"aieVersion": "0.1.0",
"protocolVersion": 4,
"sqliteVersion": "3.54.1",
"localServerProtocol": 1,
"buildIdentity": "79f2d2b1a929f76c59d3214ffe55a635e87ab9f536e3f8c28f88438f2a421747",
"files": {
"LICENSE": "975eef35ea2ca6532c53302a8bf202b99231cc7387ebbb022b1af1d58e4852b6",
"README.md": "584c14e6eb74928674c75d1778a692157f63723aad1f51b949dca1055e04f136",
"ai-engineering": "4764f522935d8fdb1600f5a925e845ddb62689a4743a9e17f8eb433347d1e8c2",
"docs/architecture.md": "64f6429677d8073f31d56882f42bed1fcab9820b1c6174026cf46149b90ffb5f",
"docs/cli-adapters.md": "bbf42d7953cb3ff48e75f0ce2228d83afc87c5e10b69d02d555bcd25ca3e32e1",
"docs/compatibility.md": "c127cb6440f561a976b696af5b99a9659da124a7151c170de3413e40cd377cfc",
"docs/discussion-import.md": "de1e09cd8b576da796a6af7dd4b4c8bac6ec08d8cf3c21389155b0710cf5ecda",
"docs/discussion-slice.md": "3aa8b75ddb6c7ba546740594d6709ba78fcffc553a63e0366cd6b56771eae1e5",
"docs/epics.md": "67ea357a91f1fbe64330b1b5a4fd26432e846bd687f961e23e3deca6cb23ceba",
"docs/experiments.md": "cf6ed18390d16f9483bb8a26f77b3ae040e1cabdc6570ab3300bb1bfb4cd2646",
"docs/latency-scenario.md": "d98b5a16c00b6e97f2af33d736515252c39bfdb2ea0ca214c22efbba69ef1183",
"docs/legacy-file-storage.md": "97613b0b58baf02f9c5ef31dfe95ee4b33ef742296c6d94ca3e660205b92d598",
"docs/local-server.md": "26ab737dfa424a35eceffe25177a7b6b006e535e7ccf2c2df41eb97e69ad498e",
"docs/plan-consolidation.md": "9fdc22aab9975e46bb67b1b1aefab0e71af3f069762770662e590483ae1a68cc",
"docs/protocol.md": "c5bf6bf2d459312a3d92e477a1b43dcbdd86aa41c45bd5c10a314560df8a419a",
"docs/roadmap.md": "b3f7d396ad9c4a41a8a02136529f628febf53c4bf2b97acb331668efb76dbeff",
"docs/sqlite-migration-design.md": "21f775427602af06820e6fbeb4d08ff639c803bf923aa0277574df8b2a60488d",
"docs/storage-migration.md": "ac54b7bd2c963367a47d488a32c16720154243378e82b10ba3b78209c8d16aad",
"docs/work-guidance.md": "45e7934db455d427ac1374a1694707d8075ca80b63eef7e13b875e1531474562",
"libawt.dylib": "c794235bd609c8ce066aa3d5b2a3dd5b99d40b5fcd595aceddf4f54051be5d24",
"libawt_lwawt.dylib": "ff09e5e47be4b96c3560b42c890c851ff18e99ddf4d8085525a3244c0aeeba4e",
"libfontmanager.dylib": "3b33fb98dc2937c495ca7833396ad1d613e261e5b6164115821915353ddcdde4",
"libfreetype.dylib": "9a88ef02fe6522f024c2d1e2dee8c1dd053a8ab87d1f61d2b62ea1806b2b189d",
"libjava.dylib": "465aac4cf94ccbd19c4849b89c61284b459c648ecc0f813e8452ad8c6905f444",
"libjavajpeg.dylib": "9370b79daf271c2da78275baa782cfb987c49f0a554585fd35a9edf32211e716",
"libjvm.dylib": "d535b761c960e4f4d1867fc2a977dbc28f7d8fb2a32d7db9bf478c56c175b71d",
"liblcms.dylib": "8d554b5fdb043bb7daff0c305c4464e934387576cb64955b39889ff29a7b0c60",
"libmlib_image.dylib": "e7d5a248aa7956f476aaba2483d7e7684406c3eff3c3984a2a5bba4f9e05fb30",
"libosxapp.dylib": "18fbd74e41bad5e3cb4e6c1a212c75a9590aa863947d5edcdd3571aa5e550105",
"libsqlitejdbc.dylib": "47fa68b43f34552fbfedeed25e82875a42cfd53e81c33c7cee20ac3f729c060e",
"sqlite3": "440575f732a7ff117b604ddd87d742833685a3a6cb3faff414c258b87fc2204c"
}
},
"roundtrip": {
"samples": 100,
"minMs": 35.376542,
"p50Ms": 50.244063,
"p95Ms": 56.969417,
"maxMs": 60.157083,
"rawMs": [
42.715416,
39.09525,
38.239209,
37.035166,
37.447917,
39.666,
41.215583,
45.441875,
47.381792,
46.277791,
48.657334,
52.255459,
47.425167,
50.080083,
57.620042,
54.5475,
51.618916,
48.505875,
46.306958,
53.5165,
51.731833,
51.088667,
47.873125,
51.439334,
52.454333,
53.671583,
48.833541,
55.405333,
50.291584,
50.477709,
55.7595,
49.025541,
51.199458,
49.88725,
55.038583,
60.157083,
52.494875,
54.252292,
56.969417,
54.592458,
49.5385,
54.764916,
54.187416,
54.269625,
54.390375,
48.321416,
53.511042,
59.531208,
49.600208,
49.828584,
52.10675,
42.941834,
42.966208,
42.001584,
48.53,
53.9495,
49.582875,
57.546792,
53.727834,
58.162792,
54.521667,
47.934875,
49.674209,
56.507,
48.376917,
51.598292,
51.293416,
52.109375,
53.021542,
48.891875,
53.835333,
50.164333,
50.185334,
50.196542,
45.999125,
52.37525,
51.912958,
47.918292,
48.870417,
54.110667,
50.764125,
42.50375,
42.017959,
43.11375,
35.376542,
38.646292,
41.034875,
40.318333,
42.526875,
46.629167,
45.452791,
49.651583,
53.920833,
51.994417,
50.58725,
50.946959,
48.99525,
52.794167,
54.237625,
55.123417
]
}
},
"memory": [
{
"projects": 1,
"processes": [
{
"pid": 45168,
"rssMiB": 48.609375
}
],
"totalRssMiB": 48.609375
},
{
"projects": 5,
"processes": [
{
"pid": 45168,
"rssMiB": 48.640625
},
{
"pid": 45177,
"rssMiB": 48.453125
},
{
"pid": 45185,
"rssMiB": 48.546875
},
{
"pid": 45192,
"rssMiB": 48.515625
},
{
"pid": 45199,
"rssMiB": 48.46875
}
],
"totalRssMiB": 242.625
},
{
"projects": 10,
"processes": [
{
"pid": 45168,
"rssMiB": 48.6875
},
{
"pid": 45177,
"rssMiB": 48.484375
},
{
"pid": 45185,
"rssMiB": 48.578125
},
{
"pid": 45192,
"rssMiB": 48.546875
},
{
"pid": 45199,
"rssMiB": 48.5
},
{
"pid": 45216,
"rssMiB": 48.53125
},
{
"pid": 45224,
"rssMiB": 48.46875
},
{
"pid": 45231,
"rssMiB": 48.4375
},
{
"pid": 45238,
"rssMiB": 48.578125
},
{
"pid": 45247,
"rssMiB": 48.515625
}
],
"totalRssMiB": 485.328125
}
],
"acceptance": {
"warmP95AtMost100Ms": true,
"allReadinessAtMost1000Ms": true
}
}