(perf): remove out of core median in normalize_total - #3379
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #3379 +/- ##
=======================================
Coverage 75.50% 75.51%
=======================================
Files 113 113
Lines 13140 13141 +1
=======================================
+ Hits 9922 9924 +2
+ Misses 3218 3217 -1
|
|
Fair enough. Can this blow up? I.e. is |
|
So I did some testing with 1Billion cells. 1Billion cells at 64bit are roughly 8GB. The median costs another 8GB. Thats roughly 16GB. I dont think 16GB of Ram is an issue for someone that analyses 1Billion cells. |
|
Why is this for the 1.12 milestone? |
|
probably because no 1.11.1 milestone existed for a bit (my fault, I’ll be cleaner about this in the future) |
ilan-gold
left a comment
There was a problem hiding this comment.
Please add a test to get the coverage to pass, but the code itself looks fine.
Co-authored-by: Philipp A. <flying-sheep@web.de>
|
Looks like the tests don’t pass anymore. Any idea what’s wrong? |
|
They passed the same tests on the PR right? The results I checked were due to small differences I am not sure why |
|
Ah, it’s unrelated. The test that failed doesn’t call |
Co-authored-by: Philipp A. <flying-sheep@web.de> Co-authored-by: Selman Özleyen <32667648+selmanozleyen@users.noreply.github.com>
…al (#3588) Co-authored-by: Severin Dicks <37635888+Intron7@users.noreply.github.com>
Co-authored-by: Philipp A. <flying-sheep@web.de> Co-authored-by: Selman Özleyen <32667648+selmanozleyen@users.noreply.github.com>
Computing counts per cell for
normalize_totalleads to better performance.