x/playground: detect and run Benchmark functions #38731
Labels
FeatureRequest
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What did you do?
Wrote a Playground source file containing a Benchmark function, for which I wanted to see the allocations per operation (a number that does not depend in any way on the absolute running time of the program):
https://play.golang.org/p/LKZwUYcGLaG
What did you expect to see?
Output similar to
go test -bench .
:What did you see instead?
CC @andybons @dmitshur @toothrot @cagedmantis
See previously #24311, #6511, #32403.
The text was updated successfully, but these errors were encountered: