mirror of https://github.com/gorhill/uBlock.git
Fix incorrect count in built-in benchmark
This commit is contained in:
parent
f5459d4546
commit
2b88c8b545
|
@ -3562,7 +3562,6 @@ FilterContainer.prototype.benchmark = async function(action, target) {
|
||||||
}
|
}
|
||||||
if ( fctxt.type === 'main_frame' || fctxt.type === 'sub_frame' ) {
|
if ( fctxt.type === 'main_frame' || fctxt.type === 'sub_frame' ) {
|
||||||
this.matchAndFetchData(fctxt, 'csp');
|
this.matchAndFetchData(fctxt, 'csp');
|
||||||
matchCount += 1;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const t1 = self.performance.now();
|
const t1 = self.performance.now();
|
||||||
|
|
Loading…
Reference in New Issue