This WCP-plugin intercepts 4 functions in TotalCmd image in order to change the algorithm for working with the file structure of opened archives. It is the use of a tree-like file structure that allows the speed of working with archives that contain many files and directories.
WCP-plugin speeds up browsing archives at least 1000 times !!!
Testing was conducted on an 11GB TAR-file, which contained 453973 files and 52930 directories.
Test results of the original algorithm and the algorithm from WCP-plugin:
Orig algo (ms) | WCP-plugin (ms) | items | comment/directory |
---|---|---|---|
46527.07 | 3351.26 | 506900 | file collection building |
4615.79 | 0.12 | 1 | [root dir] |
4952.83 | 1.00 | 51 | [AP\kernel\firmware] |
4830.28 | 3.45 | 130 | [AP\kernel\kernel] |
5653.89 | 5.08 | 188 | [AP\external] |
Other performance tests can be found here.