Options
All
  • Public
  • Public/Protected
  • All
Menu

Module scripts/submit-bench-data

Variables

Const BENCHMARK

BENCHMARK: RegExp = /^bench-(.*)\.json$/

Const benchDir

benchDir: string = process.argv[4]

Const benchmarkEntries

benchmarkEntries: string[] = entries.filter(entry => {return entry.match(BENCHMARK);})

Const entries

entries: string[] = fs.readdirSync(benchDir)

Const fs

fs: "fs" = require(`fs`)

Const https

https: "https" = require(`https`)

Const now

now: number = Math.floor(Date.now() / 1000)

Const packageManager

packageManager: string = process.argv[2]

Const path

path: PlatformPath = require(`path`)

Const roundedNow

roundedNow: number = now - (now % 3600)

Const series

series: any[] = []

Const testName

testName: string = process.argv[3]

Generated using TypeDoc