Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! benchmark: add MessagePort benchmark
  • Loading branch information
addaleax committed Jan 29, 2020
commit eb4fafd408e9ab7cf869d48a3df66150571b0c05
2 changes: 0 additions & 2 deletions benchmark/worker/messageport.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use strict';

const common = require('../common.js');
const path = require('path');
const { MessageChannel } = require('worker_threads');
const bench = common.createBenchmark(main, {
Comment thread
lundibundi marked this conversation as resolved.
payload: ['string', 'object'],
Expand All @@ -11,7 +10,6 @@ const bench = common.createBenchmark(main, {
function main(conf) {

const n = +conf.n;
Comment thread
addaleax marked this conversation as resolved.
Outdated
const sends = +conf.sendsPerBroadcast;

let payload;

Expand Down