added files with local execution results

This commit is contained in:
Manuel Carmona 2017-06-28 13:05:12 +02:00
parent 8d91dc7be8
commit e4fa0067b3
12 changed files with 115949 additions and 0 deletions

View File

@ -0,0 +1,6 @@
timeInterval,enry,numberOfFiles
1us-10us,enry,96
10us-100us,enry,1244
100us-1ms,enry,321
1ms-10ms,enry,135
10ms-100ms,enry,43
1 timeInterval enry numberOfFiles
2 1us-10us enry 96
3 10us-100us enry 1244
4 100us-1ms enry 321
5 1ms-10ms enry 135
6 10ms-100ms enry 43

12874
benchmark/csv/enry-samples.csv Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
function,tool,iterations,ns/op
GetLanguage(),enry,100,1915861259
Classify(),enry,5,39977943775
GetLanguagesByModeline(),enry,1000,196571071
GetLanguagesByFilename(),enry,2000000,89774
GetLanguagesByShebang(),enry,100000,1892569
GetLanguagesByExtension(),enry,200000,921160
GetLanguagesByContent(),enry,1000,286159159
1 function tool iterations ns/op
2 GetLanguage() enry 100 1915861259
3 Classify() enry 5 39977943775
4 GetLanguagesByModeline() enry 1000 196571071
5 GetLanguagesByFilename() enry 2000000 89774
6 GetLanguagesByShebang() enry 100000 1892569
7 GetLanguagesByExtension() enry 200000 921160
8 GetLanguagesByContent() enry 1000 286159159

View File

@ -0,0 +1,6 @@
timeInterval,linguist,numberOfFiles
1us-10us,linguist,0
10us-100us,linguist,74
100us-1ms,linguist,920
1ms-10ms,linguist,788
10ms-100ms,linguist,57
1 timeInterval linguist numberOfFiles
2 1us-10us linguist 0
3 10us-100us linguist 74
4 100us-1ms linguist 920
5 1ms-10ms linguist 788
6 10ms-100ms linguist 57

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
function,tool,iterations,ns/op
GetLanguage(),linguist,5,3979096800
Classify(),linguist,5,178253431800
GetLanguagesByModeline(),linguist,5,2582204000
GetLanguagesByFilename(),linguist,5,2688800
GetLanguagesByShebang(),linguist,5,77155200
GetLanguagesByExtension(),linguist,5,6688800
GetLanguagesByContent(),linguist,5,161719000
1 function tool iterations ns/op
2 GetLanguage() linguist 5 3979096800
3 Classify() linguist 5 178253431800
4 GetLanguagesByModeline() linguist 5 2582204000
5 GetLanguagesByFilename() linguist 5 2688800
6 GetLanguagesByShebang() linguist 5 77155200
7 GetLanguagesByExtension() linguist 5 6688800
8 GetLanguagesByContent() linguist 5 161719000

Binary file not shown.

After

Width:  |  Height:  |  Size: 143 KiB

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,9 @@
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

@ -0,0 +1,42 @@
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

@ -0,0 +1,9 @@
# Hardware and software used to run benchmarks
Dell XPS 9360
Linux 4.11.6-3-ARCH #1 SMP PREEMPT Thu Jun 22 12:21:46 CEST 2017 x86_64
go version go1.8.3 linux/amd64
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]
github/linguist/samples commit: d5c8db3fb91963c4b2762ca2ea2ff7cfac109f68