Files
wickra/.github/ISSUE_TEMPLATE/performance_regression.md
T
kingchencandGitHub 12681e4b1b C ABI: full example suite + docs & About coverage (#224)
Stacked on #222 (base `feat/c-abi-hub`), so the diff is just the additions on top of the hub foundation — no merge of #222 required.

## What this adds

**Examples — full parity with rust/python/node (`examples/c/`)**
- `streaming.c` upgraded to the multi-indicator (SMA/EMA/RSI/MACD + signals) demo
- `backtest.c`, `multi_timeframe.c` (manual time-bucket resampling), `parallel_assets.c` (serial vs OpenMP fan-out, one handle per asset)
- three educational strategies: `strategy_rsi_mean_reversion.c`, `strategy_macd_adx.c`, `strategy_bollinger_squeeze.c`
- two network examples shelling out to `curl`: `fetch_btcusdt.c`, `live_binance.c` (REST poll)
- two header-only helpers (`wickra_csv.h`, `wickra_strategy.h`) since the C ABI ships no IO layer
- CMake builds all 11; the 9 offline ones run under `ctest` on 3 OS; the network two are built-only

**Docs & metadata — surface the C ABI everywhere it was missing**
- ARCHITECTURE diagram + crate table, SECURITY + THREAT_MODEL (the C ABI as the sole `unsafe` FFI surface), the three binding package READMEs, issue/PR templates, CHANGELOG, and the GitHub About template (live About + org description updated too)

**Cleanup**
- removed all references to the private generator tooling from public files (`bindings/c/src/lib.rs` header, `CONTRIBUTING.md`, `sync-about.yml`)

Verified locally: `cargo build -p wickra-c --release`, `cmake + ctest` (9/9 pass), and `-Wall -Wextra -Wpedantic` clean on gcc 13.
2026-06-09 02:14:28 +02:00

1.5 KiB

name, about, title, labels, assignees
name about title labels assignees
Performance regression Report a measurable slowdown, memory blowup, or throughput drop. [Perf] <indicator / API> regressed in <version>
performance
regression
triage

Summary

Affected code path

  • Indicator / API: e.g. EMA.update
  • Binding: Rust / Python / Node / Wasm / C ABI
  • Hot loop or one-shot call?

Versions compared

Version Throughput / latency / memory Notes
0.4.1 e.g. 12.3 ns/iter baseline (Good)
0.4.2 e.g. 38.7 ns/iter regressed

Benchmark / reproducer

cargo bench --bench ema -- --save-baseline new
ema/update              time:   [38.5 ns 38.7 ns 38.9 ns]
                        change: [+213.4% +214.8% +216.1%] (p = 0.00 < 0.05)
                        Performance has regressed.

Hardware / environment

Field Value
CPU e.g. Ryzen 9 9950X, AVX2 + AVX512
OS / arch e.g. Linux 6.8 x86_64
Toolchain rustc 1.x.y
Build flags RUSTFLAGS=..., --release, profile

Suspected cause