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
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
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
math_ref_2[div_fn][64]
benchmark/benchmark_math.cpp::xt::math
CodSpeed Performance Gauge
0%
40.3 µs40.3 µs
reducer_manual_strided_reducer[100000x10 / axis 0]
benchmark/benchmark_reducer.cpp::xt::reducer
CodSpeed Performance Gauge
0%
5.8 ms5.8 ms
reducer_immediate_reducer[10x100000 / axis 1]
benchmark/benchmark_reducer.cpp::xt::reducer
CodSpeed Performance Gauge
0%
4.6 ms4.6 ms
assign_create_view
benchmark/benchmark_view_assignment.cpp::xt
CodSpeed Performance Gauge
0%
1.6 ms1.6 ms
xshape_access[xt\:\:svector<std\:\:size_t, 4>]
benchmark/benchmark_xshape.cpp::xt::benchmark_xshape
CodSpeed Performance Gauge
0%
125 ns125 ns
stencil_onedirection[stencil_onedirections_500]
benchmark/benchmark_views.cpp::xt::finite_diff
CodSpeed Performance Gauge
0%
1.6 s1.6 s
xshape_initializer[std\:\:array<std\:\:size_t, 4>]
benchmark/benchmark_xshape.cpp::xt::benchmark_xshape
CodSpeed Performance Gauge
0%
180.8 ns180.8 ns
xshape_initializer_long[std\:\:vector<std\:\:size_t>]
benchmark/benchmark_xshape.cpp::xt::benchmark_xshape
CodSpeed Performance Gauge
0%
1.7 µs1.7 µs
stencil_onedirection[stencil_onedirections_50]
benchmark/benchmark_views.cpp::xt::finite_diff
CodSpeed Performance Gauge
0%
1.2 ms1.2 ms
stencil_threedirections[stencil_threedirections_200]
benchmark/benchmark_views.cpp::xt::finite_diff
CodSpeed Performance Gauge
0%
100 ms100 ms
stencil_twodirections[stencil_twodirections_300]
benchmark/benchmark_views.cpp::xt::finite_diff
CodSpeed Performance Gauge
0%
304.4 ms304.4 ms
stencil_twodirections[stencil_twodirections_200]
benchmark/benchmark_views.cpp::xt::finite_diff
CodSpeed Performance Gauge
0%
91.4 ms91.4 ms
view_assign[float]
benchmark/benchmark_views.cpp::xt::view_benchmarks
CodSpeed Performance Gauge
0%
37.2 µs37.2 µs
view_assign_view_noalias[float]
benchmark/benchmark_views.cpp::xt::view_benchmarks
CodSpeed Performance Gauge
0%
38.4 µs38.4 µs
view_dynamic_iterator[float]
benchmark/benchmark_views.cpp::xt::view_benchmarks
CodSpeed Performance Gauge
0%
46.7 µs46.7 µ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>][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>][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>][256]
benchmark/benchmark_assign.cpp::xt::assign::assign_c_assign[xt
CodSpeed Performance Gauge
0%
935.6 µs935.6 µs

Commits

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