path walk benchmark