Skip to content

Commit

Permalink
tool benchmarking (#190)
Browse files Browse the repository at this point in the history
Co-authored-by: Bagatur <baskaryan@gmail.com>
  • Loading branch information
isahers1 and baskaryan authored Jul 24, 2024
1 parent 22d279a commit 7e16b6d
Show file tree
Hide file tree
Showing 7 changed files with 2,627 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .github/workflows/tool_benchmarks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Weekly Tool Benchmarks

on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0' # Runs at midnight (00:00) every Sunday (UTC time)

jobs:
run_tool_benchmarks:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.12 + Poetry ${{ env.POETRY_VERSION }}
uses: "./.github/actions/poetry_setup"
with:
python-version: '3.12'
poetry-version: ${{ env.POETRY_VERSION }}
working-directory: .
cache-key: benchmarks-all

- name: Install dependencies
shell: bash
run: |
echo "Running tests, installing dependencies with poetry..."
poetry install --with test,lint,typing,docs
- name: Multiverse math benchmark
run: python scripts/multiverse_math_benchmark.py

- name: Query analysis benchmark
run: python scripts/query_analysis_benchmark.py
436 changes: 436 additions & 0 deletions docs/source/notebooks/tool_usage/multiverse_math_benchmark.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 7e16b6d

Please sign in to comment.