1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 15:32:28 +02:00

Fix incorrect count in built-in benchmark

This commit is contained in:
Raymond Hill 2020-10-29 06:01:04 -04:00
parent f5459d4546
commit 2b88c8b545
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -3562,7 +3562,6 @@ FilterContainer.prototype.benchmark = async function(action, target) {
}
if ( fctxt.type === 'main_frame' || fctxt.type === 'sub_frame' ) {
this.matchAndFetchData(fctxt, 'csp');
matchCount += 1;
}
}
const t1 = self.performance.now();