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

@bunchmark/core

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bunchmark/core - npm Package Compare versions

Comparing version 1.0.0-pre-4 to 1.0.0-pre-5

2

package.json
{
"name": "@bunchmark/core",
"version": "1.0.0-pre-4",
"version": "1.0.0-pre-5",
"description": "benchmarking lib",

@@ -5,0 +5,0 @@ "type": "module",

@@ -8,3 +8,2 @@ export type Sampler = ((N: number)=>Promise<number>)

afterEach: Code,
header: string,
footer: (id: string)=> string

@@ -15,7 +14,8 @@ }

export type Task = {
name?: string
before?: Code
after?: Code
run: Code
export type Entry = {
name?: string,
workspace: number[],
chronological: number[],
calibration: number[],
N: number
}

@@ -32,10 +32,2 @@

export type Entry = {
name?: string,
workspace: number[],
chronological: number[],
calibration: number[],
N: number
}
export type Options = {

@@ -55,2 +47,10 @@ preamble?: Code,

export type Result = {
i: number,
reps: number,
entries: Entry[]
}
export type ReturnTick = {i: number, reps: number}
export type RunnerOptions = {

@@ -70,16 +70,18 @@ tasks: InnerTask[],

export type Result = {
i: number,
reps: number,
entries: Entry[]
export type RunResult = {
result: Promise<Result>,
pause: (mode?: boolean) => void
stop: () => void
}
export type Task = {
name?: string
before?: Code
after?: Code
run: Code
}
export type YieldTask = {kind: "task", task: Promise<void>}
export type YieldTick = {kind: "tick", i: number, reps: number}
export type ReturnTick = {i: number, reps: number}
export type RunResult = {
result: Promise<Result>,
pause: (mode?: boolean) => void
stop: () => void
}
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