main function
dynamic
main()
Implementation
main() async {
final textBuf = new File('test/golden/wiki-lzma.html').readAsBytesSync(); //randomText(mb);
final binBuf = randomBin(mb);
print('text');
for (Codec codec in [gz1, gz3, gz5, gz6, gz7, gz9]) {
benchCodec(codec, textBuf);
}
await benchGzip(textBuf);
print('bin');
for (Codec codec in [gz1, gz3, gz5, gz7, gz9]) {
benchCodec(codec, binBuf);
}
await benchGzip(binBuf);
}