Notes on fdatasync for the test suite
vila
vila+bzr at canonical.com
Fri Sep 2 14:26:44 UTC 2011
Thanks !
>>>>> Eric Siegerman <lists08-bzr at davor.org> writes:
> On Fri, 2011-09-02 at 11:28 +0200, vila wrote:
>> patch.1314909400.log ==> 2011-09-01 22:36:40
> That looks like a UNIX time_t; if so, it's in UTC,
That was my understanding.
> which would give a time of: Thu Sep 1 20:36:40 2011
And this was enough to made me realize the bug in my script (I used
datetime.fromtimestamp instead of datetime.utcfromtimestamp), doh !
> which is plausible, given: start: 2011-09-01 21:10:23
So, with all dates/times now in UTC:
$ for p in patch.1314[89]*.log ; do pqm-time.py $p ; done
2011-09-01 00:25:12: duration:
2011-09-01 00:25:17: duration:
2011-09-01 00:25:23: duration:
2011-09-01 05:07:47: duration: 2:06:56 start: 2011-09-01 10:57:30, end: 2011-09-01 13:04:26
2011-09-01 09:03:19: duration: 2:09:02 start: 2011-09-01 13:07:19, end: 2011-09-01 15:16:21
2011-09-01 11:03:31: duration: 2:53:02 start: 2011-09-01 15:18:26, end: 2011-09-01 18:11:28
2011-09-01 11:03:34: duration: 2:07:47 start: 2011-09-01 18:13:16, end: 2011-09-01 20:21:03
2011-09-01 16:26:41: duration:
2011-09-01 18:04:31: duration:
2011-09-01 20:36:40: duration: 2:04:57 start: 2011-09-01 21:10:23, end: 2011-09-01 23:15:20
2011-09-02 06:23:20: duration: 2:07:42 start: 2011-09-02 06:27:01, end: 2011-09-02 08:34:43
2011-09-02 07:39:42: duration: 2:03:18 start: 2011-09-02 08:37:33, end: 2011-09-02 10:40:51
2011-09-02 07:39:54: duration: 2:03:05 start: 2011-09-02 10:42:26, end: 2011-09-02 12:45:31
And all lines now make sense !
And with the collected data so far, we're at 2h/patch with one spike
at ~3h for selftest only.
> - Eric (whose current contract is in a Mercurial shop, which is
> why I've pretty much vanished from this list...)
Too bad, come back quickly ;)
Vincent
More information about the bazaar
mailing list