PolMine / polmineR

R-package for text mining with the Corpus Workbench (CWB) as backend
48 stars 9 forks source link

long-running examples #273

Closed ablaette closed 10 months ago

ablaette commented 10 months ago

Debian checks report:

user system elapsed
phrases-class 12.674 0.392 1.052
polmineR-package 1.670 0.055 0.108 15.972
corpus-class 2.621 0.075 0.175 15.406
size-method 1.984 0.031 0.138 14.601
ll 1.564 0.028 0.110 14.473
hits 1.662 0.049 0.123 13.911
context-method 2.044 0.112 0.157 13.732
ngrams 1.757 0.053 0.133 13.609
features 4.500 0.101 0.363 12.675
phrases-class 12.674 0.392 1.052 12.420
kwic-class 2.851 0.125 0.245 12.147
textstat-class 2.440 0.042 0.212 11.708
bundle 2.677 0.104 0.248 11.214
cooccurrences 2.345 0.076 0.218 11.106
kwic 4.017 0.104 0.415 9.930
count-method 2.225 0.076 0.249 9.241
context-class 2.358 0.064 0.272 8.904
dispersion-method 2.073 0.065 0.261 8.192
count_class 1.367 0.080 0.185 7.822
html-method 2.337 0.061 0.372 6.446
decode 4.703 0.077 1.290 3.705
subcorpus_bundle 1.391 0.020 0.387 3.646
subset 2.641 0.092 1.021 2.677
ablaette commented 10 months ago

Locally, I use this snippet to inspect the timing of running examples.

library(dplyr)
library(readr)

foo <- read_tsv(file = "~/Lab/github/polmineR.Rcheck/polmineR-Ex.timings") %>% 
  arrange(desc(elapsed)) %>% 
  View()