id3v2 v0.12.1 Release Notes

Release Date: 2017-11-18 // over 6 years ago
    • Now WriteTo methods return correct n values.
    • 🐎 Significant performance improvements by writing:
    • 🐎 Performance compared to v0.12:

      name old time/op new time/op delta ParseAllFrames-4 284µs ± 6% 225µs ± 1% -20.86% (p=0.003 n=7+5) ParseArtistAndTitle-4 26.1µs ±23% 21.8µs ±30% ~ (p=0.097 n=7+7) AddTextFrame-4 1.29µs ± 2% 1.03µs ± 4% -20.39% (p=0.001 n=7+7) AddEncodedTextFrame-4 2.43µs ± 1% 2.04µs ± 1% -15.99% (p=0.001 n=7+7) ParseAndWrite-4 10.5ms ± 3% 8.7ms ±10% -17.38% (p=0.002 n=6+6) ReuseTag-4 3.42µs ± 0% 3.39µs ± 8% ~ (p=0.508 n=6+7) WriteBytesSize-4 28.9ns ± 3% 29.9ns ±15% ~ (p=0.466 n=6+7) ParseSize-4 8.36ns ± 2% 8.37ns ± 3% ~ (p=0.876 n=7+7)

      name old alloc/op new alloc/op delta ParseAllFrames-4 527kB ± 0% 525kB ± 0% -0.46% (p=0.001 n=7+7) ParseArtistAndTitle-4 810B ± 1% 808B ± 1% ~ (p=0.686 n=7+7) AddTextFrame-4 419B ± 0% 418B ± 0% -0.24% (p=0.001 n=7+7) AddEncodedTextFrame-4 1.35kB ± 0% 1.35kB ± 0% -0.21% (p=0.001 n=7+7) ParseAndWrite-4 269kB ± 0% 269kB ± 1% ~ (p=0.902 n=7+7) ReuseTag-4 2.29kB ± 0% 2.29kB ± 0% ~ (all equal) WriteBytesSize-4 10.0B ± 0% 10.0B ± 0% ~ (all equal) ParseSize-4 0.00B 0.00B ~ (all equal)

      name old allocs/op new allocs/op delta ParseAllFrames-4 98.6 ± 1% 95.4 ± 1% -3.19% (p=0.001 n=7+7) ParseArtistAndTitle-4 17.0 ±12% 16.7 ±14% ~ (p=0.848 n=7+7) AddTextFrame-4 5.00 ± 0% 5.00 ± 0% ~ (all equal) AddEncodedTextFrame-4 20.0 ± 0% 20.0 ± 0% ~ (all equal) ParseAndWrite-4 103 ± 0% 98 ± 1% -4.44% (p=0.000 n=6+7) ReuseTag-4 20.0 ± 0% 20.0 ± 0% ~ (all equal) WriteBytesSize-4 0.00 0.00 ~ (all equal) ParseSize-4 0.00 0.00 ~ (all equal)