Liking cljdoc? Tell your friends :D

jmh.task

Utilities for jmh-clojure.

Utilities for jmh-clojure.
raw docstring

*files*clj

The default :files that provide the benchmark environment.

The default :files that provide the benchmark environment.
sourceraw docstring

align-columnclj

(align-column col-key sep-width f1 f2 rows)

Update each row by aligning the given tuple key's values in its column: the first to the left and the second to the right.

Update each row by aligning the given tuple key's values in its
column: the first to the left and the second to the right.
sourceraw docstring

expand-rowsclj

(expand-rows row)

Flatten and append nested result map rows.

Flatten and append nested result map rows.
sourceraw docstring

format-optionsclj

The default options for each format.

The default options for each format.
sourceraw docstring

format-statisticsclj

(format-statistics m)

Return a string representing some of the statistical data.

Return a string representing some of the statistical data.
sourceraw docstring

format-tableclj

(format-table cols rows)

Align the given column key values of the rows in a tabular format. Returns a string.

Align the given column key values of the rows in a tabular format.
Returns a string.
sourceraw docstring

globclj

(glob opts pattern)

Return a File seq of paths matching the wildcard pattern.

Return a File seq of paths matching the wildcard pattern.
sourceraw docstring

helpclj

(help _)
source

list-profilersclj

(list-profilers)

Print the available profilers as a table.

Print the available profilers as a table.
sourceraw docstring

mainclj

(main)
(main task-arg)
(main task-arg extra-opts)

Run a jmh task. Accepts an optional command keyword or option map.

Run a jmh task. Accepts an optional command keyword or option map.
sourceraw docstring

merge-environmentclj

(merge-environment opts)

Return the jmh environment map.

Return the jmh environment map.
sourceraw docstring

merge-recursivelyclj

(merge-recursively a b)

Merge two like-values recursively with an appropriate combining fn. If both values are not maps, sets, or collections, return the second.

Merge two like-values recursively with an appropriate combining fn.
If both values are not maps, sets, or collections, return the second.
sourceraw docstring

normalize-optionsclj

(normalize-options opts)

Return the merged options map for the task options.

Return the merged options map for the task options.
sourceraw docstring

normalize-rowclj

(normalize-row row)

Prepare the result map for table display.

Prepare the result map for table display.
sourceraw docstring

pr-str-maxclj

(pr-str-max val)
(pr-str-max val max-width replacement)

Convert val to string via pr-str. If the string is longer than max-width, truncate the middle and replace with replacement.

Convert `val` to string via `pr-str`. If the string is longer than
`max-width`, truncate the middle and replace with `replacement`.
sourceraw docstring

prepare-resultclj

(prepare-result result opts)

Sort and select result keys.

Sort and select result keys.
sourceraw docstring

profilersclj

(profilers _)
source

progress-reporterclj

(progress-reporter out)

Return a fn that will write events to the given Writer object.

Return a fn that will write events to the given Writer object.
sourceraw docstring

reportcljmultimethod

Write the given benchmark results in the specified format.

Write the given benchmark results in the specified format.
sourceraw docstring

result-comparatorclj

(result-comparator xs)

Return a comparator fn that will sort results by the given keys.

Return a comparator fn that will sort results by the given keys.
sourceraw docstring

runclj

(run env)
source

run-benchmarksclj

(run-benchmarks env {dest :output :as opts})

Run the given benchmark environment and options.

Run the given benchmark environment and options.
sourceraw docstring

show-helpclj

(show-help)

Print a general help message

Print a general help message
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close