New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@funish/bench

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@funish/bench

Programmatically create benchmark tests, powered by Funish.

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
2
-50%
Maintainers
1
Weekly downloads
 
Created
Source

@funish/bench

npm version npm downloads npm license Contributor Covenant

Programmatically create benchmark tests, powered by Funish.

Getting started

# npm
$ npm install @funish/bench

# yarn
$ yarn add @funish/bench

# pnpm
$ pnpm add @funish/bench

Usage

Bench

import { Bench } from "@funish/bench";

const bench = new Bench({
  times: 1000,
  unit: "ns",
});

bench.add("test", () => {
  // ...
});

bench.print();

Interfaces

See it on JSDoc.

License

  • MIT © Funish

Keywords

bench

FAQs

Package last updated on 04 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts