if (FALSE) {
# How many cores should I use? Maybe ~4
a1 = analyze('~/Downloads/temp60/', cores = 1) # 3:55
a2 = analyze('~/Downloads/temp60/', cores = 2, reportEvery = 100) # 2:30
a3 = analyze('~/Downloads/temp60/', cores = 3, reportEvery = 100) # 1:50
a4 = analyze('~/Downloads/temp60/', cores = 4, reportEvery = 100) # 1:33
a7 = analyze('~/Downloads/temp60/', cores = 7, reportEvery = 100) # 1:29
}
Run the code above in your browser using DataLab