mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-18 22:23:07 -03:00
renamed benchmark directory to benchmarks
updated .gitignore
This commit is contained in:
8
Makefile
8
Makefile
@ -33,14 +33,14 @@ code-generate: $(LINGUIST_PATH)
|
||||
go run internal/code-generator/main.go
|
||||
|
||||
benchmarks: $(LINGUIST_PATH)
|
||||
go test -run=NONE -bench=. && benchmark/linguist-total.sh
|
||||
go test -run=NONE -bench=. && benchmarks/linguist-total.sh
|
||||
|
||||
benchmarks-samples: $(LINGUIST_PATH)
|
||||
go test -run=NONE -bench=. -benchtime=5us && benchmark/linguist-samples.rb
|
||||
go test -run=NONE -bench=. -benchtime=5us && benchmarks/linguist-samples.rb
|
||||
|
||||
benchmarks-slow: $(LINGUST_PATH)
|
||||
mkdir -p benchmark/output && go test -run=NONE -bench=. -slow -benchtime=100ms -timeout=100h >benchmark/output/enry_samples.bench && \
|
||||
benchmark/linguist-samples.rb 5 >benchmark/output/linguist_samples.bench
|
||||
mkdir -p benchmarks/output && go test -run=NONE -bench=. -slow -benchtime=100ms -timeout=100h >benchmarks/output/enry_samples.bench && \
|
||||
benchmarks/linguist-samples.rb 5 >benchmarks/output/linguist_samples.bench
|
||||
|
||||
clean:
|
||||
rm -rf $(LINGUIST_PATH)
|
||||
|
Reference in New Issue
Block a user