Avatar for the xtensor-stack user
xtensor-stack
xtensor
BlogDocsChangelog

fix: correct negative axis handling in roll function

#2920Merged
Comparing
JohanMabille:fix/roll-negative-axis-handling
(
4149fb7
) with
master
(
b4a9f8e
)
CodSpeed Performance Gauge
0%
Untouched
255

Benchmarks

255 total
transpose_assign_cm_rm[10x20x500]
benchmark/benchmark_views.cpp::xt::stridedview
CodSpeed Performance Gauge
0%
930.1 µs930.1 µs
transpose_assign_rm_cm[10x20x500]
benchmark/benchmark_views.cpp::xt::stridedview
CodSpeed Performance Gauge
0%
930.4 µs930.5 µs
transpose_assign_rm_rm[10x20x500]
benchmark/benchmark_views.cpp::xt::stridedview
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
transpose_assign_cm_cm[10x20x500]
benchmark/benchmark_views.cpp::xt::stridedview
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
view_assign_strided_view[float]
benchmark/benchmark_views.cpp::xt::view_benchmarks
CodSpeed Performance Gauge
0%
68.3 µs68.3 µs
math_ref_1[cosh_fn][64]
benchmark/benchmark_math.cpp::xt::math
CodSpeed Performance Gauge
0%
160.5 µs160.5 µs
math_ref_2[pow_fn][64]
benchmark/benchmark_math.cpp::xt::math
CodSpeed Performance Gauge
0%
161 µs161 µs
math_ref_1[asin_fn][64]
benchmark/benchmark_math.cpp::xt::math
CodSpeed Performance Gauge
0%
182.4 µs182.4 µs
math_ref_1[acos_fn][64]
benchmark/benchmark_math.cpp::xt::math
CodSpeed Performance Gauge
0%
185.1 µs185.1 µs
reducer_reducer[100000x10 / axis 1]
benchmark/benchmark_reducer.cpp::xt::reducer
CodSpeed Performance Gauge
0%
9.3 ms9.3 ms
stencil_threedirections[stencil_threedirections_500]
benchmark/benchmark_views.cpp::xt::finite_diff
CodSpeed Performance Gauge
0%
1.5 s1.5 s
xtensor<double, 2>][32]
benchmark/benchmark_assign.cpp::xt::assign::assign_c_assign_iii[xt
CodSpeed Performance Gauge
0%
14.1 µs14.1 µs
xtensor<double, 2>][64]
benchmark/benchmark_assign.cpp::xt::assign::assign_xstorageiter_copy[xt
CodSpeed Performance Gauge
0%
59.6 µs59.6 µs
xtensor<double, 2>][256]
benchmark/benchmark_assign.cpp::xt::assign::assign_x_assign[xt
CodSpeed Performance Gauge
0%
881.7 µs881.7 µs
xtensor<double, 2>][32]
benchmark/benchmark_assign.cpp::xt::assign::assign_x_assign_ii[xt
CodSpeed Performance Gauge
0%
9.8 µs9.8 µs
xtensor<double, 2>][32]
benchmark/benchmark_assign.cpp::xt::assign::assign_c_assign[xt
CodSpeed Performance Gauge
0%
15 µs15 µs
xtensor<double, 2>][32]
benchmark/benchmark_assign.cpp::xt::assign::assign_xiter_copy[xt
CodSpeed Performance Gauge
0%
22.7 µs22.7 µs
xtensor<double, 2>][32]
benchmark/benchmark_assign.cpp::xt::assign::assign_c_scalar_computed[xt
CodSpeed Performance Gauge
0%
6.3 µs6.3 µs
dynamic>][32]
benchmark/benchmark_assign.cpp::xt::assign::assign_x_assign[xt::xtensor<double, 2, layout_type
CodSpeed Performance Gauge
0%
16.4 µs16.4 µs
dynamic>][64]
benchmark/benchmark_assign.cpp::xt::assign::assign_x_assign[xt::xtensor<double, 2, layout_type
CodSpeed Performance Gauge
0%
61.1 µs61.1 µs
xtensor<double, 2>][256]
benchmark/benchmark_assign.cpp::xt::assign::assign_x_assign_iii[xt
CodSpeed Performance Gauge
0%
853.9 µs853.9 µs
xtensor<double, 2>][256]
benchmark/benchmark_assign.cpp::xt::assign::assign_c_assign[xt
CodSpeed Performance Gauge
0%
935.6 µs935.6 µs
xtensor<double, 2>][32]
benchmark/benchmark_assign.cpp::xt::assign::assign_xstorageiter_copy[xt
CodSpeed Performance Gauge
0%
15.7 µs15.7 µs
xtensor<double, 2>][256]
benchmark/benchmark_assign.cpp::xt::assign::assign_c_assign_ii[xt
CodSpeed Performance Gauge
0%
623.9 µs623.9 µs
xtensor<double, 2>][64]
benchmark/benchmark_assign.cpp::xt::assign::assign_c_assign[xt
CodSpeed Performance Gauge
0%
58.8 µs58.8 µs

Commits

Click on a commit to change the comparison range
Base
master
b4a9f8e
0%
fix: correct negative axis handling in roll function
4149fb7
7 months ago
by f14XuanLv
© 2026 CodSpeed Technology
Home Terms Privacy Docs