import { norm } from './norm'; import { random } from './random'; import { bench } from '../bench'; bench( 'core', 'norm', (n: number) => [random(n)], (x): void => { x.norm(); }, (x): void => { norm(x); } );