@@ -159,19 +159,19 @@ pub fn runFile(allocator: Allocator, file_name: []const u8, args: []const []cons
159159 if (BuildOptions .show_perf and flavor != .Check and flavor != .Fmt ) {
160160 io .print (
161161 if (builtin .os .tag != .windows )
162- "\x1b [2mParsing: {[parsing]d }\n Codegen: {[codegen]d }\n Run: {[running]d }\n JIT: {[jit]d }\n GC: {[gc]d }\n Total: {[total]}\n Full GC: {[gc_full]} | GC: {[gc_light]} | Max allocated: {[max_alloc]}\n \x1b [0m"
162+ "\x1b [2mParsing: {[parsing]D }\n Codegen: {[codegen]D }\n Run: {[running]D }\n JIT: {[jit]D }\n GC: {[gc]D }\n Total: {[total]D }\n Full GC: {[gc_full]} | GC: {[gc_light]} | Max allocated: {[max_alloc]B }\n \x1b [0m"
163163 else
164- "Parsing: {[parsing]d }\n Codegen: {[codegen]d }\n Run: {[running]d }\n JIT: {[jit]d }\n GC: {[gc]d }\n Total: {[total]}\n Full GC: {[gc_full]} | GC: {[gc_light]} | Max allocated: {[max_alloc]}\n " ,
164+ "Parsing: {[parsing]D }\n Codegen: {[codegen]D }\n Run: {[running]D }\n JIT: {[jit]D }\n GC: {[gc]D }\n Total: {[total]D }\n Full GC: {[gc_full]} | GC: {[gc_light]} | Max allocated: {[max_alloc]B }\n " ,
165165 .{
166- .parsing = std . fmt . fmtDuration ( parsing_time ) ,
167- .codegen = std . fmt . fmtDuration ( codegen_time ) ,
168- .running = std . fmt . fmtDuration ( running_time ) ,
169- .jit = std . fmt . fmtDuration ( if (vm .jit ) | jit | jit .jit_time else 0 ) ,
170- .gc = std . fmt . fmtDuration ( gc .gc_time ) ,
171- .total = std . fmt . fmtDuration ( if (! is_wasm ) total_timer .read () else 0 ) ,
166+ .parsing = parsing_time ,
167+ .codegen = codegen_time ,
168+ .running = running_time ,
169+ .jit = if (vm .jit ) | jit | jit .jit_time else 0 ,
170+ .gc = gc .gc_time ,
171+ .total = if (! is_wasm ) total_timer .read () else 0 ,
172172 .gc_full = gc .full_collection_count ,
173173 .gc_light = gc .light_collection_count ,
174- .max_alloc = std . fmt . fmtIntSizeDec ( gc .max_allocated ) ,
174+ .max_alloc = gc .max_allocated ,
175175 },
176176 );
177177 }
0 commit comments