monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Automate stdio chunk size


From: Thomas Moschny
Subject: [Monotone-devel] Automate stdio chunk size
Date: Mon, 10 Jul 2006 13:29:14 +0200
User-agent: KMail/1.9.3

Hi all,

Currently, the automation stdio interface emits all data in chunks that do not 
exceed 1024 byte in size. This value was initially choosen somewhat randomly, 
but seems to be way too low.

Frontends like ViewMTN, Lara, Guitone, or TracMonotone make heavy use of the 
automation interface and thus could benefit from an increased chunk size.

For example, after setting the chunk size to 1M, reading mtn's ChangeLog 
through 'automate get_file' took roughly 1/10 of the time it took before.

So are there any objections against setting constants::automate_stdio_size to, 
say, 1MB? Is there anyone('s application) depending on smaller chunks? Should 
we increase the automate format version number?

Regards,
Thomas

-- 
Thomas Moschny  <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]