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 — native preview: force-inline jvector's scalar distance path (vector build 13-15% faster, measured) by tae898 · Pull Request #495 · 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 Oct 24, 2026

Copy link
Copy Markdown

Force-inlines jvector's scalar distance path in the native image (-H:PriorityForceInline on ArrayVectorFloat.length/get, VectorUtil.squareL2Distance/dotProduct/cosine and DefaultVectorUtilSupport.squareDistance/squareDistanceUnrolled/dotProduct/cosine in native-image.properties), and the preview build fails if the image did not pick it up. Green on all four platforms in CI run 39807672763; parity 979/0 (962/0 on Windows).

Measured with tools/ab.py --noise on the laptop timed queue (ABBA, cores 6,7, round 0 dropped): A = the published arcadedb-embedded-native==26.10.2.dev1, B = this branch's wheel (same version string; the wheels differ only in libarcadedb.so and _build_info.py). Ratio B/A, below 1 means this branch is faster. Workloads: 100k x 128-d vectors (row INSERT, LSM_VECTOR build, 1000 searches) and 1M-row SQL (4 group-by/order-by/filter queries).

figure gate clean pairs median B/A 95% CI verdict
q_filter_count_warm_ms yes 12 1.007 [0.969, 1.052] no detectable difference
q_groupby_grp_warm_ms yes 12 1.014 [0.981, 1.034] no detectable difference
q_groupby_two_orderby_sum_warm_ms yes 12 1.009 [0.974, 1.038] no detectable difference
q_orderby_val_limit_warm_ms yes 12 0.999 [0.982, 1.046] no detectable difference
sql_read_set_warm_ms yes 12 1.010 [0.992, 1.024] no detectable difference
vec_build_s yes 11 0.860 [0.852, 0.872] B better by 13 to 15 percent
vec_search_s yes 11 0.995 [0.968, 1.023] no detectable difference
load_1M_ms 12 1.019 [1.012, 1.025] B worse by 1 to 2 percent
peak_rss_sql_mib 12 0.990 [0.984, 0.997] B better by 0 to 2 percent
q_filter_count_1st_ms 12 0.993 [0.982, 1.022] no detectable difference
q_groupby_grp_1st_ms 12 0.999 [0.966, 1.015] no detectable difference
q_groupby_two_orderby_sum_1st_ms 12 0.998 [0.973, 1.023] no detectable difference
q_orderby_val_limit_1st_ms 12 1.008 [0.984, 1.024] no detectable difference
sql_read_set_1st_ms 12 0.998 [0.984, 1.007] no detectable difference
vec_load_s 11 1.000 [0.988, 1.008] no detectable difference

vec DIST0 (first neighbour distance, parity of the answers): A: 12.98830509185791; B: 12.98830509185791

Result: the vector index build is 13 to 15 percent faster; search, SQL and vector load show no detectable difference; the 1M-row load is 1 to 2 percent slower. Every gating figure has at least 10 clean pairs and a CI width of 0.10 or less. Study folder: .notes/bench/repros/native-inline-ab-laptop-20261023/.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
tae898 and others added 3 commits October 23, 2026 00:13
@tae898 @claude
native preview: force-inline jvector's scalar distance path in the im…
f284d9f
…age (-H:PriorityForceInline), gate on it being picked up

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tae898 @claude
native preview: the force-inline pickup gate accepts the backslash pa…
178de4d
…ths Windows prints

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tae898 @claude
ci: native-wheel needs no bindings test run (native-preview.yml build…
8857c44
…s and parity-tests it)

The trigger-coverage lint failed on the first PR into native-preview (#495):
bindings/python/native-wheel was in no trigger list. It is covered by
native-preview.yml, so it goes to NO_TEST_RUN.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tae898

tae898 commented Oct 24, 2026

Copy link
Copy Markdown
Author

The measured wheel was built from f284d9f12c + 178de4de2c. 8857c44ab8 only adds native-wheel to NO_TEST_RUN in lint-workflows.yml: this is the first PR into native-preview, and the trigger-coverage lint had never run on that branch. native-preview.yml builds and parity-tests that folder.

All reactions

Sorry, something went wrong.

Uh oh!

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

@tae898
tae898 merged commit f1ab0b4 into native-preview Oct 24, 2026
14 checks passed

Uh oh!

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

@tae898
tae898 deleted the native-inline branch October 24, 2026 05:44
@tae898 tae898 mentioned this pull request Oct 24, 2026
JVM wheel: ship the _native subpackage #505
Merged
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.

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.