Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG2bbb2f556ecf: perf: drop an unnecessary `pass`
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
hg-reviewers |
Lint Skipped |
Unit Tests Skipped |
Path | Packages | |||
---|---|---|---|---|
M | contrib/perf.py (1 line) |
Commit | Parents | Author | Summary | Date |
---|---|---|---|---|
aa06acf7109e | 6499ca6071a4 | Matt Harbison | Dec 27 2019, 1:45 PM |
Status | Author | Revision | |
---|---|---|---|
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 | ||
Closed | mharbison72 |
displayer.flush(ctx) | displayer.flush(ctx) | ||||
timer, fm = gettimer(ui, opts) | timer, fm = gettimer(ui, opts) | ||||
timer(format) | timer(format) | ||||
fm.end() | fm.end() | ||||
def _displaystats(ui, opts, entries, data): | def _displaystats(ui, opts, entries, data): | ||||
pass | |||||
# use a second formatter because the data are quite different, not sure | # use a second formatter because the data are quite different, not sure | ||||
# how it flies with the templater. | # how it flies with the templater. | ||||
fm = ui.formatter(b'perf-stats', opts) | fm = ui.formatter(b'perf-stats', opts) | ||||
for key, title in entries: | for key, title in entries: | ||||
values = data[key] | values = data[key] | ||||
nbvalues = len(data) | nbvalues = len(data) | ||||
values.sort() | values.sort() | ||||
stats = { | stats = { |