bench: update enry v1.6.7 vs linguist v7.1.3
Signed-off-by: Alexander Bezzubov <bzz@apache.org>
This commit is contained in:
parent
db21cd6557
commit
890afc400f
@ -232,7 +232,7 @@ As benchmarks depend on Ruby and Github-Linguist gem make sure you have:
|
||||
If you want to reproduce the same benchmarks as reported above:
|
||||
- Make sure all [dependencies](#benchmark-dependencies) are installed
|
||||
- Install [gnuplot](http://gnuplot.info) (in order to plot the histogram)
|
||||
- Run `$ benchmarks/run.sh`
|
||||
- Run `ENRY_TEST_REPO=.linguist benchmarks/run.sh` (takes ~15h)
|
||||
|
||||
It will run the benchmarks for enry and linguist, parse the output, create csv files and plot the histogram. This takes some time.
|
||||
|
||||
|
@ -1,6 +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
|
||||
1us-10us,enry,83
|
||||
10us-100us,enry,1341
|
||||
100us-1ms,enry,314
|
||||
1ms-10ms,enry,146
|
||||
10ms-100ms,enry,48
|
||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,8 +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
|
||||
GetLanguage(),enry,100,2333748307
|
||||
Classify(),enry,3,53842505853
|
||||
GetLanguagesByModeline(),enry,1000,228234491
|
||||
GetLanguagesByFilename(),enry,1000000,124782
|
||||
GetLanguagesByShebang(),enry,100000,2339138
|
||||
GetLanguagesByExtension(),enry,200000,1110007
|
||||
GetLanguagesByContent(),enry,500,342358978
|
||||
|
|
@ -1,6 +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
|
||||
10us-100us,linguist,120
|
||||
100us-1ms,linguist,1070
|
||||
1ms-10ms,linguist,816
|
||||
10ms-100ms,linguist,71
|
||||
|
|
File diff suppressed because it is too large
Load Diff
@ -1,8 +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
|
||||
GetLanguage(),linguist,5,3822076000
|
||||
Classify(),linguist,5,329660597600
|
||||
GetLanguagesByModeline(),linguist,5,2770912600
|
||||
GetLanguagesByFilename(),linguist,5,34159000
|
||||
GetLanguagesByShebang(),linguist,5,159317200
|
||||
GetLanguagesByExtension(),linguist,5,354929800
|
||||
GetLanguagesByContent(),linguist,5,3881611000
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
@ -1,9 +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
|
||||
MacBookPro13,1
|
||||
Darwin Kernel Version 16.7.0: Tue Jan 30 11:27:06 PST 2018; root:xnu-3789.73.11~1/RELEASE_X86_64 x86_64 i386
|
||||
go version go1.10.3 darwin/amd64
|
||||
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin16]
|
||||
|
||||
github/linguist v7.1.3 commit: e761f9b013e5b61161481fcb898b59721ee40e3d
|
||||
src-d/enry v1.6.7 commit: 3d356c70ae322f41048f74d01c5e8572f5898d34
|
Loading…
Reference in New Issue
Block a user