7 lines
186 B
JavaScript
7 lines
186 B
JavaScript
import _ from 'lodash'
|
|
import process from 'process'
|
|
|
|
const benchmark = require('benchmark')
|
|
export const Benchmark = benchmark.runInContext({ _, process })
|
|
window.Benchmark = Benchmark
|