This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
87
unikernel/duniverse/bstr/bench/dune
Normal file
87
unikernel/duniverse/bstr/bench/dune
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
(executable
|
||||
(name sub)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(libraries slice.bstr bstr cstruct bechamel bechamel-js))
|
||||
|
||||
(rule
|
||||
(targets sub.json)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(action
|
||||
(with-stdout-to
|
||||
%{targets}
|
||||
(run ./sub.exe))))
|
||||
|
||||
(rule
|
||||
(targets sub.html)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(action
|
||||
(system "%{bin:bechamel-html} < %{dep:sub.json} > %{targets}")))
|
||||
|
||||
(executable
|
||||
(name blit)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(libraries bstr cstruct bechamel bechamel-js))
|
||||
|
||||
(rule
|
||||
(targets blit.json)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(action
|
||||
(with-stdout-to
|
||||
%{targets}
|
||||
(run ./blit.exe))))
|
||||
|
||||
(rule
|
||||
(targets blit.html)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(action
|
||||
(system "%{bin:bechamel-html} < %{dep:blit.json} > %{targets}")))
|
||||
|
||||
(executable
|
||||
(name equal)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(libraries base64 slice.bstr bstr cstruct bigstringaf bechamel bechamel-js))
|
||||
|
||||
(rule
|
||||
(targets equal.json)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(action
|
||||
(with-stdout-to
|
||||
%{targets}
|
||||
(run ./equal.exe))))
|
||||
|
||||
(rule
|
||||
(targets equal.html)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(action
|
||||
(system "%{bin:bechamel-html} < %{dep:equal.json} > %{targets}")))
|
||||
|
||||
(executable
|
||||
(name contains)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(libraries slice.bstr base64 bigstringaf bstr cstruct bechamel bechamel-js))
|
||||
|
||||
(rule
|
||||
(targets contains.json)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(action
|
||||
(with-stdout-to
|
||||
%{targets}
|
||||
(run ./contains.exe))))
|
||||
|
||||
(rule
|
||||
(targets contains.html)
|
||||
(enabled_if
|
||||
(= %{profile} benchmark))
|
||||
(action
|
||||
(system "%{bin:bechamel-html} < %{dep:contains.json} > %{targets}")))
|
||||
Loading…
Add table
Add a link
Reference in a new issue