summaryrefslogtreecommitdiffhomepage
path: root/ExpensiveHash.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2016-08-19 18:56:35 -0400
committerJoey Hess <joeyh@joeyh.name>2016-08-19 18:56:35 -0400
commita64a3a9fe6c4db2983982a6dcdca0d86d5550f3d (patch)
tree89fcf4d26e2eec2ca002aa828d09bf9e98ae946b /ExpensiveHash.hs
parent21097d6c785f34384c7089c32ce37f4478607abd (diff)
downloadkeysafe-a64a3a9fe6c4db2983982a6dcdca0d86d5550f3d.tar.gz
more polishing
Diffstat (limited to 'ExpensiveHash.hs')
-rw-r--r--ExpensiveHash.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ExpensiveHash.hs b/ExpensiveHash.hs
index ed7e859..f9a9548 100644
--- a/ExpensiveHash.hs
+++ b/ExpensiveHash.hs
@@ -63,6 +63,8 @@ benchmarkExpensiveHash rounds tunables expected = do
benchmarkTunables :: Tunables -> IO ()
benchmarkTunables tunables = do
+ putStrLn "/proc/cpuinfo:"
+ putStrLn =<< readFile "/proc/cpuinfo"
putStrLn "Note that expected times are for 1 core machine."
putStrLn "If this machine has 2 cores, the actual times should be half the expected times."
putStrLn "Benchmarking 16 rounds of key generation hash..."