Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Make scripts/histogram ignore lines without frame duration
Thorsten Ball0db9c274aae8
diff --git a/script/histogram b/script/histogramindex b9885fbc006..3a499066dee 100755--- a/script/histogram+++ b/script/histogram@@ -28,7 +28,7 @@ def parse_log_file(file_path):data = {'measurement': [], 'time': [], 'unit': [], 'log_file': []}with open(file_path, 'r') as file:for line in file:- if ':' not in line:+ if 'duration:' not in line:continueparts = line.strip().split(': ')