conch-parser offers an efficient parser for shell programs. It is completely agnostic to the AST it produces by allowing the caller to hook into the AST generation.
I have not benched this at all, nor is my intention to build the fastest shell parser out there. Project goals are to be efficient, flexible, and reusible by others. Hope you find it useful!