mirror of
https://github.com/golang/go
synced 2024-11-05 18:36:08 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue