Decision Workspace
slow_function_warning vs function-timer-macro vs function-timer
Side-by-side comparison of Rust crates
38
slow_function_warning
growingv0.6.0
A simple macro that prints a warning if a function takes longer than expected
55
function-timer-macro
growingv0.6.3
Macro that allow to time a function and emit a metric using metrics crate
54
function-timer
growingv0.9.3
Macro that allow to time a function and emit a metric using metrics crate
Core Metrics
| slow_function_warning | function-timer-macro | function-timer | |
|---|---|---|---|
| Health Score | 38 | 55 | 54 |
| Total Downloads | 16.9K | 29.3K | 30.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 12 | 0 |
| Releases | 15 | 10 | 12 |
| Last Updated | 647d ago | 77d ago | 77d ago |
| Age | 1y 11m | 3y 7m | 3y 7m |
Health Breakdown
slow_function_warning
Maintenance
7
Quality
11
Community
5
Popularity
5
Documentation
10
function-timer-macro
Maintenance
12
Quality
15
Community
8
Popularity
5
Documentation
15
function-timer
Maintenance
15
Quality
14
Community
5
Popularity
5
Documentation
15
Technical Details
| slow_function_warning | function-timer-macro | function-timer | |
|---|---|---|---|
| Version | 0.6.0 | 0.6.3 | 0.9.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 3 | 6 |
| Crate Size | 7KB | 5KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 6.7% | 0.0% | 0.0% |
| 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.