Increase the logging of first best/worst requests to 1000

This commit is contained in:
Raymond Hill 2021-08-16 10:54:27 -04:00
parent ffb4fe9b8f
commit 10ca7438d7
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 2 additions and 2 deletions

View File

@ -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));
}