It wasn't me. You can't prove anything.


2008-08-28

Music

Music

Remember when I complained about regular expressions  Well, when I run against 68000 files, the number of times regex is running comes out to around sixteen million 16,000,000. This is a real number. Basically, it is 68000 (files) x 167 (items in the bad check list) x 84 (items in the fantastic list). Some items will fail before they make all the steps. Some checks require two regex checks. I need to poor over my code and eliminate unnecessary checks.

I did a smidgen of work on the output. Nice, if I do say so myself.

2008-08-27_19-18
-------- Summary -------------------------------------------------------------------------------------------
Total files processed     > .......................................................................... 68959
Good files in play list    > .......................................................................... 41269
Bad files out of list     > .......................................................................... 11360
Fantastic files           > ........................................................................... 5184
Number of Duplicates      > .......................................................................... 14095
-------- time ----------------------------------------------------------------------------------------------
Process seconds           > ........................................................................... 4797
Elapsed seconds           > ........................................................................... 4797
Files/second              > ............................................................................. 14
reg ex count              > ....................................................................... 16385692
CPU time of this process  > ..................................................................... 474.162704
-------- Info ----------------------------------------------------------------------------------------------
Options                   > ............... ['-o', '-l', 'kelly_log', '-f', 'kelly_fan', '-g', 'kelly_good']
Good file                 > ................................................................. kelly_good.m3u
Fantastic file            > .................................................................. kelly_fan.m3u
Log file                  > ................................................. kelly_log_2008-08-27_17-58.log
Directory processed       > ................................................................. ['/mnt/music']
Items in kill list        > ............................................................................ 167
Items in fantastic list   > ............................................................................. 84
------------------------------------------------------------------------------------------------------------


No comments: