GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — benchmarks: stream the SurrealDB lifecycle build, and stage qOA6 re-runs the arm (#28) by tae898 · Pull Request #29 · humemai/arcadedb-embedded-python

This repository was archived by the owner on Nov 21, 2026. It is now read-only.

Conversation

@tae898

@tae898 tae898 commented Sep 30, 2026

Copy link
Copy Markdown

Closes #28.

  • l5_lifecycle_surreal.py: the build streams its input through _batched (the same 5,000-row batches, from a generator) instead of building all n rows as one list first. Applies to doc, doc_idx10, graph (vertices and edges), vector, and ts.
  • make_october_stages.py: stage qOA6, every SurrealDB lifecycle cell (eight situations, four sizes, qOG's BENCH_LC_ITERS=5, BENCH_LC_WARMUP=2), waiting on qOA5, aborting unless _batched is in the tree it pulls. Its rows supersede qOG's under the canonical key, as qOA5's do for LadybugDB.
  • CAMPAIGN.md: qOA6 in the chain, section 7 row 24; row 23 cites the LadybugDB decision as Schema.get_or_create_property raises 'No matching overloads' for of_type=PropertyType.X, where create_property accepts it #125 (it had reused append_samples(primitive=True) raises 'truth value of an array is ambiguous' for a NumPy tag or bool column, and silently pads a column that is shorter than the timestamps #124).

Verified on the laptop:

  • every insert call identical to the old build's in all five building situations (a recording stub, n = 12,345);
  • the input's memory at 1M: 2,799 -> 3 MiB (vector), 1,514 -> 0 MiB (graph);
  • a real embedded cell per situation at 10k in dbbench:client (surrealdb-embedded:2.3.10, sdk 2.0.0), read digests equal to qOG's rows on mini;
  • the generated qOA6.sh parses (bash -n), queue_lint passes, it differs from qOG.sh only in id, wait, guard, image list, and backends; structure_check all ok (stage chain, citations).

No other lane's SurrealDB arm builds a whole input. qOA6 does not affect the running stage (qOH, dense) or any stage before qOA6; mini's queue pulls main at each stage start.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WWcDr7TwvcfMsQkeYQVHZr

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tae898 @claude
benchmarks: stream the SurrealDB lifecycle build, and stage qOA6 re-r…
7318285
…uns the arm (#28)

l5_lifecycle_surreal.build() made each situation's whole input one Python
list before its first insert; the ArcadeDB arm streams row by row. The list
sat in SurrealDB's published peak memory at every size, and at 10M vector it
alone filled the 28g envelope, so qOG's kill of that cell was ours. _batched
yields the same 5,000-row batches from a generator: every insert call equals
the old build's in all five building situations, the input's memory at 1M
falls from 2,799 to 3 MiB (vector), and a real cell per situation at 10k
reads the digests qOG recorded.

qOA6 re-runs every SurrealDB lifecycle cell after qOA5, all situations at all
four sizes with qOG's settings, superseding qOG's rows; guarded on _batched
being in the pulled tree. CAMPAIGN gains row 24 and qOA6 in the chain; the
LadybugDB fit's decision is cited as #125 (it had reused #124).

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01WWcDr7TwvcfMsQkeYQVHZr
@tae898
tae898 merged commit 0afed18 into main Sep 30, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@tae898
tae898 deleted the fix/surreal-lifecycle-stream-input branch September 30, 2026 17:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

benchmarks: the SurrealDB lifecycle build holds its whole input in memory (its 10M vector kill was ours), stream it and re-run the arm

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@tae898
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.