facebook / facebook/zstd

Multithreaded compression offers only a slight performance improvement

オープン
#4,762 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C
スター
27.9k
フォーク
2.6k
平均マージ
1日 3時間
マージ済み PR(30日)
8

説明

I used an 11.5 GB file to test the compression times under both single-threaded and multithreaded. Multithreading with `ZSTD_c_nbWorkers`, while single-threaded does not. The results show that single-threaded compression took 35.924 seconds, whilst multithreading took 33.879 seconds. Strangely, the efficiency gain from multithreading is minimal, could you explain why this is the case?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。