Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to compute delta time and lines per second when reinventing findstr/find/grep

 
Siegfried Heintze
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

This fragment of code is not working with Groovy 1.9.2-beta. The "/" seems to be causing the problem:


I know, my variable names need some work. jj is the number of lines. start is this start time and end is the end time. Computing the delta time works great. How do I compute lines/second?
Thanks
Siegfried

Here is the stack trace:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic