Russian article about Bazaar
Andrew Voznytsa
andrew.voznytsa at gmail.com
Wed Oct 31 09:45:28 GMT 2007
You may write trivial application like (C-like Win32-API-like pseudo code):
main(argc, argv){
StartTime = GetTickCount();
hProcess = CreateProcess(argv[0] /* executable to run */,,,,argc - 1, argv +
1,,,,);
WaitForSingleObject(hProcess);
RunTime = GetTickCount() - StartTime;
printf(RunTime / 1000.0);
return GetExitCodeProcess(hProcess);
}
And then simply run "<your app> <app to measure> [<app arg0..N>]"
I wrote something like some time ago while evaluating bzr. But unfortunately
sources seem to be deleted.
Best regards,
Andrew Voznytsa
> -----Original Message-----
> From: bazaar-bounces at lists.canonical.com [mailto:bazaar-
> bounces at lists.canonical.com] On Behalf Of Alexander Belchenko
> Sent: Tuesday, October 30, 2007 10:59 PM
> To: Robert Collins
> Cc: Bazaar mailing list
> Subject: Re: Russian article about Bazaar
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Robert Collins пишет:
> > On Tue, 2007-10-30 at 20:29 +0200, Alexander Belchenko wrote:
> >> There are also commentaries from different ukranian and russian
> >> developers,
> >> but the tone is mostly negative about Bazaar speed.
> >> And most people say: "hg is faster; hg is better;
> >> what's difference anyway between hg and bzr?"
> >
> > It would be good to get them playing with packs.
> >
> > hg *was* faster at everything; we're now faster (for me) for a number of
> > things such as commit, and as folk keep pushing our infrastructure
> > improvements out to each command this will improve further.
> >
> > Are you asking about the difference, or are the people commenting
> > asking?
>
> One man asks how to measure execution time on Windows.
> I know only about ProcessMonitor (from Mark Russinovich) [1]
> but it seems it slow down bzr execution (or all processes execution?)
> very much. Or may be just invalidate disk cache?..
> Is there another options?
>
> [1]
> http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/processm
> onitor.mspx
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHJ5sVzYr338mxwCURAmZjAKCId2TXo5k18VSEKT9BsWWL04Q4BQCffVmO
> XqwUwylWqEMH3o4zyaZKD7c=
> =X30s
> -----END PGP SIGNATURE-----
More information about the bazaar
mailing list