微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

DENSITY 高性能压缩库

程序名称:DENSITY

授权协议: BSD

操作系统: 跨平台

开发语言: C/C++

DENSITY 介绍

DENSITY 是一个超级快的压缩库。完全兼容 C99 语言规范。下面是性能测试详情:

使用的文件 : enwik8 (100 MB)

硬件平台 : MacBook Pro, OSX 10.10.2, 2.3 GHz Intel Core i7, 8Gb 1600 MHz DDR, SSD

计时方法 : 使用 time 函数,在多次运行后取最佳值

注意: sharc -c1 使用 chameleon 算法, sharc -c2 使用 cheetah 算法, sharc -c3 使用
lion 算法 (see About the algorithms further down).

Program Library Compress Decompress Size Ratio Round trip
**[sharc](https://github.com/centaurean/sharc)** -c1 **density** 0.12.1 0.109s (914 MB/s) 0.077s (1299 MB/s) 61 524 502 61,52% 0.186s
[lz4](https://github.com/Cyan4973/lz4) -1 lz4 r126 0.461s (217 MB/s) 0.091s (1099 MB/s) 56 995 497 57,00% 0.552s
[lzop](http://www.lzop.org) -1 lzo 2.08 0.367s (272 MB/s) 0.309s (324 MB/s) 56 709 096 56,71% 0.676s
**[sharc](https://github.com/centaurean/sharc)** -c2 **density** 0.12.1 0.211s (473 MB/s) 0.177s (565 MB/s) 53 156 782 53,16% 0.388s
**[sharc](https://github.com/centaurean/sharc)** -c3 **density** 0.12.1 0.361s (277 MB/s) 0.396s (253 MB/s) 47 991 605 47,99% 0.757s
[lz4](https://github.com/Cyan4973/lz4) -3 lz4 r126 1.520s (66 MB/s) 0.087s (1149 MB/s) 47 082 421 47,08% 1.607s
[lzop](http://www.lzop.org) -7 lzo 2.08 9.562s (10 MB/s) 0.319s (313 MB/s) 41 720 721 41,72% 9.881s

DENSITY 官网

https://github.com/centaurean/density?q

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。

相关推荐