Skip to content

Fix benchmarks: missing ScriptMutability argument#309

Open
lawless-m wants to merge 1 commit intocozodb:mainfrom
lawless-m:pr/bench-fix
Open

Fix benchmarks: missing ScriptMutability argument#309
lawless-m wants to merge 1 commit intocozodb:mainfrom
lawless-m:pr/bench-fix

Conversation

@lawless-m
Copy link
Copy Markdown

Summary

run_script() gained a third ScriptMutability parameter, but none of the benchmark files were updated. All three (pokec, time_travel, wiki_pagerank) currently fail to compile.

This PR adds the missing argument (ScriptMutability::Mutable throughout, matching the prior behavior where benches could write) and the necessary import.

Test plan

  • cargo +nightly check -p cozo --benches — clean (benches require nightly due to #![feature(test)], pre-existing)

run_script() gained a third ScriptMutability parameter but the
benchmarks were never updated, so all three bench files fail to
compile.

Co-Authored-By: Claude Opus 4.6 (1M context) <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