mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
squeeze the last ms of performance out of the rewriter
This commit is contained in:
parent
213f7bfa2b
commit
41acba634d
5 changed files with 31 additions and 152 deletions
|
@ -110,7 +110,7 @@ export async function swfetch(
|
|||
}
|
||||
break;
|
||||
case "script":
|
||||
responseBody = rewriteJs(await response.text(), url);
|
||||
responseBody = rewriteJs(await response.arrayBuffer(), url);
|
||||
// Disable threading for now, it's causing issues.
|
||||
// responseBody = await this.threadpool.rewriteJs(await responseBody.arrayBuffer(), url.toString());
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue