From 0dbf53b838d20ddbbb613bc7a37eb5dd22baeab9 Mon Sep 17 00:00:00 2001 From: Nathan Daly Date: Thu, 20 Dec 2018 13:05:16 -0500 Subject: [PATCH] Cleanup cruft; update PkgBenchmark.jl commit --- benchmark/Manifest.toml | 4 ++-- benchmark/runbench.jl | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/benchmark/Manifest.toml b/benchmark/Manifest.toml index e0afbdf..2716f24 100644 --- a/benchmark/Manifest.toml +++ b/benchmark/Manifest.toml @@ -50,8 +50,8 @@ deps = ["Dates", "LibGit2", "Markdown", "Printf", "REPL", "Random", "SHA", "UUID uuid = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" [[PkgBenchmark]] -deps = ["BenchmarkTools", "Dates", "InteractiveUtils", "JSON", "LibGit2", "Pkg", "Printf", "ProgressMeter", "Random", "Test"] -git-tree-sha1 = "d15f09c1e4a8c1075db6025fed97b8a852d5738e" +deps = ["BenchmarkTools", "Dates", "InteractiveUtils", "JSON", "LibGit2", "Pkg", "Printf", "ProgressMeter", "Random", "Statistics", "Test"] +git-tree-sha1 = "717f93d4cfcbd5b5dadbbb74071541c725ba6552" repo-rev = "post-processing" repo-url = "https://github.com/NHDaly/PkgBenchmark.jl" uuid = "32113eaa-f34f-5b0d-bd6c-c81e245fc73d" diff --git a/benchmark/runbench.jl b/benchmark/runbench.jl index 251179f..dd115d7 100644 --- a/benchmark/runbench.jl +++ b/benchmark/runbench.jl @@ -24,7 +24,6 @@ function /(a::BenchmarkTools.TrialEstimate, b::Int) end function postprocess(results::BenchmarkGroup) - global _results = deepcopy(results) for (op, op_group) in results.data op_results = op_group.data for (type, type_group) in op_results @@ -39,8 +38,6 @@ function postprocess(results::BenchmarkGroup) end results end -results = deepcopy(_results) -((results)->(results["*"]["BigInt"]["bench"]=median(results["*"]["BigInt"]["bench"])/1000))(results) bench_results = withenv("BENCH_NUM_ITERS"=>string(N)) do benchmarkpkg("FixedPointDecimals"; postprocess=postprocess)