Skip to content

Commit

Permalink
fixed bench output check
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederic Charette authored and Frederic Charette committed Dec 16, 2021
1 parent 348d757 commit 8b23887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/profiling/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ function handleRequest(id, language) {
}

store.on('query', batch => { suite.batches++; suite.avgBatchSize += batch.size; });
store.on('cacheHit', evt => { suite.cacheHits+=evt.found; });
store.on('coalescedHit', evt => { suite.coalescedHit+=evt.found; });
store.on('cacheHit', evt => { suite.cacheHits+=evt; });
store.on('coalescedHit', evt => { suite.coalescedHit+=evt; });

//End
function complete() {
Expand Down

0 comments on commit 8b23887

Please sign in to comment.