Reworked parser and options for mem benchmark