Skip to main content
Benchmark snapshot comparing numpy-ts 1.1.0 against native Python NumPy. Run your own via npm run bench.

Benchmark Summary

  • Average speedup: 0.41x vs NumPy
  • Best case: 35.96x
  • Worst case: 0.06x
  • Total benchmarks: 2170
  • Machine: Apple M4 Max (16 cores, 128 GB, arm64)
  • numpy-ts version: 1.1.0

Performance by Category

CategoryAvg SpeedupCountFasterSlower
creation0.72x19667129
arithmetic0.45x27134237
math0.40x13418116
trig0.40x19826172
gradient1.78x20146
linalg0.95x256134122
reductions0.62x381108273
manipulation0.77x21079131
io1.90x604317
indexing0.69x1023765
bitwise0.32x10010
sorting0.61x682048
logic0.90x1254481
statistics1.01x19109
sets0.34x30426
random0.22x18018
polynomials2.08x20146
fft0.19x48444
utilities11.28x440

Performance by DType

DTypeAvg SpeedupMedian SpeedupCount
float640.56x0.51x276
float320.54x0.50x240
int640.57x0.53x196
uint640.56x0.49x186
int320.70x0.63x206
uint320.70x0.67x187
int160.71x0.68x187
uint160.69x0.68x183
int80.79x0.75x187
uint80.78x0.77x185
complex1280.47x0.42x74
complex640.42x0.40x63