aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2010-05-03 18:35:32 +1000
committerAndrew Gerrand <adg@golang.org>2010-05-03 18:35:32 +1000
commit249c49ed3c3a24268600baa0fbd9680bde6de475 (patch)
treeb244bc6395a031518385bb1704b25facf42e99a1
parent3c32300c4dcd50143e5aa6089c583e068c331099 (diff)
downloadgo-249c49ed3c3a24268600baa0fbd9680bde6de475.tar.gz
go-249c49ed3c3a24268600baa0fbd9680bde6de475.zip
dashboard: fix benchmark json output
Fixes #722. R=rsc CC=golang-dev https://golang.org/cl/1065041
-rw-r--r--misc/dashboard/godashboard/gobuild.py2
1 files changed, 1 insertions, 1 deletions
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