caliper icon indicating copy to clipboard operation
caliper copied to clipboard

Add support for durations that can specify their metric (eg 1s, 300ms)

Open davidkel opened this issue 2 years ago • 0 comments

Please share the technical limitation of Caliper that you encountered.

Durations are a mixture of seconds for some (eg InvokeOrQueryTimeout) and milliseconds for others eg (interval) so you have to make sure you put the right number in.

Please detail your feature idea that could alleviate the limitation.

As per the excellent suggestion by @aklenik We should look to support people being able to specify the metric of the number, eg s or ms for example and work with that. If no metric is specified then the behaviour should be how it's currently working using something like https://www.npmjs.com/package/parse-duration

Please share some details about your use case if possible, and how the new feature would make Caliper a better performance benchmarking framework.

No response

Please share any suggestions about the new feature's code/configuration API (using formatted YAML segments or pseudo-code).

No response

davidkel avatar Apr 15 '22 13:04 davidkel