← Back to home
Comparison · Infra & APIs

portfoliobacktest vs SLmetrics

A side-by-side editorial comparison of portfoliobacktest and SLmetrics — release velocity, themes, recent moves, and the top alternatives to consider.

Shared themes:r-package

portfoliobacktest vs SLmetrics: at a glance

FeatureportfoliobacktestSLmetrics
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesquantitative-finance, backtesting, portfolio-optimization, r-packagemachine-learning, model-evaluation, performance, cpp-backend
Last editorial update2h ago21h ago
WebsiteVisit →Visit →

What is portfoliobacktest?

Four dormant years end with a test fix, not a feature

portfolioBacktest runs portfolio strategies across multiple datasets and resampled windows, producing performance tables, leaderboards and charts. After a run of substantive releases through 2021 and early 2022 it went quiet for four years. The May 2026 release does one thing: fix unit tests against a breaking change in PerformanceAnalytics::Return.portfolio(), which now returns results for the full input series rather than only from the first weight date.

Read the full portfoliobacktest trajectory →

What is SLmetrics?

A young ML metrics package rewrote its own backend twice in six months chasing speed.

SLmetrics provides supervised learning evaluation metrics for R — confusion matrices, classification and regression measures, ROC and precision-recall curves — with the computation pushed into C++. After a series of pre-releases it now runs on an Armadillo backend, supports OpenMP parallelism and LAPACK/BLAS, and reports 5-20x speedups over its earlier implementations. The API has been reshaped for extensibility, with an estimator argument replacing the fixed aggregation options.

Read the full SLmetrics trajectory →

portfoliobacktest vs SLmetrics: editorial side-by-side

P
portfoliobacktest
INFRA · APIS
0.0

Four dormant years end with a test fix, not a feature

◆ Current state

portfolioBacktest runs portfolio strategies across multiple datasets and resampled windows, producing performance tables, leaderboards and charts. After a run of substantive releases through 2021 and early 2022 it went quiet for four years. The May 2026 release does one thing: fix unit tests against a breaking change in PerformanceAnalytics::Return.portfolio(), which now returns results for the full input series rather than only from the first weight date.

◆ Where it's heading

The development work is behind it. The 2019 to 2022 releases built the substance — parallel execution, resampling that works beyond stock data and beyond daily bars, transaction-cost-aware designs through w_current, and a switch from compounded to uncompounded returns in the Sharpe and annualized return calculations. Since then the package has moved only when a dependency forced it, and even then only far enough to keep the tests green.

◆ Prediction

Nothing in the entries suggests planned work; the next release is most likely triggered by another dependency change, on the same four-year-gap pattern.

S
SLmetrics
INFRA · APIS
0.0

A young ML metrics package rewrote its own backend twice in six months chasing speed.

◆ Current state

SLmetrics provides supervised learning evaluation metrics for R — confusion matrices, classification and regression measures, ROC and precision-recall curves — with the computation pushed into C++. After a series of pre-releases it now runs on an Armadillo backend, supports OpenMP parallelism and LAPACK/BLAS, and reports 5-20x speedups over its earlier implementations. The API has been reshaped for extensibility, with an estimator argument replacing the fixed aggregation options.

◆ Where it's heading

Every release in this timeline is about making the same metrics compute faster or compose better. The backend moved from Rcpp to plain C++, gained OpenMP, then was ported wholesale from Eigen to Armadillo with heavy templating. In parallel the author has been widening the API's joints: generic S3 signatures, an extensible estimator argument, and function signatures loose enough that wrapping packages can rename arguments. Bundled datasets and embedded formulas in the docs point at teaching and benchmarking use. The package still labels itself pre-release, which is consistent with how freely it has broken argument names along the way.

◆ Prediction

A stable non-pre-release version is the natural next step now that the backend has settled on Armadillo, though the repeated willingness to rename arguments suggests more API churn may come first.

Alternatives to portfoliobacktest and SLmetrics

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either portfoliobacktest or SLmetrics.

See all portfoliobacktest alternatives → · See all SLmetrics alternatives →

Recent activity from portfoliobacktest and SLmetrics

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 3mo agoportfoliobacktestTests fixed for a PerformanceAnalytics breaking change
  2. 1y agoSLmetricsArmadillo backend brings 5-20x speedups and an extensible metrics API
  3. 1y agoSLmetricsConsistent S3 signatures and three bundled datasets
  4. 1y agoSLmetricsRegression metrics 2-10x faster with reworked OpenMP controls
  5. 1y agoSLmetricsOpenMP parallelism and a soft-label entropy family
  6. 1y agoSLmetricsCross-entropy loss and relative RMSE with three normalisations
  7. 1y agoSLmetricsSample weights flow through the confusion matrix
  8. 4y agoportfoliobacktestSharpe ratio charts and reworked weight outputs
  9. 4y agoportfoliobacktestUncompounded return metrics and transaction-cost-aware designs
  10. 5y agoportfoliobacktestResampling generalised beyond daily stock data
  11. 6y agoportfoliobacktestCRAN example fixes and vignette references
  12. 6y agoportfoliobacktestDrawdown, cumulative return and stacked bar charts

Frequently asked questions

What is the difference between portfoliobacktest and SLmetrics?

Both compete on the same themes — r-package — within Infra & APIs. portfoliobacktest and SLmetrics are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is portfoliobacktest better than SLmetrics?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. portfoliobacktest and SLmetrics are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to portfoliobacktest?

Top portfoliobacktest alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "portfoliobacktest alternatives" section above for the current picks, or visit /alternatives/portfoliobacktest for the full list with editorial commentary on each.

What are the best alternatives to SLmetrics?

Top SLmetrics alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "SLmetrics alternatives" section above for the current picks, or visit /alternatives/slmetrics for the full list with editorial commentary on each.