BRTQVTEWKQPT5VQOJMDWAWYAUSI36B2BRGYGWQPZ3NG6ZU7C24DAC
#!/usr/bin/env pil
(de Mybench Prg
(let U (usec)
(prog1
(run Prg 1)
(out 2
(prinl
*Count
" "
(format (*/ (- (usec) U) 1000) 3) ) ) ) ) )
(de main ()
(one *Count)
(if
(and
(cd "/home/gitkernel")
(call 'rm '-rf 'godot)
(call 'git 'clone 'https://github.com/godotengine/godot)
(cd "/home/gitkernel/godot")
(call 'pijul 'init '.)
(in '(bash -c "git log --reverse --pretty=format:\"%H:%s\"")
(until (eof)
(let L (line)
(setq Record
(pack
"pijul record -am. 1>/dev/null 2>&1" ) )
(call 'git 'checkout '-q (pack (head 40 L)))
(call 'bash '-c "pijul add -r . 1>/dev/null 2>&1")
(Mybench (call 'bash '-c Record))
(inc '*Count)
) # let
) # until
) # in
) # and
(msg "ok")
(msg "fail")
)
(bye)
)