Skip to content

[Autoloop: perf-comparison] - #461

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

[Autoloop: perf-comparison]#461
github-actions[bot] wants to merge 20 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

…benchmark pair

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

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

Copy link
Copy Markdown
Contributor Author

Commit pushed: 6808d33

Generated by Autoloop · 4K AIC · ⌖ 11.9 AIC · ⊞ 51.8K

@github-actions

Copy link
Copy Markdown
Contributor Author

Commit pushed: c090288

Generated by Autoloop · 2.4K AIC · ⌖ 11.9 AIC · ⊞ 51.8K

github-actions Bot and others added 2 commits August 26, 2026 07:26
Benchmarks MultiIndex.toList() (tsb) vs pd.MultiIndex.tolist() (pandas)
on a 100k-pair MultiIndex. This brings the total benchmark pairs from
825 to 826.

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

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

Copy link
Copy Markdown
Contributor Author

Commit pushed: 78ffce6

Generated by Autoloop · 8.9K AIC · ⌖ 11.8 AIC · ⊞ 51.8K

@github-actions

Copy link
Copy Markdown
Contributor Author

Commit pushed: fceac8c

Generated by Autoloop · 1.8K AIC · ⌖ 12 AIC · ⊞ 51.8K

@github-actions

Copy link
Copy Markdown
Contributor Author

Commit pushed: 56519d0

Generated by Autoloop · 1.2K AIC · ⌖ 11.9 AIC · ⊞ 51.8K

@github-actions

Copy link
Copy Markdown
Contributor Author

Commit pushed: 85dc945

Generated by Autoloop · 1.7K AIC · ⌖ 12 AIC · ⊞ 51.8K

github-actions Bot and others added 2 commits August 28, 2026 17:08
…hmark pair

Benchmarks addPrefixSeries / addSuffixSeries / setAxisSeries / setAxisDataFrame / seriesToFrame
against pandas Series.add_prefix / add_suffix / set_axis / DataFrame.set_axis / Series.to_frame.
These 5 exported functions from src/stats/rename_ops.ts had no dedicated benchmark pair.
Dataset: 100k-element Series and DataFrame with string index labels.

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

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

Copy link
Copy Markdown
Contributor Author

Commit pushed: fd0704a

Generated by Autoloop · 5.7K AIC · ⌖ 12.1 AIC · ⊞ 51.8K

…benchmark pair

Benchmarks rollingSumF64Accelerated, rollingMeanF64Accelerated,
expandingSumF64Accelerated, expandingMeanF64Accelerated from src/wasm/accelerated.ts
against pandas Series.rolling(50).sum/mean and Series.expanding().sum/mean
on 100k-element float64 arrays.

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

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

Copy link
Copy Markdown
Contributor Author

Commit pushed: 5d7effd

Generated by Autoloop · 1.6K AIC · ⌖ 11.9 AIC · ⊞ 51.8K

注册 for free to join this conversation on GitHub. Already have an account? 登录 to comment

项目

None yet

Development

Successfully merging this pull request may close these issues.

0 participants