Skip to content

Commit

Permalink
lto addition gave us some speedups, TIL
Browse files Browse the repository at this point in the history
  • Loading branch information
holtjma committed Aug 25, 2021
1 parent 7b0c515 commit 355e31b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fmlrc"
version = "0.1.4"
version = "0.1.5"
authors = ["holtjma <jholt@hudsonalpha.org>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down Expand Up @@ -32,4 +32,7 @@ criterion = "0.3"

[[bench]]
name = "bv_bwt_benchmark"
harness = false
harness = false

[profile.release]
lto = true
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ The actual corrections are _nearly_ identical (there are slight differences not
However, FMLRC v2 runs in less than half the time from both real time and CPU time perspectives.
While not explicitly measured, FMLRC v2 does use ~1GB of extra memory due to the 10-mer cache (`-C 10`).

| Metric | FMLRC v1.0.0 | FMLRC2 v0.1.4 (`-C 10`) |
| Metric | FMLRC v1.0.0 | FMLRC2 v0.1.5 (`-C 10`) |
| - | - | - |
| Recall | 0.9825 | 0.9826 |
| Precision | 0.9815 | 0.9816 |
| Real time | 7m29.908s | **2m57.711s** |
| CPU time | 51m34.704s | **19m12.348s** |
| Real time | 7m29.908s | **2m38.214s** |
| CPU time | 51m34.704s | **17m54.289s** |

## Reference
FMLRC v2 does not currently have a pre-print or paper. If you use FMLRC v2, please cite the FMLRC v1 paper:
Expand Down

0 comments on commit 355e31b

Please sign in to comment.