ifont
Version:
An isomorphic icon font generator with support for ligatures.
25 lines (19 loc) • 344 B
JavaScript
/* IMPORT */
import benchmark from 'benchloop';
import ifont from '../dist/index.js';
import {ICONS} from '../test/fixtures.js';
/* MAIN */
benchmark ({
name: 'fresh',
iterations: 1,
fn: () => {
ifont ({ icons: ICONS });
}
});
benchmark ({
name: 'rest',
iterations: 100,
fn: () => {
ifont ({ icons: ICONS });
}
});