radashi-org
radashi
BlogDocsChangelog

GitHub Actions run

1 year ago b5c7777 cimbraien:feat/array/mapify pull_request

Compare

Base
Search a run

Head
feat: add `mapify` function
#58
cimbraien:feat/array/mapify
1 year ago
CPU Simulation

Compare
Suggested base runs: •

Benchmarks

with valid input
benchmarks/random/uid.bench.ts::uid
45.2 µs
with item by index
benchmarks/array/replace.bench.ts::replace
32.3 µs
with namespace object
benchmarks/typed/isPlainObject.bench.ts::isPlainObject
21.2 µs
with float
benchmarks/typed/isFloat.bench.ts::isFloat
29.1 µs
with item in a list of objects
benchmarks/array/replace.bench.ts::replace
41.5 µs
with Object.create(null)
benchmarks/typed/isPlainObject.bench.ts::isPlainObject
21.4 µs
with special characters
benchmarks/random/uid.bench.ts::uid
40 µs
with undefined new item
benchmarks/array/replace.bench.ts::replace
18.2 µs
with non-empty array
benchmarks/array/fork.bench.ts::fork
41.8 µs
with complex inputs
benchmarks/array/merge.bench.ts::merge
51.7 µs
with object literal
benchmarks/typed/isPlainObject.bench.ts::isPlainObject
22.4 µs
with numbers and special characters (no split on number)
benchmarks/string/snake.bench.ts::snake
58.5 µs
with array index path
benchmarks/object/get.bench.ts::get
231.7 µs
with valid input
benchmarks/string/capitalize.bench.ts::capitalize
24.1 µs
with default value
benchmarks/object/get.bench.ts::get
41.7 µs
with valid input
benchmarks/object/crush.bench.ts::crush
190.9 µs
with integer
benchmarks/typed/isFloat.bench.ts::isFloat
22.5 µs
with valid input
benchmarks/array/counting.bench.ts::counting
37.9 µs
with non-plain object (Date)
benchmarks/typed/isPlainObject.bench.ts::isPlainObject
23.9 µs
with non-empty array
benchmarks/array/boil.bench.ts::boil
35 µs
with valid input
benchmarks/string/snake.bench.ts::snake
116.1 µs
with non-number value
benchmarks/typed/isFloat.bench.ts::isFloat
19.6 µs
with valid input
benchmarks/random/shuffle.bench.ts::shuffle
219.3 µs
with empty object
benchmarks/typed/isEmpty.bench.ts::isEmpty
44.8 µs
with null
benchmarks/typed/isPlainObject.bench.ts::isPlainObject
14.9 µs
with simple path
benchmarks/object/get.bench.ts::get
124.2 µs
with non-plain object (arguments)
benchmarks/typed/isPlainObject.bench.ts::isPlainObject
42.9 µs
with valid input
benchmarks/string/template.bench.ts::template
46.1 µs
with empty array
benchmarks/array/boil.bench.ts::boil
16.1 µs
with empty string
benchmarks/typed/isEmpty.bench.ts::isEmpty
35.7 µs
with undefined
benchmarks/number/toFloat.bench.ts::toFloat
14.6 µs
with non-empty object
benchmarks/typed/isEmpty.bench.ts::isEmpty
37.8 µs
with undefined nested path and default value
benchmarks/object/get.bench.ts::get
34.9 µs
with two special characters
benchmarks/string/trim.bench.ts::trim
40.9 µs
with list of numbers
benchmarks/array/sum.bench.ts::sum
20.9 µs
with valid input
benchmarks/string/trim.bench.ts::trim
40.3 µs
with descending order
benchmarks/array/sort.bench.ts::sort
46.5 µs
to default precision (0 decimal places)
benchmarks/number/round.bench.ts::round
18.9 µs
with string fill
benchmarks/array/list.bench.ts::list
43.1 µs
with decimal string
benchmarks/typed/isIntString.bench.ts::isIntString
22.1 µs
with custom step
benchmarks/array/list.bench.ts::list
252.5 µs
with string
benchmarks/number/toFloat.bench.ts::toFloat
20 µs
with descending order
benchmarks/array/alphabetical.bench.ts::alphabetical
51.7 µs
with ascending order
benchmarks/array/sort.bench.ts::sort
46.5 µs
with list of objects
benchmarks/array/sum.bench.ts::sum
32.8 µs
with object
benchmarks/object/clone.bench.ts::clone
42.4 µs
with function fill
benchmarks/array/list.bench.ts::list
41.5 µs
with empty object
benchmarks/object/invert.bench.ts::invert
20.9 µs
with list of objects
benchmarks/array/max.bench.ts::max
48.7 µs
with null
benchmarks/typed/isEmpty.bench.ts::isEmpty
14.5 µs
with default step
benchmarks/array/list.bench.ts::list
41.9 µs
with non-empty string
benchmarks/typed/isEmpty.bench.ts::isEmpty
30.4 µs
with very small numbers close to zero
benchmarks/number/round.bench.ts::round
37.8 µs
with key not in object
benchmarks/object/pick.bench.ts::pick
31.9 µs
with custom step
benchmarks/array/range.bench.ts::range
16.8 µs
with out-of-bounds precision
benchmarks/number/round.bench.ts::round
40.6 µs
with list of numbers
benchmarks/array/max.bench.ts::max
28.7 µs
with two empty array inputs
benchmarks/array/merge.bench.ts::merge
18 µs
with non-empty object
benchmarks/object/invert.bench.ts::invert
33.2 µs
with ascending order
benchmarks/array/alphabetical.bench.ts::alphabetical
52 µs
with valid input
benchmarks/object/mapEntries.bench.ts::mapEntries
51.7 µs
with Promise
benchmarks/typed/isPromise.bench.ts::isPromise
22.5 µs
with strings
benchmarks/typed/isEqual.bench.ts::isEqual
126.8 µs
with empty array
benchmarks/array/fork.bench.ts::fork
23.7 µs
with numbers
benchmarks/typed/isEqual.bench.ts::isEqual
119.7 µs
with integer string
benchmarks/typed/isIntString.bench.ts::isIntString
20.4 µs
with empty keys
benchmarks/object/pick.bench.ts::pick
24.9 µs
with valid input
benchmarks/string/pascal.bench.ts::pascal
39.7 µs
with one key not in object
benchmarks/object/pick.bench.ts::pick
34.4 µs
with a specified character
benchmarks/string/trim.bench.ts::trim
36.8 µs
with non-numeric string
benchmarks/typed/isIntString.bench.ts::isIntString
29.5 µs
with default step
benchmarks/array/range.bench.ts::range
16.8 µs
with non-Promise
benchmarks/typed/isPromise.bench.ts::isPromise
27.8 µs
with null
benchmarks/typed/isNumber.bench.ts::isNumber
18.1 µs
with custom value generator
benchmarks/array/range.bench.ts::range
17 µs
with object fill
benchmarks/array/list.bench.ts::list
57 µs
with arrays
benchmarks/typed/isEqual.bench.ts::isEqual
129 µs
without a condition callback
benchmarks/array/select.bench.ts::select
49.6 µs
with non-empty input list
benchmarks/array/select.bench.ts::select
52.2 µs
with index
benchmarks/array/select.bench.ts::select
40.5 µs
with float
benchmarks/typed/isNumber.bench.ts::isNumber
19.2 µs
with object literal
benchmarks/typed/isObject.bench.ts::isObject
18.6 µs
with class instance
benchmarks/typed/isObject.bench.ts::isObject
35.7 µs
with non-empty array
benchmarks/array/sift.bench.ts::sift
28.1 µs
with null
benchmarks/typed/isObject.bench.ts::isObject
14.7 µs
with non-number
benchmarks/typed/isNumber.bench.ts::isNumber
18.3 µs
with empty input list
benchmarks/array/select.bench.ts::select
21 µs
with class instance
benchmarks/object/clone.bench.ts::clone
67.3 µs
with item that does not exist and custom matcher
benchmarks/array/toggle.bench.ts::toggle
36.5 µs
with full list and identity value function
benchmarks/array/mapify.bench.ts::mapify
56.9 µs
with valid input
benchmarks/object/construct.bench.ts::construct
169 µs
with invalid input
benchmarks/typed/isDate.bench.ts::isDate
25.4 µs
with integer
benchmarks/typed/isNumber.bench.ts::isNumber
18 µs
with non-empty array
benchmarks/array/shift.bench.ts::shift
30.6 µs
with entirely different arrays
benchmarks/array/diff.bench.ts::diff
34.1 µs
with strategy prepend
benchmarks/array/toggle.bench.ts::toggle
45.7 µs
with item that does not exist
benchmarks/array/toggle.bench.ts::toggle
27.2 µs
with non-number value
benchmarks/typed/isInt.bench.ts::isInt
29.2 µs
with empty list
benchmarks/array/mapify.bench.ts::mapify
18.4 µs
with Promise-like
benchmarks/typed/isPromise.bench.ts::isPromise
28 µs
with complex objects
benchmarks/typed/isEqual.bench.ts::isEqual
212.8 µs
with item that does exist
benchmarks/array/toggle.bench.ts::toggle
29.2 µs
with non-Date value
benchmarks/typed/isDate.bench.ts::isDate
19.3 µs
with identity function
benchmarks/array/diff.bench.ts::diff
76.5 µs
with filter callback
benchmarks/object/filterKey.bench.ts::filterKey
34.5 µs
with valid input
benchmarks/typed/isDate.bench.ts::isDate
24.4 µs
with empty keys
benchmarks/object/omit.bench.ts::omit
15.6 µs
specified cluster size of 3
benchmarks/array/cluster.bench.ts::cluster
33.9 µs
with item that does exist and custom matcher
benchmarks/array/toggle.bench.ts::toggle
45.5 µs
with specific keys
benchmarks/object/omit.bench.ts::omit
29.7 µs
with empty array
benchmarks/array/shift.bench.ts::shift
15.3 µs
with objects
benchmarks/typed/isEqual.bench.ts::isEqual
111.4 µs
with valid input
benchmarks/array/last.bench.ts::last
27.2 µs
with non-empty object
benchmarks/object/listify.bench.ts::listify
47.8 µs
with list of numbers
benchmarks/array/min.bench.ts::min
28.5 µs
with integer
benchmarks/typed/isInt.bench.ts::isInt
19.6 µs
with array of keys
benchmarks/object/filterKey.bench.ts::filterKey
31.9 µs
with class instance
benchmarks/object/filterKey.bench.ts::filterKey
63 µs
with non-integer
benchmarks/typed/isInt.bench.ts::isInt
20 µs
with empty list
benchmarks/array/last.bench.ts::last
15.5 µs
with empty object
benchmarks/object/listify.bench.ts::listify
20 µs
with index
benchmarks/array/selectFirst.bench.ts::selectFirst
29.2 µs
spin by negative number
benchmarks/series/series.bench.ts::series::spin method
206.2 µs
min of two items
benchmarks/series/series.bench.ts::series::min method
18 µs
spin by zero
benchmarks/series/series.bench.ts::series::spin method
11.3 µs
max of two items
benchmarks/series/series.bench.ts::series::max method
13 µs
get previous item
benchmarks/series/series.bench.ts::series::previous method
12.6 µs
get last item
benchmarks/series/series.bench.ts::series::last method
11.7 µs
get first item
benchmarks/series/series.bench.ts::series::first method
11.3 µs
with custom map function
benchmarks/array/zipToObject.bench.ts::zipToObject
40.6 µs
with default cluster size
benchmarks/array/cluster.bench.ts::cluster
33.8 µs
with empty input list
benchmarks/array/selectFirst.bench.ts::selectFirst
18.2 µs
without a condition callback
benchmarks/array/selectFirst.bench.ts::selectFirst
47.9 µs
with valid input
benchmarks/object/upperize.bench.ts::upperize
40.9 µs
with valid input
benchmarks/object/mapKeys.bench.ts::mapKeys
36.4 µs
with non-empty arrays
benchmarks/array/zipToObject.bench.ts::zipToObject
26.9 µs
get next item
benchmarks/series/series.bench.ts::series::next method
12.7 µs
with valid input
benchmarks/random/random.bench.ts::random
20.2 µs
with non-empty input list
benchmarks/array/selectFirst.bench.ts::selectFirst
37 µs
with list of objects
benchmarks/array/min.bench.ts::min
48.5 µs
with non-empty arrays
benchmarks/array/zip.bench.ts::zip
53.2 µs
with key fn
benchmarks/array/unique.bench.ts::unique
235.7 µs
with item at end
benchmarks/array/replaceOrAppend.bench.ts::replaceOrAppend
30.9 µs
spin by positive number
benchmarks/series/series.bench.ts::series::spin method
45.7 µs
with item at start
benchmarks/array/replaceOrAppend.bench.ts::replaceOrAppend
31.8 µs
with valid input
benchmarks/object/assign.bench.ts::assign
270.5 µs
with only one value
benchmarks/array/zipToObject.bench.ts::zipToObject
37.6 µs
append item
benchmarks/array/replaceOrAppend.bench.ts::replaceOrAppend
27.2 µs
with valid input
benchmarks/array/iterate.bench.ts::iterate
24.3 µs
with valid input
benchmarks/random/draw.bench.ts::draw
24.6 µs
with empty list
benchmarks/array/objectify.bench.ts::objectify
18.3 µs
with valid input
benchmarks/string/title.bench.ts::title
48.6 µs
with null
benchmarks/typed/isString.bench.ts::isString
19 µs
with empty array and a default value
benchmarks/array/first.bench.ts::first
15.6 µs
with item in middle
benchmarks/array/replaceOrAppend.bench.ts::replaceOrAppend
220.9 µs
with primitive
benchmarks/typed/isPrimitive.bench.ts::isPrimitive
14.8 µs
with non-empty array
benchmarks/array/unique.bench.ts::unique
23 µs
with filter function input
benchmarks/object/shake.bench.ts::shake
43.6 µs
with Symbol instance
benchmarks/typed/isSymbol.bench.ts::isSymbol
21.1 µs
with null
benchmarks/typed/isFunction.bench.ts::isFunction
14.5 µs
with arrow function
benchmarks/typed/isFunction.bench.ts::isFunction
15.2 µs
with valid input
benchmarks/string/camel.bench.ts::camel
42.8 µs
with anonymous function
benchmarks/typed/isFunction.bench.ts::isFunction
15 µs
with valid input
benchmarks/object/shake.bench.ts::shake
54.4 µs
with non-empty array
benchmarks/array/first.bench.ts::first
27.3 µs
with full list and identity value function
benchmarks/array/objectify.bench.ts::objectify
57 µs
with valid input
benchmarks/object/mapValues.bench.ts::mapValues
34.3 µs
with null
benchmarks/typed/isPrimitive.bench.ts::isPrimitive
14.6 µs
with non-primitive
benchmarks/typed/isPrimitive.bench.ts::isPrimitive
21.4 µs
with empty object
benchmarks/typed/isSymbol.bench.ts::isSymbol
18.6 µs
with named function
benchmarks/typed/isFunction.bench.ts::isFunction
15.1 µs
with non-empty object
benchmarks/object/keys.bench.ts::keys
112.7 µs
with object
benchmarks/typed/isString.bench.ts::isString
19.2 µs
with undefined
benchmarks/number/toInt.bench.ts::toInt
14.5 µs
with groups by provided attribute
benchmarks/array/group.bench.ts::group
213.5 µs
with number
benchmarks/typed/isString.bench.ts::isString
19 µs
with null
benchmarks/typed/isSymbol.bench.ts::isSymbol
14.7 µs
with no common items
benchmarks/array/intersects.bench.ts::intersects
35.5 µs
with empty object
benchmarks/object/keys.bench.ts::keys
29.7 µs
with string
benchmarks/typed/isString.bench.ts::isString
14.8 µs
with string
benchmarks/number/toInt.bench.ts::toInt
18.7 µs
with mixed arrays
benchmarks/array/intersects.bench.ts::intersects
22.2 µs
with custom identity function
benchmarks/array/intersects.bench.ts::intersects
39.8 µs
with deep path
benchmarks/object/set.bench.ts::set
50.1 µs
with non-empty range
benchmarks/number/inRange.bench.ts::inRange
20.2 µs
with non-empty input list
benchmarks/array/flat.bench.ts::flat
26.5 µs
with numeric key
benchmarks/object/set.bench.ts::set
51.9 µs
with object arrays
benchmarks/array/intersects.bench.ts::intersects
54.2 µs
with simple path
benchmarks/object/set.bench.ts::set
40.3 µs
with two params
benchmarks/number/inRange.bench.ts::inRange
20.2 µs
with array index path
benchmarks/object/set.bench.ts::set
100.2 µs
with valid input
benchmarks/object/lowerize.bench.ts::lowerize
38.8 µs
with valid input
benchmarks/string/dash.bench.ts::dash
39 µs
© 2025 CodSpeed Technology
Home Terms Privacy Docs