From: Andrew Gerrand Date: Mon, 3 May 2010 08:35:32 +0000 (+1000) Subject: dashboard: fix benchmark json output X-Git-Tag: weekly.2010-05-04~18 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=249c49ed3c3a24268600baa0fbd9680bde6de475;p=gostls13.git dashboard: fix benchmark json output Fixes #722. R=rsc CC=golang-dev https://golang.org/cl/1065041 --- diff --git a/misc/dashboard/godashboard/gobuild.py b/misc/dashboard/godashboard/gobuild.py index 4a5b858c30..aac90b3267 100644 --- a/misc/dashboard/godashboard/gobuild.py +++ b/misc/dashboard/godashboard/gobuild.py @@ -575,7 +575,7 @@ class GetBenchmarks(webapp.RequestHandler): sep = "\n\t" for builder, iter, ns in bybuilder: self.response.out.write('%s{ "builder": "%s", "iterations": %s, "nsperop": %s }' % - (sep, builder, str(iter).replace("L", ""), str(nsperop).replace("L", ""))) + (sep, builder, str(iter).replace("L", ""), str(ns).replace("L", ""))) sep = ",\n\t" self.response.out.write('\n}\n') return