UNPKG

@acromedia/sloth

Version:

Resource profiler for node, utilizing child processes

14 lines (13 loc) 455 B
import ProfileResults from '../classes/ProfileResults'; declare const _default: (path: string, nodeArgs?: Array<string>, cliArgs?: Array<string>) => Promise<ProfileResults>; /** * This function is just a bit of a shortcut to bench(). * * It bascially just keeps you from having to fork the file for yourself * and create a manual profiler. * * @param {String} path * @param {Array=} nodeOpts * @param {Array=} cliOpts */ export default _default;