Skip to content

Commit

Permalink
rollback perf-runner
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Apr 24, 2017
1 parent bdf4260 commit 4a8f1c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmark/perf-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function createBrokers(Transporter, opts) {

let b2 = new ServiceBroker({
transporter: new Transporter(opts),
cacher: new Cacher(),
//cacher: new Cacher(),
//requestTimeout: 0,
//logger: console,
//logLevel: "debug",
Expand Down Expand Up @@ -55,8 +55,8 @@ let [b1, b2] = createBrokers(Transporters.Fake);
let count = 0;
function doRequest() {
count++;
//return b2.call("echo.reply", { a: count }).then(res => {
return b2.call("echo.get", { id: 5 }).then(res => {
return b2.call("echo.reply", { a: count }).then(res => {
//return b2.call("echo.get", { id: 5 }).then(res => {
if (count % 10000) {
// Fast cycle
doRequest();
Expand Down

0 comments on commit 4a8f1c3

Please sign in to comment.