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

@karimsa/bench

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@karimsa/bench - npm Package Compare versions

Comparing version 0.14.0 to 0.15.0

9

bench.dist.js

@@ -52,2 +52,3 @@ var __create = Object.create;

var microtime = __toESM(require("microtime"));
var import_uuid = require("uuid");
function ttywrite(stream, str) {

@@ -242,3 +243,3 @@ if (str === void 0) {

timeSync(name, fn2) {
const startId = uuid();
const startId = (0, import_uuid.v4)();
import_perf_hooks.performance.mark(startId);

@@ -248,3 +249,3 @@ try {

} finally {
const endId = uuid();
const endId = (0, import_uuid.v4)();
import_perf_hooks.performance.mark(endId);

@@ -255,3 +256,3 @@ import_perf_hooks.performance.measure(name, startId, endId);

async timeAsync(name, fn2) {
const startId = uuid();
const startId = (0, import_uuid.v4)();
import_perf_hooks.performance.mark(startId);

@@ -261,3 +262,3 @@ try {

} finally {
const endId = uuid();
const endId = (0, import_uuid.v4)();
import_perf_hooks.performance.mark(endId);

@@ -264,0 +265,0 @@ import_perf_hooks.performance.measure(name, startId, endId);

{
"private": false,
"name": "@karimsa/bench",
"version": "0.14.0",
"version": "0.15.0",
"description": "Minimal benchmarking JS library.",

@@ -26,4 +26,5 @@ "main": "bench.dist.js",

"debug": "4.3.3",
"microtime": "3.0.0"
"microtime": "3.0.0",
"uuid": "^8.3.2"
}
}
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