removed benchmark/output directory

This commit is contained in:
Manuel Carmona 2017-07-04 16:30:23 +02:00
parent abf45f9266
commit 68109ad01c
8 changed files with 3 additions and 90166 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
.linguist
benchmark/output

View File

@ -39,7 +39,7 @@ benchmarks-samples: $(LINGUIST_PATH)
go test -run=NONE -bench=. -benchtime=5us && benchmark/linguist-samples.rb
benchmarks-slow: $(LINGUST_PATH)
go test -run=NONE -bench=. -slow -benchtime=100ms -timeout=100h >benchmark/output/enry_samples.bench && \
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
clean:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 KiB

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +0,0 @@
BenchmarkGetLanguageTotal/GetLanguage()_TOTAL-4 100 1915861259 ns/op
BenchmarkClassifyTotal/Classify()_TOTAL-4 5 39977943775 ns/op
BenchmarkStrategiesTotal/GetLanguagesByModeline()_TOTAL-4 1000 196571071 ns/op
BenchmarkStrategiesTotal/GetLanguagesByFilename()_TOTAL-4 2000000 89774 ns/op
BenchmarkStrategiesTotal/GetLanguagesByShebang()_TOTAL-4 100000 1892569 ns/op
BenchmarkStrategiesTotal/GetLanguagesByExtension()_TOTAL-4 200000 921160 ns/op
BenchmarkStrategiesTotal/GetLanguagesByContent()_TOTAL-4 1000 286159159 ns/op
PASS
ok gopkg.in/src-d/enry.v1 1837.814s

File diff suppressed because it is too large Load Diff

View File

@ -1,42 +0,0 @@
Rehearsal ---------------------------------------------------------
GetLanguage()_TOTAL 5 19.910000 0.000000 19.910000 ( 19.919336)
----------------------------------------------- total: 19.910000sec
user system total real
GetLanguage()_TOTAL 5 19.890000 0.010000 19.900000 ( 19.895484)
Rehearsal ------------------------------------------------------
Classify()_TOTAL 5 891.620000 0.000000 891.620000 (891.632326)
------------------------------------------- total: 891.620000sec
user system total real
Classify()_TOTAL 5 891.260000 0.000000 891.260000 (891.267159)
Rehearsal --------------------------------------------------------------------
GetLanguagesByModeline()_TOTAL 5 12.840000 0.000000 12.840000 ( 12.845975)
---------------------------------------------------------- total: 12.840000sec
user system total real
GetLanguagesByModeline()_TOTAL 5 12.910000 0.010000 12.920000 ( 12.911020)
Rehearsal --------------------------------------------------------------------
GetLanguagesByFilename()_TOTAL 5 0.010000 0.000000 0.010000 ( 0.014610)
----------------------------------------------------------- total: 0.010000sec
user system total real
GetLanguagesByFilename()_TOTAL 5 0.020000 0.000000 0.020000 ( 0.013444)
Rehearsal -------------------------------------------------------------------
GetLanguagesByShebang()_TOTAL 5 0.380000 0.000000 0.380000 ( 0.385337)
---------------------------------------------------------- total: 0.380000sec
user system total real
GetLanguagesByShebang()_TOTAL 5 0.380000 0.000000 0.380000 ( 0.385776)
Rehearsal ---------------------------------------------------------------------
GetLanguagesByExtension()_TOTAL 5 0.050000 0.000000 0.050000 ( 0.046575)
------------------------------------------------------------ total: 0.050000sec
user system total real
GetLanguagesByExtension()_TOTAL 5 0.030000 0.000000 0.030000 ( 0.033444)
Rehearsal -------------------------------------------------------------------
GetLanguagesByContent()_TOTAL 5 0.820000 0.000000 0.820000 ( 0.818271)
---------------------------------------------------------- total: 0.820000sec
user system total real
GetLanguagesByContent()_TOTAL 5 0.810000 0.000000 0.810000 ( 0.808595)

View File

@ -1,4 +1,4 @@
#!/bin/sh
go test -run NONE -bench=. -benchtime=120s -timeout=100h >benchmark/output/enry_total.bench && \
mkdir -p benchmark/output && go test -run NONE -bench=. -benchtime=120s -timeout=100h >benchmark/output/enry_total.bench && \
benchmark/linguist-total.rb 5 >benchmark/output/linguist_total.bench