Skip to content

Bump sparql-benchmark-runner to 5.4.0 - #21

Merged
rubensworks merged 1 commit into
masterfrom
claude/lucid-meitner-jg4dy5-sbr-5.4
Nov 14, 2026
Merged

rubensworks merged 1 commit into
masterfrom
claude/lucid-meitner-jg4dy5-sbr-5.4

Conversation

@rubensworks

Copy link
Copy Markdown
Member

WatDiv at scale 1000 crashed after all queries of a combination had finished, while writing its results:

RangeError: Invalid string length
    at JSON.stringify (<anonymous>)
    at ResultSerializerRaw.serialize (.../sparql-benchmark-runner/lib/ResultSerializerRaw.js:22:52)
    at ExperimentWatDiv.run (.../@jbr-experiment/watdiv/lib/ExperimentWatDiv.js:150:39)

Both query-results-raw.json and query-times.csv of that combination were lost, and the remaining combinations didn't run. sparql-benchmark-runner 5.4.0 (comunica/sparql-benchmark-runner.js#21) fixes this:

  • Raw results are written one by one, instead of as a single string. At scale 1000, the raw JSON is about 900 MB, mostly C3's per-row timestamps, which exceeds V8's maximum string length.
  • CSV results are awaited, so query-times.csv is no longer lost when the process exits right after writing it.

This updates the lockfiles of WatDiv and LDBC SNB, the two experiments that use sparql-benchmark-runner. Their experiment packages already accept ^5.3.0, so only the locked version changes. BSBM uses its own test driver, so it isn't affected.

Checks

  • npm ci installs 5.4.0 in both experiments, and jbr validate passes for both.
  • On real WatDiv scale-100 results, the published 5.4.0 writes a raw JSON that is byte-identical to 5.3.0's.

Generated by Claude Code

5.4.0 writes raw results one by one, as WatDiv at scale 1000 exceeded the
maximum string length when writing them all at once. It also waits until
the CSV results are written, so they are no longer lost when the process
exits right after.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNM2PDyzVijfquXVY2Av52
@rubensworks
rubensworks merged commit a13c808 into master Nov 14, 2026
46 of 55 checks passed
@rubensworks
rubensworks deleted the claude/lucid-meitner-jg4dy5-sbr-5.4 branch November 14, 2026 08:27
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.

2 participants