Software > Applications and Porting

flac 1.5.0 now supports multithreaded encoding

(1/1)

tle:

--- Code: ---tle@fedora ~/W/wavs (main)> rm *.flac && time flac -V -8 -j 32  collectathon.wav

flac 1.5.0
Copyright (C) 2000-2009  Josh Coalson, 2011-2025  Xiph.Org Foundation
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

collectathon.wav: Verify OK, wrote 8261224 bytes, ratio=0.551

________________________________________________________
Executed in  186.32 millis    fish           external
   usr time    1.43 secs    359.00 micros    1.42 secs
   sys time    0.02 secs      0.00 micros    0.02 secs

tle@fedora ~/W/wavs (main)> rm *.flac && time flac -V -8 -j 1  collectathon.wav

flac 1.5.0
Copyright (C) 2000-2009  Josh Coalson, 2011-2025  Xiph.Org Foundation
flac comes with ABSOLUTELY NO WARRANTY.  This is free software, and you are
welcome to redistribute it under certain conditions.  Type `flac' for details.

collectathon.wav: Verify OK, wrote 8261224 bytes, ratio=0.551

________________________________________________________
Executed in  963.39 millis    fish           external
   usr time  962.46 millis  419.00 micros  962.04 millis
   sys time    0.00 millis    0.00 micros    0.00 millis

--- End code ---

So with 32 threads, it's 5x faster than 1 thread.

Navigation

[0] Message Index

Go to full version