Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Jan 9, 2022
1 parent afc6054 commit 0218c17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/history/compare/limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import { isPositiveLimit } from './parse.js'
// configuration property, we fail.
// It uses the `since` configuration property like `showDiff` does.
// Done after reporting, to ensure a report is always shown.
// It can be done during benchmark (`run`) and after it (`show`)
// - It cannot be done during `remove` since this does not make sense
// - However, `remove` still report `diff`, `diffPrecise` and `diffLimit`
// Even when a limit is hit, we still `save` (if the flag is present):
// - This avoids losing information, e.g.:
// - We can make a silent `run` checking only for limits, and still `show`
Expand Down

0 comments on commit 0218c17

Please sign in to comment.