Skip to content

Commit

Permalink
Add pass timing
Browse files Browse the repository at this point in the history
  • Loading branch information
mnkiefer committed May 11, 2023
1 parent 72d903f commit f5c2b84
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions designs/2023-rule-performance-dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ The *proof-of-concept* can be found at:
     The number of [fixes](https://eslint.org/docs/latest/use/command-line-interface#fix-problems) successfully applied to a file (see [linter](
https://github.com/eslint/eslint/blob/main/lib/linter/linter.js#L1987)).


#### Pass Timing:
     The *Timing* objects for each of the [fix pass](#fix-passes).

#### Directives and violations:
     See [this issue comment](https://github.com/eslint/eslint/issues/14597#issuecomment-1003863524) for a description/motivation of each.

Expand All @@ -85,15 +89,18 @@ Below is an excerpt of a sample for the 6th file (`invalid/no-regex-spaces`) tha
"stats": {
"directives": 0,
"violations": 0,
"fixPasses": 0,
"fixPasses": 2,
"timing": {
"lint": 5.61325,
"rules": {
"no-regex-spaces": 5.61325
},
"fix": 0,
"parse": 5.000917
}
},
"passTiming": [
...
]
},
}
```
Expand Down

0 comments on commit f5c2b84

Please sign in to comment.