mirror of https://github.com/gorhill/uBlock.git
Increase the logging of first best/worst requests to 1000
This commit is contained in:
parent
ffb4fe9b8f
commit
10ca7438d7
|
@ -221,12 +221,12 @@ async function bench() {
|
|||
}
|
||||
|
||||
if ( MAXCOST ) {
|
||||
const costly = results.sort((a,b) => b[1].t - a[1].t).slice(0, 100);
|
||||
const costly = results.sort((a,b) => b[1].t - a[1].t).slice(0, 1000);
|
||||
write('data/snfe.maxcost.json', JSON.stringify(costly, null, 2));
|
||||
}
|
||||
|
||||
if ( MINCOST ) {
|
||||
const costly = results.sort((a,b) => a[1].t - b[1].t).slice(0, 100);
|
||||
const costly = results.sort((a,b) => a[1].t - b[1].t).slice(0, 1000);
|
||||
write('data/snfe.mincost.json', JSON.stringify(costly, null, 2));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue