-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues for Android about replacing zlib using zstd #501
Comments
Hi Cyan4973,
|
It seems the decompressor is running at about 100 MB/s in your tests.
#import "bench.h"
/* ... */
- (void)viewDidLoad {
ZSTD_compressionParameters params;
memset(¶ms, 0, sizeof(params));
BMK_SetNbSeconds(5);
BMK_setNotificationLevel(1);
BMK_setDecodeOnly(0);
BMK_benchFiles(NULL, 0, NULL, 1, 10, ¶ms);
}
/* ... */ When running on an unoptimized build it decompressed at about 100 MB/s. When running a build optimized with Is your binary compiled with optimizations? |
Hi Terrelln, |
May be it is something about your android system? 64-bits is way faster. |
Hi
I am attempting to port zstd to Android libziparchive module, by using zlibWrapper to replace zlib .
As scenes in Androd concerns more about decompress speed, so I test decompressing zip files(like bmp.zip(bmp file compressed by zstd/zlib firstly) and apk) using zlib/zstd.
The data below shows gaining little benefit comparing zlib, do you have any advise for my occuration?
thanks
test steps:
1: firstly, compress bmp/txt files into test_zstd.zip using zstd, test_zlib.zip using zlib;
2: secondly, decompress zip files above into memory or file system;
3: calculating time consuming for step 2.
The text was updated successfully, but these errors were encountered: