Performance Test

Runtime and Memory Usage

  • Performance tests were conducted using n_cpus or n_threads=24, and a GPU of NVIDIA T4 16G.

  • Runtime: cell2location > spotlight > RCTD > tangram > scimilarity

  • Memory usage: spotlight > cell2location > RCTD/tangram/scimilarity

  • The memory requirements of cell2location/spotlight are positively correlated with the number of cells, while the memory requirements of RCTD/Tangram/scimilarity are relatively consistent across different data sizes.

  • GPU usage: All bin sizes of cell2location can run on a GPU with 16G memory; for tangram, bin100 and bin50 run on GPU, while cellbin and bin20 run on CPU; all bin sizes of scimilarity can run on a GPU with 16G memory, and there is no significant difference in runtime between using CPU and GPU.

Last updated