Bug#960681: Bug#513967:l icensecheck: fails to detect license at end (option --tail is broken)

Dominique Dumont dod at debian.org
Sun Nov 21 17:32:31 GMT 2021


On Saturday, 20 November 2021 11:15:59 CET Jonas Smedegaard wrote:
> I would appreciate some numbers about actual slowdown.

Fair enough.

Here are some measurements where the cell content is the "real" time given by time command.

This table is to be viewed with a monospace font.

licensecheck command is:
┌────
│ licensecheck --lines 0 --encoding utf8 --copyright --machine --shortname-scheme=debian,spdx --recursive .
└────

This is also the command used internally by cme.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 package  plain      cme with   licensecheck  licensecheck 
          cme        lines=0                  with lines=0 
───────────────────────────────────────────────────────────
 pan      0m2.694s   0m6.553s   0m4.571s      0m9.303s     
 moarvm   0m3.768s   0m41.772s  0m3.900s      0m40.274s    
 nqp      0m3.057s   0m3.635s   0m3.682s      0m9.955s     
 rakudo   0m3.448s   0m9.784s   0m11.358s     0m17.517s    
 systemd  4m30.489s  4m59.546s  4m31.644s     5m2.661s     
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━


The result is surprising as using --lines 0 can be lead to similar time or 10 times longer...

cme can take less time because more files are skipped.

All the best



More information about the pkg-perl-maintainers mailing list