Skip to content

Instantly share code, notes, and snippets.

View zleman1593's full-sized avatar

Zack Leman zleman1593

  • Catch Health
  • United States
View GitHub Profile
'use strict';
const beelineLib = require('honeycomb-beeline');
const beeline = beelineLib({
writeKey: process.env.HONEYCOMB_WRITE_KEY,
dataset: `dev`
});
const async_hooks = require('async_hooks');
describe('beeline()', () => {
// Some algorithms taken from
//medium.com/@jakubsynowiec/unique-array-values-in-javascript-7c932682766c
// Run `testRunner` in Node REPL (import lodash for that test)
//Use this to get an average run time
function test(testFunction, testArray, rounds = 5) {
const times = [];
const memory = [];
for (let index = 0; index < rounds; index += 1) {
const startAt = process.hrtime();

Keybase proof

I hereby claim:

  • I am zleman1593 on github.
  • I am zackleman (https://keybase.io/zackleman) on keybase.
  • I have a public key ASBfwZuJrn4tSpJ1OUOM3SHz4v65G3YLJROV2j1upD5LIQo

To claim this, I am signing this object: