File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -9,16 +9,12 @@ accessed by the `SPEEDTEST` (and `SPEEDTEST_*`) environment variables.
99To do a simple speed test of a lint (e.g. ` allow_attributes ` ), use this command.
1010
1111``` sh
12- $ SPEEDTEST=ui TESTNAME=" allow_attributes" cargo uitest -- --nocapture
12+ $ SPEEDTEST=ui TESTNAME=" allow_attributes" cargo uitest
1313```
1414
1515This will test all ` ui ` tests (` SPEEDTEST=ui ` ) whose names start with ` allow_attributes ` . By default, ` SPEEDTEST ` will
1616iterate your test 1000 times. But you can change this with ` SPEEDTEST_ITERATIONS ` .
1717
1818``` sh
19- $ SPEEDTEST=toml SPEEDTEST_ITERATIONS=100 TESTNAME=" semicolon_block" cargo uitest -- --nocapture
19+ $ SPEEDTEST=toml SPEEDTEST_ITERATIONS=100 TESTNAME=" semicolon_block" cargo uitest
2020```
21-
22- > ** WARNING** : Be sure to use ` -- --nocapture ` at the end of the command to see the average test time. If you don't
23- > use ` -- --nocapture ` (e.g. ` SPEEDTEST=ui ` ` TESTNAME="let_underscore_untyped" cargo uitest -- --nocapture ` ), this
24- > will not show up.
You can’t perform that action at this time.
0 commit comments