Leveldb response times

@juliangruber Please review. I'll add tests if this is ok.