File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ The `--metrics-profile-require` option can be used to profile the time used for
82
82
83
83
For example, the ` summary ` view provides an overview of where time is spent:
84
84
```
85
- $ jt ruby --experimental-options --cpusampler --cpusampler.Mode=roots -- metrics-profile-require=summary -e 'require "rubygems"' |& grep "metrics "
85
+ $ jt ruby --experimental-options --cpusampler --metrics-profile-require=summary -e 'require "rubygems"' |& grep "metrics "
86
86
metrics execute | 1122ms 99.6% | 0.0% || 212ms 18.8% | 0.0% | (metrics)~1:0
87
87
metrics parsing | 71ms 6.3% | 0.0% || 71ms 6.3% | 0.0% | (metrics)~1:0
88
88
metrics translating | 60ms 5.3% | 0.0% || 60ms 5.3% | 0.0% | (metrics)~1:0
@@ -92,4 +92,4 @@ $ jt ruby --experimental-options --cpusampler --cpusampler.Mode=roots --metrics-
92
92
93
93
This feature can also be used to generate a flame graph with detailed require timings:
94
94
95
- ` $ jt profile --experimental-options --cpusampler --cpusampler.Mode=roots -- metrics-profile-require=detail -e 'require "rubygems"' `
95
+ ` $ jt profile --metrics-profile-require=detail -e 'require "rubygems"' `
You can’t perform that action at this time.
0 commit comments