Bug 776200 - Reduce compression level as temporary fix for SunSpider regression. r=pierron

--HG--
extra : rebase_source : 7516bb18a5bbceca411d2053a5ff546cf0de27ec
This commit is contained in:
Benjamin Peterson 2012-07-22 01:07:29 -07:00
parent 53ef61121a
commit 1e144ee5ad

View File

@ -54,7 +54,7 @@ js::TryCompressString(const unsigned char *inp, size_t inplen, unsigned char *ou
zs.avail_in = inplen;
zs.next_out = out;
zs.avail_out = inplen;
int ret = deflateInit(&zs, Z_DEFAULT_COMPRESSION);
int ret = deflateInit(&zs, Z_BEST_SPEED);
if (ret != Z_OK) {
JS_ASSERT(ret == Z_MEM_ERROR);
return false;