Created
March 24, 2021 10:19
-
-
Save romuald/b10635936502a5cd7c14b8032ed03d46 to your computer and use it in GitHub Desktop.
Revisions
-
romuald created this gist
Mar 24, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ #!/bin/env perl # Usage: anycommand | timing.pl use strict; use warnings; use Time::HiRes qw/time/; my $start = time(); while (<>) { printf "%.3f ", time() - $start; print; }