@mohism/bench
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

USAGE:

import MohismBench from '@mohism/bench';
// or const MohismBench = require('@mohism/bench')

const bench = new MohismBench();

bench
  .add('+number', function () {
    +'12345';
  })
  .add('Number.parseInt', function () {
    Number.parseInt('12345', 10);
  })
  .run();

Dependencies (2)

Dev Dependencies (13)

Package Sidebar

Install

npm i @mohism/bench

Weekly Downloads

0

Version

1.1.3

License

ISC

Unpacked Size

6.44 kB

Total Files

9

Last publish

Collaborators

  • lanhao