diff --git a/README.md b/README.md index 5f8bc2b..a136eed 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ In Golang we can analyze algorithm efficiency by writing benchmark functions and ```bash git clone https://github.com/CodingBerg/benchgraph.git -cd ./benchmark +cd ./benchgraph go get ./ go install ``` diff --git a/parse.go b/parse.go index 61d1774..e7e17be 100644 --- a/parse.go +++ b/parse.go @@ -8,7 +8,7 @@ import ( // Coder should use following naming convention for Benchmark functions // Naming convention: Benchmark[Function_name]_[Function_argument](b *testing.B) -var re *regexp.Regexp = regexp.MustCompile(`Benchmark([a-zA-Z0-9]+)_([_a-zA-Z0-9]+)-([0-9]+)$`) +var re *regexp.Regexp = regexp.MustCompile(`Benchmark([a-zA-Z0-9/]+)_([_a-zA-Z0-9]+)-([0-9]+)$`) // Storage for Func(Arg)=Result relations type BenchArgSet map[string]float64