Skip to content

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

License

Notifications You must be signed in to change notification settings

smart-table/smart-table-perf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smart-table-perf

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

see https://smart-table.github.io/smart-table-perf/example/

screenshot of smart-table-perf

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published