Skip to content

Commit efab6d5

Browse files
wspearCopilot
andauthored
Update scripts/demo.sh
Co-authored-by: Copilot <[email protected]>
1 parent 2e5e336 commit efab6d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/demo.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ run_timed() {
285285
local end
286286
end=$(python3 -c 'import time; print(time.time())')
287287
local duration
288-
duration=$(python3 -c "print(f'{${end} - ${start}:.3f}')")
288+
duration=$(python3 -c "print('{:.3f}'.format(${end} - ${start}))")
289289

290290
# Use flock or simple append (pipe serialization usually handles simple appends)
291291
printf "%s %s\n" "${label}" "${duration}" >> "${out_file}"

0 commit comments

Comments
 (0)