smart-table-perf

1.0.0 • Public • Published

smart-table-perf

smart-table extension to monitor performance (execution time of processing functions)

Installation

npm

npm install --save smart-table-perf

yarn yarn add smart-table-perf

Usage

import st from 'smart-table-core';
import perf from 'smart-table-perf';

const data = [
  {foo: 'bar'},
  {foo: 'woot'},
  {foo: 'blah'},
  {foo: 'na'}
];
const table = st({data},perf());

table.sort({pointer: 'foo'});
table.eval();
// > smart-table:eval: 13.972ms
// > smart-table:exec: 27.652ms

Readme

Keywords

Package Sidebar

Install

npm i smart-table-perf

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • lorenzofox3