performance - CyrilB1531/lodestar GitHub Wiki

Performance

One comparison per capability: this library against the library a reader would otherwise reach for, with that library's version, the machine the pair ran on and the window the run took. Both sides are checked to return the same answers before either is timed — the agreement checks, the corpora and every command are bench/README.md's subject, and this page carries only what came out.

A before/after of this repository's own code is not here. It is an argument about one commit, and it belongs in the pull request that made it.

How to read a row

  • A ratio above 1 means this library is faster, unless the table's own header says otherwise; each table states its direction.
  • A named machine is not a shared runner. Every row below names the processor, the operating system and the runtime it ran on. Where a row comes from a hosted runner or a session container it says so, and is read as a ratio: such a machine's absolutes are not comparable between nights, or with another machine's.
  • A cross-language row is processor time as well as wall time where the Python side can use more than one core, because a wall-clock lead over a multi-threaded reference is a different claim from a lead per core.
  • Every baseline here is single-threaded unless the row says otherwise.

Packages

Each package's comparisons live beside its project (#1133).

package comparisons
Lodestar.Abstractions none yet
Lodestar.Cluster measured
Lodestar.Conformal measured
Lodestar.Decomposition measured
Lodestar.Embeddings measured
Lodestar.Extensions.AI none yet
Lodestar.Extensions.MathNet none yet
Lodestar.Extensions.VectorData none yet
Lodestar.Fuzzy measured
Lodestar.Gpu measured
Lodestar.Metrics measured
Lodestar.Onnx none yet
Lodestar.Preprocessing measured
Lodestar.Stats measured
Lodestar.Stats.Regression measured
Lodestar.Stats.TimeSeries measured
Lodestar.Survival measured
Lodestar.Text measured