We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e5e336 commit efab6d5Copy full SHA for efab6d5
scripts/demo.sh
@@ -285,7 +285,7 @@ run_timed() {
285
local end
286
end=$(python3 -c 'import time; print(time.time())')
287
local duration
288
- duration=$(python3 -c "print(f'{${end} - ${start}:.3f}')")
+ duration=$(python3 -c "print('{:.3f}'.format(${end} - ${start}))")
289
290
# Use flock or simple append (pipe serialization usually handles simple appends)
291
printf "%s %s\n" "${label}" "${duration}" >> "${out_file}"
0 commit comments