Skip to content

Did a performance analysis of the search#1300

Merged
VisLab merged 3 commits intohed-standard:mainfrom
VisLab:enhance_search
Apr 7, 2026
Merged

Did a performance analysis of the search#1300
VisLab merged 3 commits intohed-standard:mainfrom
VisLab:enhance_search

Conversation

@VisLab
Copy link
Copy Markdown
Member

@VisLab VisLab commented Apr 7, 2026

No description provided.

@VisLab VisLab requested a review from Copilot April 7, 2026 16:36
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Claude code review could not run. The request to the Claude API failed (possible causes: billing limit reached, token expired, or service unavailable). Review this PR manually.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a benchmarking harness and generated reports to document and compare performance characteristics of HED search implementations (basic_search, QueryHandler, StringQueryHandler), and updates docs accordingly.

Changes:

  • Expanded docs/search_details.md with implementation comparisons plus benchmark tables and methodology.
  • Added benchmark runner (benchmarks/search_benchmark.py) with synthetic/real-data generation (benchmarks/data_generator.py).
  • Added a reporting tool (benchmarks/report.py) and checked in generated benchmark artifacts (markdown report + at least one PNG).

Reviewed changes

Copilot reviewed 5 out of 25 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
docs/search_details.md Adds a structured “search details” page with performance benchmarks and guidance.
benchmarks/search_benchmark.py New benchmark harness for compilation, single-string, series, and sweep benchmarks.
benchmarks/data_generator.py Generates synthetic HED strings and loads real BIDS data for benchmarking.
benchmarks/report.py Generates summary tables, plots, and a markdown report from JSON benchmark outputs.
benchmarks/results/benchmark_20260407_103440_report.md Generated benchmark report checked into the repo.
benchmarks/figures/benchmark_20260407_103440_compile_vs_search.png Generated plot checked into the repo.
Comments suppressed due to low confidence (1)

docs/search_details.md:159

  • This claims benchmarks used HED 8.4.0, but benchmarks/data_generator.py defaults to schema version 8.3.0 and search_benchmark.py instantiates DataGenerator() without overriding it. Either update the harness default to 8.4.0 or adjust the documentation to match the actual schema version used.

Comment thread benchmarks/search_benchmark.py Outdated
Comment thread benchmarks/search_benchmark.py
Comment thread benchmarks/report.py
Comment thread benchmarks/report.py
Comment thread benchmarks/report.py Outdated
Comment thread benchmarks/report.py Outdated
Comment thread benchmarks/data_generator.py
Comment thread benchmarks/results/benchmark_20260407_103440_report.md Outdated
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Claude code review could not run. The request to the Claude API failed (possible causes: billing limit reached, token expired, or service unavailable). Review this PR manually.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 6 out of 63 changed files in this pull request and generated 10 comments.

Comment thread docs/search_details.md
Comment thread docs/search_details.md
Comment thread docs/search_details.md
Comment thread benchmarks/data_generator.py
Comment thread benchmarks/search_benchmark.py Outdated
Comment thread benchmarks/search_benchmark.py
Comment thread benchmarks/report.py
Comment thread benchmarks/report.py
Comment thread benchmarks/report.py
Comment thread benchmarks/results/benchmark_20260407_103440_report.md Outdated
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 7, 2026

Claude code review could not run. The request to the Claude API failed (possible causes: billing limit reached, token expired, or service unavailable). Review this PR manually.

@VisLab VisLab merged commit f5b5384 into hed-standard:main Apr 7, 2026
20 checks passed
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