Decision Workspace
profile_time vs is_debug vs dirty_static
Side-by-side comparison of Rust crates
33
profile_time
growingv0.1.1
Provides 2 simple macros to separate debug code and release code
54
is_debug
growingv1.1.0
get build model is debug
45
dirty_static
growingv0.1.2
A container for an immutable value that allows sneaky reloading in debug mode (via UnsafeCell) while keeping the data safe and constant in release mode. This allows you to tweak data while testing an application, without having that data be mutable when the application is released. Intended for use with game assets, but suitable for any interactive application.
Core Metrics
| profile_time | is_debug | dirty_static | |
|---|---|---|---|
| Health Score | 33 | 54 | 45 |
| Total Downloads | 3.8K | 6.6M | 3.9K |
| 30d Downloads | 36 | 423.2K | 19 |
| Dependents | 4 | 73 | 0 |
| Releases | 2 | 4 | 3 |
| Last Updated | 1305d ago | 406d ago | 148d ago |
| Age | 3y 7m | 4y 4m | 6y 5m |
Health Breakdown
profile_time
Maintenance
4
Quality
10
Community
5
Popularity
4
Documentation
10
is_debug
Maintenance
4
Quality
22
Community
11
Popularity
8
Documentation
9
dirty_static
Maintenance
8
Quality
18
Community
6
Popularity
4
Documentation
9
Technical Details
| profile_time | is_debug | dirty_static | |
|---|---|---|---|
| Version | 0.1.1 | 1.1.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT AND Apache-2.0 | CC0-1.0 |
| Dependencies | 0 | 1 | 0 |
| Crate Size | 1KB | 3KB | 6KB |
| Features | 0 | 2 | 3 |
| Yanked % | 50.0% | 0.0% | 0.0% |
| Edition | 2021 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •is_debug leads with a health score of 54/100, but none of the options score above 80.
- •⚠ profile_time, is_debug have not been updated in over a year.
- •profile_time, dirty_static are pre-1.0 — API may change.