summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-02-15 14:59:18 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-02-15 14:59:18 -0400
commit3fa846bc27525a88ed0f0f463a45d212a583e005 (patch)
tree74a558e4259fe40c685da9f2d9d62c323da09f82
parente37bfb23868d4c2c1ba56e1b3c8cf6ac8290575d (diff)
parent116fb4683ca68c57d7151cd0724b5d6ec2466296 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
-rw-r--r--doc/todo/make_annex_info_more_efficient/comment_3_c022caab61061b1f77b78485089a9052._comment18
-rw-r--r--doc/todo/make_annex_info_more_efficient/comment_4_923dd7c22920b389488ca2625225164c._comment7
2 files changed, 25 insertions, 0 deletions
diff --git a/doc/todo/make_annex_info_more_efficient/comment_3_c022caab61061b1f77b78485089a9052._comment b/doc/todo/make_annex_info_more_efficient/comment_3_c022caab61061b1f77b78485089a9052._comment
new file mode 100644
index 000000000..6bea4c6a6
--- /dev/null
+++ b/doc/todo/make_annex_info_more_efficient/comment_3_c022caab61061b1f77b78485089a9052._comment
@@ -0,0 +1,18 @@
+[[!comment format=mdwn
+ username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4"
+ subject="comment 3"
+ date="2016-02-15T17:02:59Z"
+ content="""
+yeap, saw fast but it is kinda of limited use. doesn't even go through git-annex branch to report amount of storage occupied. I didn't check but \"working tree\" is probably a current checked out branch, and that is why requires traversal and thus slow. What is often also desired to know what is the total number/size of annexed files I have locally in any given annex. So something along of 'du -scm .git/annex/objects' (but via info in git-annex branch instead). May be that could be included in the --fast portion?
+
+as for disk-bound: in my case /tmp is in ram, there is no disk activities, git-annex is 100% (1 core) busy, FWIW:
+
+[[!format sh \"\"\"
+ Command being timed: \"git annex info\"
+ User time (seconds): 27.69
+ System time (seconds): 0.68
+ Percent of CPU this job got: 99%
+ Elapsed (wall clock) time (h:mm:ss or m:ss): 0:28.42
+\"\"\"]]
+
+"""]]
diff --git a/doc/todo/make_annex_info_more_efficient/comment_4_923dd7c22920b389488ca2625225164c._comment b/doc/todo/make_annex_info_more_efficient/comment_4_923dd7c22920b389488ca2625225164c._comment
new file mode 100644
index 000000000..54ecf5aa8
--- /dev/null
+++ b/doc/todo/make_annex_info_more_efficient/comment_4_923dd7c22920b389488ca2625225164c._comment
@@ -0,0 +1,7 @@
+[[!comment format=mdwn
+ username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4"
+ subject="comment 4"
+ date="2016-02-15T17:05:08Z"
+ content="""
+FWIW the acctual git ls-tree command annex invokes takes 0.01 sec ;)
+"""]]