You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Technically speaking the negative duration is not the valid ISO 8601, but we need to print it anyway.
This code:
use std::time::duration::Duration;fnmain(){let a = Duration::days(1) + Duration::seconds(1);println!("#1. Should be -{0}, in fact {1}", a, -a);let b = Duration::nanoseconds(1);println!("#2. Should be -{0}, in fact {1}", b, -b);}
Produces:
Should be -P1DT1S, in fact P-1DT-1S
Should be -PT0.000000001S, in fact PT-1.999999999S
The text was updated successfully, but these errors were encountered:
…vmmx, r=davidbarsky
internal: add tracing to project discovery and VFS loading
With `"env RA_PROFILE=vfs_load|parallel_prime_caches|discover_command>500`, this results in the following output:
```
21888ms discover_command
11627ms vfs_load @ total = 701
1503ms vfs_load @ total = 701
30211ms parallel_prime_caches
```
As a followup, I'd like to make hprof emit the information above as JSON.
Technically speaking the negative duration is not the valid ISO 8601, but we need to print it anyway.
This code:
Produces:
Should be
-P1DT1S
, in factP-1DT-1S
Should be
-PT0.000000001S
, in factPT-1.999999999S
The text was updated successfully, but these errors were encountered: