monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Wishlist: automate ancestors --depth


From: Henry Nestler
Subject: [Monotone-devel] Wishlist: automate ancestors --depth
Date: Wed, 29 Jun 2005 11:00:47 +0200
User-agent: Mozilla Thunderbird 0.6 (Windows/20040502)

Hello!

Have not found any param to limit the depth for "automate ancestors". I'm only interesting the last ~20...~50 of over 1746 revisions.

A call "automate ancestors --branch=net.venge.monotone need" runs ~20 second. A self made script function do this in 6 Seconds or less.

# Internal function for "automate ancestors" with depth limit. Speedup.
#    real    user      sys
# 19.925s  6.780s  13.030s  automate ancestors (net.venge.monotone)
#  6.067s  2.920s   3.120s  automate parents as loop, depth 30
#  4.226s  2.280s   1.910s  automate parents as loop, depth 20
#  1.384s  0.680s   0.700s  automate parents as loop, depth 10

See into contrib/mtbrowse.sh, function do_automate_ancestors_depth  ;-)

Henry





reply via email to

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