Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Commit

Permalink
reconciling files from ipfs-log
Browse files Browse the repository at this point in the history
removing stray console.log
  • Loading branch information
aphelionz committed Aug 30, 2020
1 parent f311204 commit 9ef3f59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ const stressLimit = argv.stressLimit || 300
const baselineLimit = argv.baselineLimit || 1000
const logLimit = argv.logLimit || 10000

console.log(process.cwd())

const benchmarks = require(process.cwd() + '/benchmarks')
const report = require('./report')

Expand Down Expand Up @@ -95,15 +93,15 @@ const rimraf = (path) => {
}

const runOne = async (benchmark) => {
let stats = {
const stats = {
count: 0
}

if (global.gc) {
global.gc()
}

let memory = {
const memory = {
before: process.memoryUsage()
}

Expand Down Expand Up @@ -139,7 +137,7 @@ const runOne = async (benchmark) => {
}

const start = async () => {
let results = []
const results = []
const baselineOnly = argv.baseline
const runnerStartTime = process.hrtime()

Expand Down
2 changes: 1 addition & 1 deletion report.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const padStr = (str, max) => {
}

const reporter = (results) => {
let reports = [{
const reports = [{
name: 'Benchmark Name',
ops: 'Ops / ms',
totalMs: 'Total ms',
Expand Down

0 comments on commit 9ef3f59

Please sign in to comment.