Liking cljdoc? Tell your friends :D

trombi.simulation-util


append-fileclj

(append-file path contents)

Append contents to file at path. The file is created if it doesn't already exist.

Append `contents` to file at `path`. The file is created
if it doesn't already exist.
sourceraw docstring

arg-countclj

(arg-count f)

Determines the number of arguments accepted by the provided function. Avoids reflection, and works with anonymous functions.

Determines the number of arguments accepted by the provided function. Avoids reflection, and
works with anonymous functions.
sourceraw docstring

choose-runnerclj

(choose-runner scenarios concurrency options)
source

clean-resultclj

(clean-result result)
source

create-dirclj

(create-dir dir)
source

create-report-nameclj

(create-report-name simulation-name)

Create a gatling compatible filename for report output: 'SimulationName-Timestamp'

Create a gatling compatible filename for report output: 'SimulationName-Timestamp'
sourceraw docstring

eval-if-neededclj

(eval-if-needed instance-or-symbol)
source

exception->strclj

(exception->str e)

Convert an exception object to a string representation.

Convert an exception object to a string representation.
sourceraw docstring

failure-messageclj

(failure-message ex)

Generates a Gatling-suitable failure message for returned errors. Drops the data from ExceptionInfo structures, as it would be too complex. Drops the class from AssertionError, Exception, ExceptionInfo, and Throwable, as it is not useful. Stringifies the error in all other cases.

Generates a Gatling-suitable failure message for returned errors. Drops the
data from ExceptionInfo structures, as it would be too complex. Drops the
class from AssertionError, Exception, ExceptionInfo, and Throwable, as it is
not useful. Stringifies the error in all other cases.
sourceraw docstring

load-namespaceclj

(load-namespace simulation)
source

log-exceptionclj

(log-exception path e)

Log exception e to file at path.

Log exception `e` to file at `path`.
sourceraw docstring

path-joinclj

(path-join & paths)
source

split-equallyclj

(split-equally size coll)

Split a collection into a vector of (as close as possible) equally sized parts

Split a collection into a vector of (as close as possible) equally sized parts
sourceraw docstring

split-number-equallyclj

(split-number-equally size number)

Split a number into a vector of (as close as possible) equally sized numbers

Split a number into a vector of (as close as possible) equally sized numbers
sourceraw docstring

split-to-bucketsclj

(split-to-buckets ids bucket-sizes)
source

symbol-namespaceclj

(symbol-namespace simulation)
source

timestamp-strclj

(timestamp-str)
source

weighted-scenariosclj

(weighted-scenarios users scenarios)
(weighted-scenarios users rate scenarios)
source

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

× close