Merging schema xml with data xml with Java

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bonjo
    New Member
    • Oct 2013
    • 12

    #16
    Well, I didnt do much, just used System.nanoTime () to measure the difference.
    so I did:
    Code:
    sum = 0;
    and repeated 1000 times:
    Code:
    startTime = System.nanoTime();
    **operation**
    endTime = System.nanoTime();
    sum += (endTime - startTime)/1e9;
    and at the end, the average time is
    Code:
    sum/1000

    Comment

    Working...