Skip to content

0.12

Compare
Choose a tag to compare
@n10v n10v released this 07 Nov 11:26
  • Add full encoding conversion support. More in README #27
  • Get rid of subpackages. Now id3v2 is only one flat package!
  • Restore 32bit systems support #28
  • Major performance improvement by parsing with set Options.ParseFrames 2378552
  • Performance compared to v0.11:
name                   old time/op    new time/op    delta
ParseAllFrames-4          219µs ± 1%     222µs ± 2%     ~     (p=0.051 n=7+6)
ParseArtistAndTitle-4    66.3µs ± 2%    18.9µs ±23%  -71.51%  (p=0.001 n=7+7)
ParseAndWrite-4          10.2ms ± 7%    10.2ms ± 3%     ~     (p=0.805 n=7+7)
ReuseTag-4               3.13µs ± 1%    3.33µs ± 1%   +6.35%  (p=0.001 n=6+7)

name                   old alloc/op   new alloc/op   delta
ParseAllFrames-4          525kB ± 0%     525kB ± 0%   +0.08%  (p=0.001 n=7+7)
ParseArtistAndTitle-4      763B ± 0%      810B ± 1%   +6.14%  (p=0.001 n=7+7)
ParseAndWrite-4           267kB ± 0%     267kB ± 0%   +0.30%  (p=0.007 n=7+7)
ReuseTag-4               2.16kB ± 0%    2.29kB ± 0%   +5.93%  (p=0.001 n=7+7)

name                   old allocs/op  new allocs/op  delta
ParseAllFrames-4           95.6 ± 1%      96.0 ± 0%     ~     (p=0.192 n=7+7)
ParseArtistAndTitle-4      25.0 ± 0%      17.0 ±12%  -32.00%  (p=0.001 n=7+7)
ParseAndWrite-4             101 ± 1%       102 ± 0%   +0.71%  (p=0.021 n=7+7)
ReuseTag-4                 20.0 ± 0%      20.0 ± 0%     ~     (all equal)