Re: [PATCH v2] xdiff/xprepare: improve O(n*m) performance in xdl_cleanup_records()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 17, 2011 at 1:21 PM, Jeff King <peff@xxxxxxxx> wrote:
> Wait, what? It was using 0 seconds of user time before, but still taking
> 8.5 seconds? What was it doing? Did you actually warm up your disk cache
> before taking these measurements?

Three runs on the same machine, after a restart.

  $ time git show >/dev/null

  real    0m6.505s
  user    0m0.031s
  sys     0m0.015s

  rctay@TEST-123 /tmp/slono
  $ time git show >/dev/null

  real    0m5.429s
  user    0m0.000s
  sys     0m0.031s

  rctay@TEST-123 /tmp/slono
  $ time git show >/dev/null

  real    0m5.336s
  user    0m0.000s
  sys     0m0.016s

-- 
Cheers,
Ray Chuan
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]