Skip to content

Conversation

@meeseeksmachine
Copy link
Contributor

Backport PR #2121: perf: use name in map_blocks to bypass tokenization

@lumberbot-app lumberbot-app bot added this to the 0.12.5 milestone Oct 31, 2025
@ilan-gold ilan-gold enabled auto-merge (squash) October 31, 2025 15:30
@scverse-benchmark
Copy link

scverse-benchmark bot commented Oct 31, 2025

Benchmark changes

Change Before [124f183] After [a4543a1] Ratio Benchmark (Parameter)
- 741±40ms 212±10ms 0.29 dataset2d.Dataset2D.time_concat('h5ad', (-1,), 'cat')
- 651±2ms 210±1ms 0.32 dataset2d.Dataset2D.time_concat('h5ad', None, 'cat')
- 1.09±0.01s 491±80ms 0.45 dataset2d.Dataset2D.time_concat('zarr', (-1,), 'cat')
- 1.07±0s 542±5ms 0.5 dataset2d.Dataset2D.time_concat('zarr', None, 'cat')
+ 1.97±0.02ms 2.26±0ms 1.15 dataset2d.Dataset2D.time_full_to_memory('h5ad', (-1,), 'cat')
+ 1.98±0.01ms 2.25±0.06ms 1.14 dataset2d.Dataset2D.time_full_to_memory('h5ad', None, 'cat')
- 16.2±0.4ms 14.1±0.3ms 0.87 dataset2d.Dataset2D.time_getitem_slice('h5ad', None, 'numeric')
- 34.8±1ms 29.7±0.8ms 0.85 sparse_dataset.SparseCSRContiguousSlice.time_getitem('0:9000', False)

Comparison: https://github.com/scverse/anndata/compare/124f1835e73a0f403fbaef8a657c441c5bf5fd4c..a4543a1c981c6b1ff2a5b588e79f081b73a8bdde
Last changed: Fri, 31 Oct 2025 16:24:50 +0000

More details: https://github.com/scverse/anndata/pull/2191/checks?check_run_id=54200336973

@ilan-gold ilan-gold merged commit e24024f into scverse:0.12.x Nov 2, 2025
28 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants