https://github.com/smart-table/smart-table-perf
smart-table extension to monitor performance (execution time processing functions)
https://github.com/smart-table/smart-table-perf
performance smart-table
Last synced: 9 months ago
JSON representation
smart-table extension to monitor performance (execution time processing functions)
- Host: GitHub
- URL: https://github.com/smart-table/smart-table-perf
- Owner: smart-table
- License: mit
- Created: 2017-03-06T15:37:20.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-24T15:44:47.000Z (about 9 years ago)
- Last Synced: 2025-09-07T08:21:34.660Z (10 months ago)
- Topics: performance, smart-table
- Language: JavaScript
- Size: 109 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# smart-table-perf
[smart table](https://smart-table.github.io/www/dist/) extension to monitor performance (execution time of processing functions)
see [https://smart-table.github.io/smart-table-perf/example/](demo)

## Installation
### npm
``npm install --save smart-table-perf``
### yarn
``yarn add smart-table-perf``
## Usage
```Javascript
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
```