Download Jar. Libraryless. Click here for Pure Java version (5530L/36K).
1 | !7 |
2 | |
3 | p {
|
4 | File f = loadLibrary(#1008743); |
5 | print("Input: " + fileSize(f) + " bytes");
|
6 | int l = 0; |
7 | for (int bufferSize : ll(8192, 65536, 1024*1024)) {
|
8 | print_doubleNL("Buffer size: " + bufferSize);
|
9 | repeat 10 { time2 {
|
10 | l = l(readFully(gzInputStream(f))); |
11 | }} |
12 | } |
13 | print_nlBefore(l + " bytes"); |
14 | } |
Began life as a copy of #1009533
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1014664 |
| Snippet name: | Benchmark Decompressing gzip buffer sizes |
| Eternal ID of this version: | #1014664/1 |
| Text MD5: | 3f19df43da7580f6c9ad4cfe0f69fb3c |
| Transpilation MD5: | f6f1066368b3a5f614cc4710ca707305 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code (desktop) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-04-29 14:00:41 |
| Source code size: | 327 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 767 / 1889 |
| Referenced in: | [show references] |