Skip to content

{ Tag Archives } benchmark

HSGrep benchmarking

Few days ago, I rewrote sgrep in Haskell. I was curious to know how it compares to grep in term of execution speed. In particular, I was interested to verify that hsgrep scales as O(log n), instead of O(n), with n being the size of the file analyzed. First of all, in order to have [...]

Also tagged ,

md5 vs sha1 in python

If you are interested to know if the myth about MD5 being faster than SHA1 holds for Python, here is the result I got on my box: Result is: MD5 is faster, but only just, in Python 2.7.2. Considering that MD5 is broken, I think I’ll use SHA1…

Also tagged , , ,

trivial terminal speed benchmark

today, while playing with st, I tried a very simple benchmark. here it is: $> time seq -f ‘teeeeeeeeeeeeeeeeeeeeeeeeeeeeeest %g’ 999999 here are the results: xterm: 0m28.508s rxvt: 0m8.568s st: 0m12.082s all the terminals shared the same fonts, but xterm and rxvt had saveLines=1024 set for scrolling purposes, feature that st lacks. being st at [...]

Also tagged , , ,