Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

misc/ios: make it easier to run benchmarks on the device #11071

josharian opened this issue Jun 4, 2015 · 0 comments


Copy link

commented Jun 4, 2015

I have some hacks I carry around locally to enable benchmarking on an iOS device:

  • Make tests print "DONE" after running benchmarks, similarly to the way they currently print "PASS" after running tests.
  • Add an envvar to go_darwin_arm_exec.go to control what string it watches for to detect that a test has completed running, and set that envvar to "DONE" when running benchmarks.
  • Add an envvar to go_darwin_arm_exec.go to enable debug mode, rather than it being a constant, and add that envvar when running benchmarks, in order to see incremental output.

This is obviously not a good solution. I don't know what a good solution looks like, but I'd like one. :)

/cc @crawshaw

@josharian josharian added this to the Go1.6 milestone Jun 4, 2015

@rsc rsc modified the milestones: Unplanned, Go1.6 Dec 4, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.