Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
yzyangyh committed Nov 16, 2022
1 parent 9e7fabc commit 9005a36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/webcpu.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ var webcpu = (function (exports) {
workers.push(await this._initWorker(wasmModule));
await this._testWorkers(workers, loops);
baseStats = await this._testWorkers(workers, loops);
console.log('baseStats = ', baseStats);
console.log('baseStats = ', JSON.stringify(baseStats));

if (hardcore) {
this._killWorkers(workers);
Expand All @@ -246,7 +246,7 @@ var webcpu = (function (exports) {
promises.length = 0;

const stats = await this._testWorkers(workers, loops);
console.log('stats = ', stats);
console.log('stats = ', JSON.stringify(stats));
if (!this._areAllCoresValid(baseStats, stats, 0.9)) {
console.log('_areAllCoresValid = false, thresholdCount = ', thresholdCount, ", threadCount = ", threadCount);
--threadCount;
Expand Down

0 comments on commit 9005a36

Please sign in to comment.