Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
runners:
description: 'Runners to benchmark (comma-separated: linux,macos or just linux)'
required: false
default: 'linux'
default: 'linux,macos'
type: string
benchmark_suite:
description: 'Benchmark suite to run (fast or full)'
Expand Down Expand Up @@ -290,19 +290,19 @@ jobs:
echo "rustflags=-Ctarget-cpu=skylake" >> $GITHUB_OUTPUT
fi

- name: Cache Cargo dependencies
- name: Set up sccache
uses: mozilla-actions/sccache-action@v0.0.9

- name: Cache Cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-benchmark-${{ hashFiles('**/Cargo.lock') }}-${{ steps.rust-target.outputs.target_cpu }}
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-benchmark-${{ hashFiles('**/Cargo.lock') }}-
${{ runner.os }}-cargo-benchmark-
${{ runner.os }}-cargo-registry-

- name: Install target polars-bio from source
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
source .venv/bin/activate
pip install polars-bio
- name: Deploy docs
run: poetry run mkdocs gh-deploy --remote-branch gh-pages -f mkdocs.yml --force
run: poetry run mkdocs gh-deploy --remote-branch gh-pages -f mkdocs.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions benchmarks/generate_interactive_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,9 @@ def generate_html_report(data_dir: Path, output_path: Path):
# Generate HTML
html = generate_html_template(index, all_datasets, refs_by_type)

# Ensure output directory exists
output_path.parent.mkdir(parents=True, exist_ok=True)

output_path.write_text(html)
print(f"Generated interactive report: {output_path}")

Expand Down
Loading