How to calculate execution time in java?

后端 未结 0 1277
自闭症患者
自闭症患者 2020-11-29 04:47

I need to know how long my algorithm`s implementation is executed. What I do:

long m1 = System.currentTimeMillis();
        bm.search(mediumtext, mediumpatter         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题