Avatar for the sourmash-bio user
sourmash-bio
sourmash
BlogDocsChangelog

MRG: improve downsampling behavior on `KmerMinHash`; fix `RevIndex::gather` bug around `scaled`.

#3342Merged
Comparing
refactor_rs_downsample
(
80c3404
) with
latest
(
1a6312b
)
CodSpeed Performance Gauge
-17%
Improvements
0
Regressions
4
Untouched
17
New
0
Dropped
0
Ignored
0

Benchmarks

Failed

abund0_ani_ci0Regression
src/core/benches/gather.rs::gather::gather_stats_benchmarks::gather_stats::abund0_ani_ci0
CodSpeed Performance Gauge
-17%
560.6 µs
672.2 µs
abund0_ani_ci1Regression
src/core/benches/gather.rs::gather::gather_stats_benchmarks::gather_stats::abund0_ani_ci1
CodSpeed Performance Gauge
-16%
581.4 µs
692.9 µs
abund1_ani_ci0Regression
src/core/benches/gather.rs::gather::gather_stats_benchmarks::gather_stats::abund1_ani_ci0
CodSpeed Performance Gauge
-12%
787.2 µs
898.7 µs
abund1_ani_ci1Regression
src/core/benches/gather.rs::gather::gather_stats_benchmarks::gather_stats::abund1_ani_ci1
CodSpeed Performance Gauge
-12%
809.7 µs
921.2 µs

Passed

intersection
src/core/benches/minhash.rs::minhash::intersection::minhash::intersection
CodSpeed Performance Gauge
0%
18.2 µs
18.2 µs
load nodegraph
src/core/benches/nodegraph.rs::nodegraph::save_load::nodegraph::load nodegraph
CodSpeed Performance Gauge
0%
187.1 µs
187.1 µs
force with valid kmers
src/core/benches/compute.rs::compute::add_sequence_protein::add_sequence_protein::force with valid kmers
CodSpeed Performance Gauge
0%
399.2 ms
399.2 ms
invalid kmers
src/core/benches/compute.rs::compute::add_sequence_protein::add_sequence_protein::invalid kmers
CodSpeed Performance Gauge
0%
399.6 ms
399.6 ms
lowercase
src/core/benches/compute.rs::compute::add_sequence_protein::add_sequence_protein::lowercase
CodSpeed Performance Gauge
0%
399.1 ms
399.1 ms
valid
src/core/benches/compute.rs::compute::add_sequence_protein::add_sequence_protein::valid
CodSpeed Performance Gauge
0%
399.2 ms
399.2 ms
intersection_size
src/core/benches/minhash.rs::minhash::intersection::minhash::intersection_size
CodSpeed Performance Gauge
0%
15.4 µs
15.4 µs
large intersection
src/core/benches/minhash.rs::minhash::intersection::minhash::large intersection
CodSpeed Performance Gauge
0%
9.1 ms
9.1 ms
large intersection_size
src/core/benches/minhash.rs::minhash::intersection::minhash::large intersection_size
CodSpeed Performance Gauge
0%
7.5 ms
7.5 ms
large intersection_size btree
src/core/benches/minhash.rs::minhash::intersection::minhash::large intersection_size btree
CodSpeed Performance Gauge
0%
18.2 ms
18.2 ms
save nodegraph
src/core/benches/nodegraph.rs::nodegraph::save_load::nodegraph::save nodegraph
CodSpeed Performance Gauge
0%
93.1 µs
93.1 µs
save compressed nodegraph
src/core/benches/nodegraph.rs::nodegraph::save_load::nodegraph::save compressed nodegraph
CodSpeed Performance Gauge
0%
1.4 ms
1.4 ms
large intersection btree
src/core/benches/minhash.rs::minhash::intersection::minhash::large intersection btree
CodSpeed Performance Gauge
0%
18.3 ms
18.3 ms
valid
src/core/benches/compute.rs::compute::add_sequence::add_sequence::valid
CodSpeed Performance Gauge
0%
14 ms
14 ms
lowercase
src/core/benches/compute.rs::compute::add_sequence::add_sequence::lowercase
CodSpeed Performance Gauge
0%
14 ms
14 ms
force with valid kmers
src/core/benches/compute.rs::compute::add_sequence::add_sequence::force with valid kmers
CodSpeed Performance Gauge
0%
14 ms
14 ms
invalid kmers
src/core/benches/compute.rs::compute::add_sequence::add_sequence::invalid kmers
CodSpeed Performance Gauge
0%
10.4 ms
10.4 ms

Commits

Click on a commit to change the comparison range
Base
latest
1a6312b
0%
implement downsample_max_hash in terms of downsample_scaled
d9eeafd
4 months ago
by ctb
0%
adjust references & use clone too much
4ab87e4
4 months ago
by ctb
0%
switch to using scaled; avoid unnecessary clones?
ffa9683
4 months ago
by ctb
0%
update to fix? scaled=0 situation
5f70fcc
4 months ago
by ctb
0%
define new error
ffd8ffe
4 months ago
by ctb
0%
bump sourmash core to 0.16.0 b/c of API change
b67fc04
4 months ago
by ctb
0%
update include/sourmash.h
9b9fc5a
4 months ago
by ctb
0%
rename error type; test specific error type
79e7b7d
4 months ago
by ctb
-17%
Merge branch 'latest' into refactor_rs_downsample
c5d3623
4 months ago
by ctb
0%
Merge branch 'latest' into refactor_rs_downsample
80c3404
4 months ago
by ctb
Home Terms PrivacyDocs