Skip to content

docs: the native library is built at -O3 (size against speed) - #205

Merged
tae898 merged 1 commit into
mainfrom
docs/native-o3-size
Nov 3, 2026
Merged

tae898 merged 1 commit into
mainfrom
docs/native-o3-size

Conversation

@tae898

@tae898 tae898 commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

The which-package comparison says the native wheel is smaller (no Java runtime) but not that the library inside is built at -O3, which is what makes it the size it is. This adds one sentence to the "Wheel size" row: about 1.6 times the size of an -O2 build for a warm speedup (geometric mean of the warm timings 0.736 of the -O2 time), the figures measured for #159 and recorded in the native/pom.xml note.

Docs only.

🤖 Generated with Claude Code

…ze vs speed)

The which-package comparison listed the native wheel as smaller without saying the library
inside is an -O3 build; #159 measured -O3 at about 1.62x the -O2 size for a warm geomean of
0.736 (native/pom.xml note).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tae898
tae898 merged commit 1fc7d08 into main Nov 3, 2026
1 check passed
@tae898
tae898 deleted the docs/native-o3-size branch November 3, 2026 04:02
tae898 added a commit that referenced this pull request Nov 3, 2026
Conflicts resolved:
- src/arcadedb/_native/records.py: keeps this branch's _save_update (lazy fingerprint, refuses a stale overwrite) and applies #202's rule inside it: the record id goes to the engine as the :rid parameter for both the stored-record read (_SELECT = "SELECT FROM :rid") and the UPDATE .. MERGE .. RETURN AFTER (_UPDATE now carries RETURN AFTER, which only _save_update uses). Without this, #202's test_native_statement_texts fails on the pasted ids in the save path.
- tests/conftest.py, tests/test_graph_api.py: both sides appended; kept both. The duplicate `import pytest` from the two sides is dropped and main's import order kept (local isort disagrees with main's CI order; left as main has it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant