Decision Workspace
slow_function_warning vs function-timer-macro vs function-timer
Side-by-side comparison of Rust crates
39
slow_function_warning
growingv0.6.0
A simple macro that prints a warning if a function takes longer than expected
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
Core Metrics
| slow_function_warning | function-timer-macro | function-timer | |
|---|---|---|---|
| Health Score | 39 | 49 | 49 |
| Total Downloads | 14.9K | 22.8K | 23.6K |
| 30d Downloads | 320 | 993 | 980 |
| Dependents | 0 | 11 | 0 |
| Releases | 15 | 9 | 11 |
| Last Updated | 451d ago | 478d ago | 236d ago |
| Age | 1y 4m | 3y | 3y |
Health Breakdown
slow_function_warning
Maintenance
8
Quality
11
Community
5
Popularity
5
Documentation
10
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
Technical Details
| slow_function_warning | function-timer-macro | function-timer | |
|---|---|---|---|
| Version | 0.6.0 | 0.6.2 | 0.9.2 |
| 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 | 4KB | 12KB |
| 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 49/100, but none of the options score above 80.
- •function-timer has the most downloads (23.6K), suggesting wider adoption.
- •⚠ slow_function_warning, function-timer-macro have not been updated in over a year.