mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-23 18:55:22 +01:00
2 megabytes is sufficient for testing purposes.
This commit is contained in:
parent
32693aeaff
commit
f4ae511af0
@ -29,7 +29,7 @@ public class NativeZlibTest
|
||||
System.out.println( "Testing: " + zlib );
|
||||
long start = System.currentTimeMillis();
|
||||
|
||||
byte[] dataBuf = new byte[ 1 << 25 ]; // 32 megabytes
|
||||
byte[] dataBuf = new byte[ 1 << 22 ]; // 2 megabytes
|
||||
new Random().nextBytes( dataBuf );
|
||||
|
||||
zlib.init( true, 9 );
|
||||
|
Loading…
Reference in New Issue
Block a user