Catalog npm
Back to packageRELEASE DETAILS

1.0.3

npm

@0x2e757/benchmark

Benchmarking library

benchmarktypescript
Published11 Dec 2020
Direct dependencies2
Transitive dependenciesNot calculated

README

Current package documentation

Benchmark

Library for code performance testing using Node.js

Installation

npm i @0x2e757/benchmark

Usage example

If used in JavaScript import as:

const benchmark = require("@0x2e757/benchmark");

If used in TypeScript import as:

import * as benchmark from "@0x2e757/benchmark";

Benchmark your code:

benchmark.test({

    "case 1": () => {
        // Some code
    },

    "case 2": () => {
        // Another code
    },

});

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^3.9.7development
@types/node
Environment
{
  "local_name": "@types/node",
  "alias": false,
  "peer_metadata": null
}
^14.10.1development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-BwCvaUsLCiSWvKBDRang1sCJvvRWnhwxl5xqt+rcxWYYPi+7WzNkwliWMFsw1zsq+lJ42Ss+DB0WIFUACDwopA==",
  "shasum": "e3867448afa7c9b48b06591c9de21f2867a97d0c",
  "tarball": "https://registry.npmjs.org/@0x2e757/benchmark/-/benchmark-1.0.3.tgz",
  "fileCount": 9,
  "unpackedSize": 22883,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf06SoCRA9TVsSAnZWagAArCoQAKT97hESFkUauQeejsSH\nVnBCWZaXb6CtSQtr0REW/C7tDdYaxoVytuiid9LGAQ2xRzC8wN5vC2yUhQt3\nSMI583wyp/+LDIAJzT4tp0k1MJ/V+X+A1UqvxdR5RDEJrCKtA4r9izSIh8rC\nj2jIPFXVR3EQ3EOCsw97VF3lrVtPQhiwqzBYNVHeqkKluoQyczyiBeqBPRtZ\neOlnYWufGkwuFjcjJDZy+YxBedGKzlaAnRytRRxyHxWxfQjf5+yflbyPaXh5\n+oc5grTvWxHaZd/7ePxaYWLGERIiCc4ihU+LStimKCMf2VudvS/zh11FR9A7\n9QARPbGvbd6YTVw9Lfta/TM60jFB3uvZhkzZXIHEJ//5z5yZnGcMsamxMVvT\na1qJcfl1x0K73auRJiRx2BUXpO0Wj4qPlcZX2QCqSzf/ze36W2J29Vtc0nM+\nCUqF8GA46jHxdnKcIL5YQHMnMTCb4Fvdy3A1nTJpjYlYRllLGhntegqAfCFJ\nieelTynFYIkAZRIlN5bLzUHXLyuIValDO3C2D70yynuD4FxZ/XTpg4IYutFk\nsJ12kxRZjJbdvLwhTuLvwkTJKremabMkvuunRkWK/lMiLlYlsPRrPU3m36mE\n7H7C0fQ/+8aJCQRbVUfPjXmygylU01mjVp3zJHhiANRan4kymift/ZfGGdoO\n0w3d\r\n=MM/4\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIAKdMNQwcJ9k4Kob/KkSQzhlYyJimDbYwSjCPd+KKGE4AiAPpBA5evjkrQvNKM74yYFDBZgaT7ZlrDAbWRUYQptJRQ=="
    }
  ]
}

Repository

PENDING
0x2e757/benchmark

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:34 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:edb2e79d7a3b77d4d978dbc0845ff3a5d7e13f52d2114db74f317301bb20e03a

Other collected versions

1.0.212 Sept1.0.112 Sept1.0.012 SeptView all collected versions →