-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #166 from tmcgilchrist/benchmark
Setup uri-bench to build benchmarking code.
- Loading branch information
Showing
6 changed files
with
62 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
(executable | ||
(name fuzz) | ||
(libraries uri uri-re uri-sexp crowbar fmt)) | ||
|
||
(alias | ||
(name fuzz) | ||
(deps fuzz.exe (source_tree input)) | ||
(action (run | ||
timeout --preserve-status 50m | ||
bun -v --input=input --output=output -s | ||
-- ./fuzz.exe))) | ||
(tests | ||
(names fuzz) | ||
(package uri) | ||
(libraries uri uri-re crowbar) | ||
(deps (source_tree input))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
authors: ["Anil Madhavapeddy" "David Sheets" "Rudi Grinberg"] | ||
license: "ISC" | ||
tags: ["url" "uri" "org:mirage" "org:xapi-project"] | ||
homepage: "https://github.com/mirage/ocaml-uri" | ||
bug-reports: "https://github.com/mirage/ocaml-uri/issues" | ||
dev-repo: "git+https://github.com/mirage/ocaml-uri.git" | ||
doc: "https://mirage.github.io/ocaml-uri/" | ||
synopsis: "Benchmarking package for ocaml-uri" | ||
description: """ | ||
This is a benchmarking package for the OCaml implementation of the [RFC3986](http://tools.ietf.org/html/rfc3986) specification for parsing URI or URLs. | ||
""" | ||
depends: [ | ||
"ocaml" {>= "4.04.0"} | ||
"dune" {>= "1.2.0"} | ||
"uri" {= version} | ||
"core_bench" {with-test & >= "v0.14.0"} | ||
"core_unix" {with-test & >= "v0.14.0"} | ||
] | ||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters