Skip to content

Add large-file performance benchmark harnesses and analysis - #30

Closed
zhemingfan wants to merge 1 commit into
mainfrom
chore/perf-benchmarks-and-analysis
Closed

Add large-file performance benchmark harnesses and analysis#30
zhemingfan wants to merge 1 commit into
mainfrom
chore/perf-benchmarks-and-analysis

Conversation

@zhemingfan

Copy link
Copy Markdown
Owner

Summary

Adds the benchmark + analysis bundle produced while profiling BioFmt on large files. Everything drives the actual production code (validators from server/src/validators, the VCF field parsers, and @gmod/bam), so the numbers reflect real behavior — unlike the prior raw-I/O stress_test.py.

Contents (all under test/stress/)

  • Harnesses: validator sweep, parseVcfHeader before/after, BAM indexed-query vs whole-file, BAM coverage-depth, GFF3 flat-vs-hierarchical, population-VCF sample parsing, and TextMate tokenization (BioFmt vs bioSyntax grammars).
  • Figure generators (plot_*.py) + rendered figures (figures/).
  • Docs: ANALYSIS.md (performance), COMPARISON.md (vs the 3 VS Code extensions), REMEDIATION.md (prioritized weakness fixes — W4 is addressed in Parse only visible VCF sample columns in the preview #29).

Reproduction commands are in ANALYSIS.md. Not part of the shipped extension bundle.

Adds the real-code benchmark suite used to profile the validation, preview, and
indexed-file paths on synthetic files up to ~1M records, plus the competitive
comparison against the VS Code alternatives and the weakness deep-dive. All
harnesses drive the actual production code (server/src validators, the VCF field
parsers, @gmod/bam), unlike the prior raw-I/O stress_test.py.

- bench harnesses: validator sweep, parseVcfHeader before/after, BAM indexed
  query vs whole-file, BAM coverage depth, GFF3 flat vs hierarchical,
  population-VCF sample parsing, and TextMate tokenization.
- Figure generators (matplotlib) and rendered figures.
- ANALYSIS, COMPARISON, and REMEDIATION writeups.

These are analysis artifacts under test/stress/, not shipped in the extension.
@zhemingfan zhemingfan closed this Jul 2, 2026
@zhemingfan
zhemingfan deleted the chore/perf-benchmarks-and-analysis branch July 2, 2026 07:09
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