Skip to content

Instantly share code, notes, and snippets.

View SimonWoolf's full-sized avatar

Simon Woolf SimonWoolf

View GitHub Profile
const ROUNDS = 1*5*1000;
let start;
const calls = new Map();
for(let i=0; i<10000; i++) {
calls.set(Math.random().toString(), {request: {params: {fromOtherMaster: 'true'}}, instance: 'foo'})
}
const reduceIterableWith = (fn, initial, iterable) => {
const iterator = iterable[Symbol.iterator]();
let iterationResult,
accumulator = initial;

Keybase proof

I hereby claim:

  • I am simonwoolf on github.
  • I am swoolf (https://keybase.io/swoolf) on keybase.
  • I have a public key whose fingerprint is 3600 E170 E748 6284 8DF8 DF1A 0E1F 021D A061 FB64

To claim this, I am signing this object: