Decision Workspace
function-timer-macro vs function-timer vs slow_function_warning
Side-by-side comparison of Rust crates
49
function-timer-macro
growingv0.6.2
Macro that allow to time a function and emit a metric using metrics crate
49
function-timer
growingv0.9.2
Macro that allow to time a function and emit a metric using metrics crate
39
slow_function_warning
growingv0.6.0
A simple macro that prints a warning if a function takes longer than expected
Core Metrics
| function-timer-macro | function-timer | slow_function_warning | |
|---|---|---|---|
| Health Score | 49 | 49 | 39 |
| Total Downloads | 22.8K | 23.6K | 14.9K |
| 30d Downloads | 1.0K | 1.0K | 329 |
| Dependents | 11 | 0 | 0 |
| Releases | 9 | 11 | 15 |
| Last Updated | 478d ago | 236d ago | 451d ago |
| Age | 3y | 3y | 1y 4m |
Health Breakdown
function-timer-macro
Maintenance
6
Quality
15
Community
8
Popularity
5
Documentation
15
function-timer
Maintenance
10
Quality
14
Community
5
Popularity
5
Documentation
15
slow_function_warning
Maintenance
8
Quality
11
Community
5
Popularity
5
Documentation
10
Technical Details
| function-timer-macro | function-timer | slow_function_warning | |
|---|---|---|---|
| Version | 0.6.2 | 0.9.2 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 6 | 5 |
| Crate Size | 4KB | 12KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 6.7% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.65.0 | 1.65.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •function-timer-macro leads with a health score of 49/100, but none of the options score above 80.
- •function-timer has the most downloads (23.6K), suggesting wider adoption.
- •⚠ function-timer-macro, slow_function_warning have not been updated in over a year.