mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-10 13:32:24 +00:00
added files with local execution results
This commit is contained in:
parent
8d91dc7be8
commit
e4fa0067b3
6
benchmark/csv/enry-distribution.csv
Normal file
6
benchmark/csv/enry-distribution.csv
Normal 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
|
|
12874
benchmark/csv/enry-samples.csv
Normal file
12874
benchmark/csv/enry-samples.csv
Normal file
File diff suppressed because it is too large
Load Diff
8
benchmark/csv/enry-total.csv
Normal file
8
benchmark/csv/enry-total.csv
Normal 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
|
|
6
benchmark/csv/linguist-distribution.csv
Normal file
6
benchmark/csv/linguist-distribution.csv
Normal 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
|
|
12874
benchmark/csv/linguist-samples.csv
Normal file
12874
benchmark/csv/linguist-samples.csv
Normal file
File diff suppressed because it is too large
Load Diff
8
benchmark/csv/linguist-total.csv
Normal file
8
benchmark/csv/linguist-total.csv
Normal 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
|
|
BIN
benchmark/histogram/distribution.jpg
Normal file
BIN
benchmark/histogram/distribution.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 143 KiB |
12875
benchmark/output/enry_samples.bench
Normal file
12875
benchmark/output/enry_samples.bench
Normal file
File diff suppressed because it is too large
Load Diff
9
benchmark/output/enry_total.bench
Normal file
9
benchmark/output/enry_total.bench
Normal 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
|
77238
benchmark/output/linguist_samples.bench
Normal file
77238
benchmark/output/linguist_samples.bench
Normal file
File diff suppressed because it is too large
Load Diff
42
benchmark/output/linguist_total.bench
Normal file
42
benchmark/output/linguist_total.bench
Normal 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)
|
9
benchmark/soft-hard-info.txt
Normal file
9
benchmark/soft-hard-info.txt
Normal 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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user