summaryrefslogtreecommitdiff
path: root/test/WrDiskCacheTest.cc
Commit message (Collapse)AuthorAgeFilesLines
* make clang-format using clang-format-3.6Tatsuhiro Tsujikawa2015-12-271-4/+6
|
* AbstractSingleDiskAdaptor: Use std::unique_ptr for diskWriter_Tatsuhiro Tsujikawa2013-07-061-4/+5
|
* Require -std=c++11 and use std::shared_ptr instead of SharedHandleTatsuhiro Tsujikawa2013-06-221-2/+2
|
* Added --disk-cache optionTatsuhiro Tsujikawa2012-12-031-0/+74
This option enables disk cache. If SIZE is 0, the disk cache is disabled. This feature caches the downloaded data in memory, which grows to at most SIZE bytes. The cache storage is created for aria2 instance and shared by all downloads. The one advantage of the disk cache is reduce the disk seek time because the data is written in larger unit and it is reordered by the offset of the file. If the underlying file is heavily fragmented it is not the case.