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

Simple change to the benchmark import description. #22

Closed
wants to merge 1 commit into from
Closed

Simple change to the benchmark import description. #22

wants to merge 1 commit into from

Conversation

liquidgecka
Copy link

Quick change that allows the benchmark files to be run without modifying GOPATH. With this change it should be possible to run the following series of commands

go get github.com/alphazero/Go-redis
echo "requirepass go-redis" | redis-server - &
for i in src/github.com/alphazero/Go-redis/bench/*.go ; do
go run $i
done
kill %1

The idea is to make it super simple to run.

Tested using the above commands.

This change gets the benchmark files to import from the github URL
in order to vastly simplify running them. Once the module is obtained
using "go get github.com/alphazero/Go-redis" the benchmarks can then be
run using:
for i in src/github.com/alphazero/Go-redis/bench/* ; do
  $i
done

This should make running them a little easier. since it no longer
requires setting a GOPATH to make it all work.
@alphazero
Copy link
Owner

Thanks but not acceptable. /R

@alphazero alphazero closed this Sep 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants