Skip to content

Improve performance by auto-chunking HDF5 writes#424

Merged
rcannood merged 12 commits intodevelfrom
auto-chunking
Feb 25, 2026
Merged

Improve performance by auto-chunking HDF5 writes#424
rcannood merged 12 commits intodevelfrom
auto-chunking

Conversation

@rcannood
Copy link
Copy Markdown
Member

@rcannood rcannood commented Feb 25, 2026

Related to: #415

Description

Improves HDF5 write performance by auto-chunking datasets, and adds a
chunk_size parameter to write_h5ad() to allow manual control over chunk
sizes.

Checklist

Before review

  • Update and regenerate man pages
  • Add/update tests
  • Add/update examples in vignettes
  • Pass CI checks

Before merge

  • Update NEWS
  • Bump devel version

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 25, 2026

🐰 Bencher Report

Branchauto-chunking
Testbedubuntu-latest

⚠️ WARNING: Truncated view!

The full continuous benchmarking report exceeds the maximum length allowed on this platform.

🐰 View full continuous benchmarking report in Bencher

@rcannood rcannood changed the title Implement h5py-style auto-chunking for HDF5 writes to improve performance Improve performance by auto-chunking HDF5 writes Feb 25, 2026
@rcannood rcannood changed the title Improve performance by auto-chunking HDF5 writes Optimise sparse matrix reading performance by avoiding Matrix::sparseMatrix Feb 25, 2026
@rcannood rcannood changed the title Optimise sparse matrix reading performance by avoiding Matrix::sparseMatrix Improve performance by auto-chunking HDF5 writes Feb 25, 2026
@lazappi
Copy link
Copy Markdown
Collaborator

lazappi commented Feb 25, 2026

I think this will also fix #415?

@rcannood
Copy link
Copy Markdown
Member Author

It should! Just to make sure, I also made the chunk size configurable.

@rcannood rcannood requested a review from lazappi February 25, 2026 09:12
@rcannood
Copy link
Copy Markdown
Member Author

rcannood commented Feb 25, 2026

I'd like to merge this and then look at the DelayedArray PR :)

@rcannood
Copy link
Copy Markdown
Member Author

Merging this and calling this anndataR 1.1.1 so I can use it as a reference in the manuscript

@rcannood rcannood merged commit f4b1f33 into devel Feb 25, 2026
9 checks passed
@rcannood rcannood deleted the auto-chunking branch February 25, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants