I need to know how long my algorithm`s implementation is executed. What I do:
long m1 = System.currentTimeMillis(); bm.search(mediumtext, mediumpatter