Skip to content

Hywan/parser_benchmarks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

105 Commits
 
 
 
 
 
 
 
 

Repository files navigation

parser benchmarks

This repository holds benchmarks comparing various parser libraries:

  • nom, a parser combinators library written in Rust
  • combine, a parser combinators library written in Rust
  • chomp, a parser combinators library written in Rust
  • pest a PEG parser written in Rust
  • hammer a parsers combinators library written in C
  • attoparsec, a parsers combinators library written in Haskell

Along with existing libraries for comparison:

Right now, there are two examples:

  • HTTP request header parsing
  • MP4 filetype atom parsing

The goal of this repository is to gather various parsing solutions and compare them on performance, but also usability (testing how easy it is to write and maintain a parser for complex, real world formats). It is also a good testing ground to see if some techniques might be transferrable from one parsing solution to another.

About

Benchmarks for the nom, a parser combinators library written in Rust

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 72.7%
  • Rust 23.1%
  • Haskell 4.1%
  • Makefile 0.1%