Download Jar. Libraryless. Click here for Pure Java version (5530L/36K).
!7 p { File f = loadLibrary(#1008743); print("Input: " + fileSize(f) + " bytes"); int l = 0; for (int bufferSize : ll(8192, 65536, 1024*1024)) { print_doubleNL("Buffer size: " + bufferSize); repeat 10 { time2 { l = l(readFully(gzInputStream(f))); }} } print_nlBefore(l + " bytes"); }
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: | 765 / 1879 |
| Referenced in: | [show references] |