Decision Workspace
function-timer vs function-timer-macro vs slow_function_warning
Side-by-side comparison of Rust crates
54
function-timer
growingv0.9.3
Macro that allow to time a function and emit a metric using metrics crate
55
function-timer-macro
growingv0.6.3
Macro that allow to time a function and emit a metric using metrics crate
38
slow_function_warning
growingv0.6.0
A simple macro that prints a warning if a function takes longer than expected
Core Metrics
| function-timer | function-timer-macro | slow_function_warning | |
|---|---|---|---|
| Health Score | 54 | 55 | 38 |
| Total Downloads | 30.1K | 29.3K | 16.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 12 | 0 |
| Releases | 12 | 10 | 15 |
| Last Updated | 77d ago | 77d ago | 647d ago |
| Age | 3y 7m | 3y 7m | 1y 11m |
Health Breakdown
function-timer
Maintenance
15
Quality
14
Community
5
Popularity
5
Documentation
15
function-timer-macro
Maintenance
12
Quality
15
Community
8
Popularity
5
Documentation
15
slow_function_warning
Maintenance
7
Quality
11
Community
5
Popularity
5
Documentation
10
Technical Details
| function-timer | function-timer-macro | slow_function_warning | |
|---|---|---|---|
| Version | 0.9.3 | 0.6.3 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 6 | 3 | 5 |
| Crate Size | 13KB | 5KB | 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 55/100, but none of the options score above 80.
- •function-timer has the most downloads (30.1K), suggesting wider adoption.
- •⚠ slow_function_warning has not been updated in over a year.