Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2013-09-23 |
|\ | |||
* | | devblog | Joey Hess | 2013-09-23 |
| | | |||
| * | Added a comment | http://joeyh.name/ | 2013-09-23 |
| | | |||
| * | (no commit message) | https://www.google.com/accounts/o8/id?id=AItOawknwkXgi8SnK4QT32ANl3GMKvFLyQGeHqo | 2013-09-23 |
|/ | |||
* | move stuff into .android | Joey Hess | 2013-09-23 |
| | | | | This simplifies my schroot bind mounts | ||
* | Merge branch 'android-rebuild' | Joey Hess | 2013-09-23 |
|\ | |||
| * | java needs /proc mounted in the chroot? why am I surprised? | Joey Hess | 2013-09-23 |
| | | |||
| * | env sanitization | Joey Hess | 2013-09-23 |
| | | |||
| * | fix cd | Joey Hess | 2013-09-23 |
| | | |||
* | | update | Joey Hess | 2013-09-22 |
| | | |||
| * | work around stupid licence prompt | Joey Hess | 2013-09-22 |
| | | |||
* | | blog the last 3 days and nights | Joey Hess | 2013-09-22 |
| | | |||
* | | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2013-09-22 |
|\ \ | |||
| | * | pin term | Joey Hess | 2013-09-22 |
| | | | |||
| | * | Merge branch 'master' into android-rebuild | Joey Hess | 2013-09-22 |
| | |\ | |_|/ |/| | | |||
| | * | need gettext to build gnupg | Joey Hess | 2013-09-22 |
| | | | |||
| | * | pin rsync | Joey Hess | 2013-09-22 |
| | | | |||
| | * | grr | Joey Hess | 2013-09-22 |
| | | | |||
| | * | pin openssh | Joey Hess | 2013-09-22 |
| | | | |||
| | * | fix clones | Joey Hess | 2013-09-22 |
| | | | |||
| | * | working on getting make androidapp to work now | Joey Hess | 2013-09-22 |
| | | | |||
* | | | explicit cryptohash dep | Joey Hess | 2013-09-22 |
| | | | |||
| | * | oops | Joey Hess | 2013-09-22 |
| | | | |||
| | * | fix cd | Joey Hess | 2013-09-22 |
| | | | |||
| * | | Added a comment | https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8 | 2013-09-23 |
| | | | |||
| | * | one more EvilSplicer hack for the night | Joey Hess | 2013-09-22 |
| | | | |||
* | | | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2013-09-22 |
|\| | | |||
| | * | Merge remote-tracking branch 'orca/android-rebuild' into android-rebuild | Joey Hess | 2013-09-22 |
| | |\ | |||
| | | * | Merge remote-tracking branch 'in/android-rebuild' into android-rebuild | Joey Hess | 2013-09-23 |
| | | |\ | |||
| | | * \ | Merge remote-tracking branch 'in/master' into android-rebuild | Joey Hess | 2013-09-23 |
| | | |\ \ | |||
| | | | | * | fix unix-time | Joey Hess | 2013-09-23 |
| | | | | | | |||
* | | | | | | Use cryptohash rather than SHA for hashing. | Joey Hess | 2013-09-22 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a massive win on OSX, which doesn't have a sha256sum normally. Only use external hash commands when the file is > 1 mb, since cryptohash is quite close to them in speed. SHA is still used to calculate HMACs. I don't quite understand cryptohash's API for those. Used the following benchmark to arrive at the 1 mb number. 1 mb file: benchmarking sha256/internal mean: 13.86696 ms, lb 13.83010 ms, ub 13.93453 ms, ci 0.950 std dev: 249.3235 us, lb 162.0448 us, ub 458.1744 us, ci 0.950 found 5 outliers among 100 samples (5.0%) 4 (4.0%) high mild 1 (1.0%) high severe variance introduced by outliers: 10.415% variance is moderately inflated by outliers benchmarking sha256/external mean: 14.20670 ms, lb 14.17237 ms, ub 14.27004 ms, ci 0.950 std dev: 230.5448 us, lb 150.7310 us, ub 427.6068 us, ci 0.950 found 3 outliers among 100 samples (3.0%) 2 (2.0%) high mild 1 (1.0%) high severe 2 mb file: benchmarking sha256/internal mean: 26.44270 ms, lb 26.23701 ms, ub 26.63414 ms, ci 0.950 std dev: 1.012303 ms, lb 925.8921 us, ub 1.122267 ms, ci 0.950 variance introduced by outliers: 35.540% variance is moderately inflated by outliers benchmarking sha256/external mean: 26.84521 ms, lb 26.77644 ms, ub 26.91433 ms, ci 0.950 std dev: 347.7867 us, lb 210.6283 us, ub 571.3351 us, ci 0.950 found 6 outliers among 100 samples (6.0%) import Crypto.Hash import Data.ByteString.Lazy as L import Criterion.Main import Common testfile :: FilePath testfile = "/run/shm/data" -- on ram disk main = defaultMain [ bgroup "sha256" [ bench "internal" $ whnfIO internal , bench "external" $ whnfIO external ] ] sha256 :: L.ByteString -> Digest SHA256 sha256 = hashlazy internal :: IO String internal = show . sha256 <$> L.readFile testfile external :: IO String external = do s <- readProcess "sha256sum" [testfile] return $ fst $ separate (== ' ') s | ||
| | * | | | | cabal install from local git-annex cabal file | Joey Hess | 2013-09-22 |
| | | |_|/ | | |/| | | |||
| * | | | | Added a comment | John | 2013-09-22 |
| | | | | | |||
| | * | | | reorder | Joey Hess | 2013-09-22 |
| | | | | | |||
| | * | | | add | Joey Hess | 2013-09-22 |
| | | | | | |||
| | * | | | hamlet requires shapespeare | Joey Hess | 2013-09-22 |
| | | | | | | | | | | | | | | | | | | | | also, disable forced reinstalls, which hide such problems | ||
| * | | | | Added a comment | https://me.yahoo.com/a/FHnTlSBo1eCGJRwueeKeB6.RCaPbGMPr5jxx8A--#ce0d8 | 2013-09-22 |
|/ / / / | |||
* | | | | Merge branch 'master' of ssh://git-annex.branchable.com | Joey Hess | 2013-09-22 |
|\ \ \ \ | | |_|/ | |/| | | |||
| | * | | set git config stuff so it can commit (hate hate hate that) | Joey Hess | 2013-09-22 |
| | | | | |||
* | | | | tip about offline archive drives | Joey Hess | 2013-09-22 |
| | | | | |||
| | * | | cd to work dir | Joey Hess | 2013-09-22 |
| | | | | |||
| | * | | fix broken EvilSplicer change | Joey Hess | 2013-09-22 |
| | |/ | |||
| * | | Added a comment | https://www.google.com/accounts/o8/id?id=AItOawkSbvo_NbY-ev1VKtzwo7nEqUmvRO6rXGA | 2013-09-22 |
| | | | |||
| | * | cd to home | Joey Hess | 2013-09-22 |
| | | | |||
| | * | Merge branch 'android-rebuild' of git://git-annex.branchable.com into ↵ | Joey Hess | 2013-09-22 |
| | |\ | | | | | | | | | | | | | android-rebuild | ||
| | * | | successfully builds (except XMPP) | Joey Hess | 2013-09-22 |
| | | | | |||
| | | * | create home dir | Joey Hess | 2013-09-22 |
| | | | | |||
| | | * | apt-get clean | Joey Hess | 2013-09-22 |
| | | | | |||
| | | * | umount /proc | Joey Hess | 2013-09-22 |
| | | | |