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
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.
39 lines
2.4 KiB
Markdown
39 lines
2.4 KiB
Markdown
# Historical WRK-000C measurement handoff
|
|
|
|
WRK-000C was cancelled by Nilton; WRK-000E implements the local-server model and
|
|
records [native SSE measurements](local-server-sse-results.md). The scenario below preserves
|
|
the earlier backend-comparison handoff; it is not the accepted server benchmark.
|
|
SQLite adoption alone did not establish latency results. This scenario prepares comparable
|
|
local datasets; it makes no performance claim and was not run as a benchmark in
|
|
WRK-000D. Use the same final executable/package, machine and source revision for
|
|
both backends. Keep companion libraries beside the executable.
|
|
|
|
```sh
|
|
python3 scripts/latency-fixture.py --binary "$PWD/build/native/package/ai-engineering" \
|
|
--directory /tmp/aie-latency-sqlite --works 100 --entries 10 --storage sqlite
|
|
python3 scripts/latency-fixture.py --binary "$PWD/build/native/package/ai-engineering" \
|
|
--directory /tmp/aie-latency-legacy --works 100 --entries 10 --storage legacy
|
|
```
|
|
|
|
Directories must be new. The script creates only synthetic Works/notes, with no
|
|
approval, installation or migration. `latency-fixture.json` records version, binary
|
|
SHA-256, backend, environment, volume and selected Work. Creation time is distinct
|
|
from query latency. Record the source revision/build identifier as well; the release
|
|
label alone is insufficient to distinguish this checkout from older 0.1.0 builds.
|
|
|
|
Measure fresh processes separately from repeated queries. In each dataset, repeat
|
|
`work show WRK-0064 --format json`, `work context WRK-0064 --format json`,
|
|
`next-actions WRK-0064 --format json`, `work list --open --format table` and
|
|
`status --format json`. Capture wall time, exit status and whether the command gives
|
|
feedback while waiting; avoid including terminal rendering time accidentally.
|
|
Record each sample, then compare median and tail latency. Vary volume afterward
|
|
(1/10/100 Works), using identical note counts and commands across both backends.
|
|
|
|
Record OS/CPU, package/JVM mode, protocol/database schema and source access settings.
|
|
Use no registered Git repositories first, then measure their contribution separately.
|
|
Do not mix migration, integrity repair, network/provider calls or fixture generation
|
|
into query timing. The current physical native verification used macOS arm64 and
|
|
GraalVM CE 25.5.5.0+3 with SQLite JDBC 3.54.1.0 / sqlite3 3.54.1; other machines need
|
|
their own recorded environment. The historical instructions do not reopen WRK-000C
|
|
or replace WRK-000E's accepted scenario and measured results.
|