Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tinybench

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinybench - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "tinybench",
"version": "1.0.0",
"version": "1.0.1",
"description": "A benchmarking library that supports high-resolution timers & returns statistically significant results.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -1,12 +0,5 @@

# Benchmark.js v2.1.4
# tinybench
<div align="center">
A [robust](https://mathiasbynens.be/notes/javascript-benchmarking "Bulletproof JavaScript benchmarks") benchmarking library based on benchmark.js
[![Build Status](https://github.com/cthulhu-node/benchmark.js/workflows/ci/badge.svg)](https://github.com/cthulhu-node/benchmark.js/actions)
[![Coverage Status](https://coveralls.io/repos/github/cthulhu-node/benchmark.js/badge.svg?branch=master)](https://coveralls.io/github/cthulhu-node/benchmark.js?branch=master)
</div>
A [robust](https://mathiasbynens.be/notes/javascript-benchmarking "Bulletproof JavaScript benchmarks") benchmarking library that supports high-resolution timers & returns statistically significant results. As seen on [jsPerf](https://jsperf.com/).
## Documentation

@@ -16,37 +9,10 @@

## Download
* [Development source](https://raw.githubusercontent.com/bestiejs/benchmark.js/2.1.4/benchmark.js)
## Installation
In a browser:
```html
<script src="benchmark.js"></script>
```
In an AMD loader:
```js
require({
'paths': {
'benchmark': 'path/to/benchmark'
}
},
['benchmark'], function(Benchmark) {/*…*/});
```
Using npm:
```shell
$ npm i --save benchmark
$ npm i --save tinybench
```
In Node.js:
```js
var Benchmark = require('benchmark');
```
Optionally, use the [microtime module](https://github.com/wadey/node-microtime) by Wade Simmons:

@@ -61,2 +27,4 @@

```js
var Benchmark = require('tinybench');
var suite = new Benchmark.Suite;

@@ -86,9 +54,1 @@

```
## Support
Tested in Chrome 54-55, Firefox 49-50, IE 11, Edge 14, Safari 9-10, Node.js 6-7, & PhantomJS 2.1.1.
## BestieJS
Benchmark.js is part of the BestieJS *“Best in Class”* module collection. This means we promote solid browser/environment support, ES5+ precedents, unit testing, & plenty of documentation.

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc