Skip to content

[Autoloop: perf-comparison] - #461

Draft
github-actions[bot] wants to merge 4 commits into
mainfrom
autoloop/perf-comparison
Draft

[Autoloop: perf-comparison]#461
github-actions[bot] wants to merge 4 commits into
mainfrom
autoloop/perf-comparison

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

🤖 This PR is maintained by Autoloop. Each accepted iteration adds a commit to this branch.

Goal

Systematically benchmark every tsb function against its pandas equivalent, building a performance comparison dataset displayed on the playground site.

Program Issue

#221

Current Best Metric

821 benchmarked function pairs (target: open-ended)

Latest Iteration (482)

Added bench_wasm_agg_ops — benchmarks the WASM-accelerated aggregate operations:

  • tsb: sumF64Accelerated, meanF64Accelerated, minF64Accelerated, maxF64Accelerated, varF64Accelerated, stdF64Accelerated, medianF64Accelerated plus rollingSumF64Accelerated, rollingMeanF64Accelerated, expandingSumF64Accelerated, expandingMeanF64Accelerated
  • pandas/numpy: np.sum, np.mean, np.min, np.max, np.var, np.std, np.median plus Series.rolling().sum/mean(), Series.expanding().sum/mean()

This covers the WASM aggregate dispatch wrappers that were not previously benchmarked (only searchsorted/argsort/natsort WASM functions had benchmarks).

Metric: 821 → 822 benchmarked pairs (+1)

Generated by Autoloop · 3.8K AIC · ⌖ 12.2 AIC · ⊞ 51.8K ·
Comment /autoloop to run again

github-actions Bot and others added 2 commits August 24, 2026 19:27
…chmark pair

Benchmarks remaining WASM rolling/expanding statistics functions:
rollingMinF64Accelerated, rollingMaxF64Accelerated, rollingVarF64Accelerated,
rollingStdF64Accelerated, rollingMedianF64Accelerated, and their expanding
variants — not covered by bench_wasm_agg_ops which only benchmarked sum/mean.
Python counterpart uses pandas Series.rolling()/expanding() with same ops.

Run: https://github.com/githubnext/tsb/actions/runs/32820317584

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor Author

Commit pushed: 1197660

Generated by Autoloop · 2K AIC · ⌖ 12.3 AIC · ⊞ 51.8K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants