├── .gitignore ├── README.md ├── http ├── README.md ├── attoparsec │ ├── .gitignore │ ├── LICENSE │ ├── Setup.hs │ ├── http.cabal │ ├── package.yaml │ ├── src │ │ └── Main.hs │ └── stack.yaml ├── bigger.txt ├── combine-http │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── combine-optimized │ ├── Cargo.toml │ ├── combine-3.0.0-beta.1.bench │ └── src │ │ └── main.rs ├── http-requests.txt ├── httparse │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── joyent_http_parser │ ├── Makefile │ ├── http_parser.c │ ├── http_parser.h │ └── main.c ├── nom-http │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── nom-optimized │ ├── Cargo.toml │ ├── README.md │ └── src │ │ ├── combinators.rs │ │ └── main.rs └── picohttpparser │ ├── Cargo.toml │ └── src │ └── main.rs ├── json ├── README.md ├── apache_builds.json ├── canada.json ├── combine │ ├── .gitignore │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── data.json ├── nom-str │ ├── Cargo.toml │ └── src │ │ ├── combinators.rs │ │ └── main.rs ├── nom │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── peg │ ├── Cargo.toml │ ├── build.rs │ └── src │ │ ├── json.rustpeg │ │ └── main.rs ├── pest │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── pom-char │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── pom │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── serde-bytes │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── serde │ ├── Cargo.toml │ └── src │ │ └── main.rs └── test.json └── mp4 ├── README.md ├── attoparsec ├── LICENSE ├── Setup.hs ├── mp4.cabal ├── src │ └── Main.hs └── stack.yaml ├── bigbuckbunny.mp4 ├── hammer ├── Makefile └── main.c ├── nom-mp4 ├── Cargo.toml └── src │ └── main.rs └── small.mp4 /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/README.md -------------------------------------------------------------------------------- /http/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/README.md -------------------------------------------------------------------------------- /http/attoparsec/.gitignore: -------------------------------------------------------------------------------- 1 | .stack-work 2 | -------------------------------------------------------------------------------- /http/attoparsec/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/attoparsec/LICENSE -------------------------------------------------------------------------------- /http/attoparsec/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /http/attoparsec/http.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/attoparsec/http.cabal -------------------------------------------------------------------------------- /http/attoparsec/package.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/attoparsec/package.yaml -------------------------------------------------------------------------------- /http/attoparsec/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/attoparsec/src/Main.hs -------------------------------------------------------------------------------- /http/attoparsec/stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/attoparsec/stack.yaml -------------------------------------------------------------------------------- /http/bigger.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/bigger.txt -------------------------------------------------------------------------------- /http/combine-http/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/combine-http/Cargo.toml -------------------------------------------------------------------------------- /http/combine-http/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/combine-http/src/main.rs -------------------------------------------------------------------------------- /http/combine-optimized/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/combine-optimized/Cargo.toml -------------------------------------------------------------------------------- /http/combine-optimized/combine-3.0.0-beta.1.bench: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/combine-optimized/combine-3.0.0-beta.1.bench -------------------------------------------------------------------------------- /http/combine-optimized/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/combine-optimized/src/main.rs -------------------------------------------------------------------------------- /http/http-requests.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/http-requests.txt -------------------------------------------------------------------------------- /http/httparse/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/httparse/Cargo.toml -------------------------------------------------------------------------------- /http/httparse/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/httparse/src/main.rs -------------------------------------------------------------------------------- /http/joyent_http_parser/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/joyent_http_parser/Makefile -------------------------------------------------------------------------------- /http/joyent_http_parser/http_parser.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/joyent_http_parser/http_parser.c -------------------------------------------------------------------------------- /http/joyent_http_parser/http_parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/joyent_http_parser/http_parser.h -------------------------------------------------------------------------------- /http/joyent_http_parser/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/joyent_http_parser/main.c -------------------------------------------------------------------------------- /http/nom-http/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/nom-http/Cargo.toml -------------------------------------------------------------------------------- /http/nom-http/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/nom-http/src/main.rs -------------------------------------------------------------------------------- /http/nom-optimized/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/nom-optimized/Cargo.toml -------------------------------------------------------------------------------- /http/nom-optimized/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/nom-optimized/README.md -------------------------------------------------------------------------------- /http/nom-optimized/src/combinators.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/nom-optimized/src/combinators.rs -------------------------------------------------------------------------------- /http/nom-optimized/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/nom-optimized/src/main.rs -------------------------------------------------------------------------------- /http/picohttpparser/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/picohttpparser/Cargo.toml -------------------------------------------------------------------------------- /http/picohttpparser/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/http/picohttpparser/src/main.rs -------------------------------------------------------------------------------- /json/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/README.md -------------------------------------------------------------------------------- /json/apache_builds.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/apache_builds.json -------------------------------------------------------------------------------- /json/canada.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/canada.json -------------------------------------------------------------------------------- /json/combine/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | -------------------------------------------------------------------------------- /json/combine/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/combine/Cargo.toml -------------------------------------------------------------------------------- /json/combine/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/combine/src/main.rs -------------------------------------------------------------------------------- /json/data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/data.json -------------------------------------------------------------------------------- /json/nom-str/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/nom-str/Cargo.toml -------------------------------------------------------------------------------- /json/nom-str/src/combinators.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/nom-str/src/combinators.rs -------------------------------------------------------------------------------- /json/nom-str/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/nom-str/src/main.rs -------------------------------------------------------------------------------- /json/nom/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/nom/Cargo.toml -------------------------------------------------------------------------------- /json/nom/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/nom/src/main.rs -------------------------------------------------------------------------------- /json/peg/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/peg/Cargo.toml -------------------------------------------------------------------------------- /json/peg/build.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/peg/build.rs -------------------------------------------------------------------------------- /json/peg/src/json.rustpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/peg/src/json.rustpeg -------------------------------------------------------------------------------- /json/peg/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/peg/src/main.rs -------------------------------------------------------------------------------- /json/pest/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/pest/Cargo.toml -------------------------------------------------------------------------------- /json/pest/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/pest/src/main.rs -------------------------------------------------------------------------------- /json/pom-char/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/pom-char/Cargo.toml -------------------------------------------------------------------------------- /json/pom-char/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/pom-char/src/main.rs -------------------------------------------------------------------------------- /json/pom/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/pom/Cargo.toml -------------------------------------------------------------------------------- /json/pom/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/pom/src/main.rs -------------------------------------------------------------------------------- /json/serde-bytes/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/serde-bytes/Cargo.toml -------------------------------------------------------------------------------- /json/serde-bytes/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/serde-bytes/src/main.rs -------------------------------------------------------------------------------- /json/serde/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/serde/Cargo.toml -------------------------------------------------------------------------------- /json/serde/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/serde/src/main.rs -------------------------------------------------------------------------------- /json/test.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/json/test.json -------------------------------------------------------------------------------- /mp4/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/README.md -------------------------------------------------------------------------------- /mp4/attoparsec/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/attoparsec/LICENSE -------------------------------------------------------------------------------- /mp4/attoparsec/Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /mp4/attoparsec/mp4.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/attoparsec/mp4.cabal -------------------------------------------------------------------------------- /mp4/attoparsec/src/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/attoparsec/src/Main.hs -------------------------------------------------------------------------------- /mp4/attoparsec/stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/attoparsec/stack.yaml -------------------------------------------------------------------------------- /mp4/bigbuckbunny.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/bigbuckbunny.mp4 -------------------------------------------------------------------------------- /mp4/hammer/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/hammer/Makefile -------------------------------------------------------------------------------- /mp4/hammer/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/hammer/main.c -------------------------------------------------------------------------------- /mp4/nom-mp4/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/nom-mp4/Cargo.toml -------------------------------------------------------------------------------- /mp4/nom-mp4/src/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/nom-mp4/src/main.rs -------------------------------------------------------------------------------- /mp4/small.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rust-bakery/parser_benchmarks/HEAD/mp4/small.mp4 --------------------------------------------------------------------------------