mirror of
https://github.com/golang/go
synced 2024-11-21 20:54:45 -07:00
dashboard: fix benchmark json output
Fixes #722. R=rsc CC=golang-dev https://golang.org/cl/1065041
This commit is contained in:
parent
3c32300c4d
commit
249c49ed3c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user