Skip to content

Commit 0726946

Browse files
committed
format
1 parent 7a9f2d9 commit 0726946

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tilelang/tools/bench.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,10 @@ def process_func(func, *args, repeat=10, warmup=3, **kwargs):
6767
stacklevel=2,
6868
)
6969

70+
7071
def analyze_records(records):
7172
# Analyze the data and draw a chart
72-
records.sort(key = lambda x: x[1])
73+
records.sort(key=lambda x: x[1])
7374
name_col_width = max(len(r[0]) for r in records)
7475
safe_width = name_col_width + 20
7576
print("=" * safe_width)
@@ -107,5 +108,5 @@ def main():
107108
for name, func in module.items():
108109
if name.startswith("bench_") and callable(func):
109110
func()
110-
111-
analyze_records(_RECORDS)
111+
112+
analyze_records(_RECORDS)

0 commit comments

Comments
 (0)