Avatar for the toss user
toss
es-toolkit
BlogDocsChangelog

feat(inRange): add inRange

#124Merged
Comparing
jgjgill:feat/inRange
(
a4c5967
) with
main
(
a175b43
)
CodSpeed Performance Gauge
-91%
Improvement
13
Regression
3
Untouched
100
New
2

Benchmarks

118 total
es-toolkit/forEachRight
benchmarks/forEachRight.bench.ts::forEachRight
CodSpeed Performance Gauge
-91%
35.9 µs379.2 µs
lodash/forEachRight
benchmarks/forEachRight.bench.ts::forEachRight
CodSpeed Performance Gauge
-82%
36.3 µs199 µs
lodash/unzipWith
benchmarks/unzipWith.bench.ts::unzipWith
CodSpeed Performance Gauge
-62%
94.6 µs251.7 µs
lodash
benchmarks/compact.bench.ts::compact
CodSpeed Performance Gauge
×7.3
359.4 µs49.2 µs
lodash/isNil
benchmarks/isNil.bench.ts::isNil
CodSpeed Performance Gauge
×5.4
190.7 µs35.4 µs
lodash/differenceWith
benchmarks/differenceWith.bench.ts::differenceWith
CodSpeed Performance Gauge
×5
348.7 µs69.2 µs
lodash/shuffle
benchmarks/shuffle.bench.ts::shuffle
CodSpeed Performance Gauge
×4.5
195.5 µs43 µs
lodash/unionWith
benchmarks/unionWith.bench.ts::unionWith
CodSpeed Performance Gauge
×4.4
369.9 µs84.9 µs
lodash/differenceBy
benchmarks/differenceBy.bench.ts::differenceBy
CodSpeed Performance Gauge
×3.2
225.3 µs70.6 µs
lodash/unionBy
benchmarks/unionBy.bench.ts::unionBy
CodSpeed Performance Gauge
×3
229.9 µs75.7 µs
lodash/pick
benchmarks/pick.bench.ts::pick
CodSpeed Performance Gauge
×2.9
251.4 µs86.8 µs
lodash/xorBy
benchmarks/xorBy.bench.ts::xorBy
CodSpeed Performance Gauge
×2.8
257.3 µs91.1 µs
lodash/intersectionWith
benchmarks/intersectionWith.bench.ts::intersectionWith
CodSpeed Performance Gauge
×2.7
251.4 µs92.3 µs
lodash/xorWith
benchmarks/xorWith.bench.ts::xorWith
CodSpeed Performance Gauge
×2.5
268.1 µs106.6 µs
lodash/zipWith
benchmarks/zipWith.bench.ts::zipWith
CodSpeed Performance Gauge
+54%
401.3 µs261 µs
es-toolkit/uniqBy
benchmarks/uniqBy.bench.ts::uniqBy, large arrays
CodSpeed Performance Gauge
+39%
16.9 ms12.2 ms
es-toolkit/inRange
benchmarks/inRange.bench.ts::inRange
CodSpeed Performance Gauge
N/A
N/A15.3 µs
lodash/inRange
benchmarks/inRange.bench.ts::inRange
CodSpeed Performance Gauge
N/A
N/A21.7 µs
es-toolkit/union
benchmarks/union.bench.ts::union
CodSpeed Performance Gauge
+10%
35.5 µs32.4 µs
lodash/random
benchmarks/random.bench.ts::random
CodSpeed Performance Gauge
+8%
34.9 µs32.1 µs
es-toolkit/xorWith
benchmarks/xorWith.bench.ts::xorWith
CodSpeed Performance Gauge
+3%
71.3 µs69.3 µs
lodash/round
benchmarks/round.bench.ts::round
CodSpeed Performance Gauge
+1%
41.1 µs40.5 µs
lodash/sample
benchmarks/sample.bench.ts::sample
CodSpeed Performance Gauge
+1%
23.2 µs22.8 µs
es-toolkit/dropRightWhile
benchmarks/dropRightWhile.bench.ts::dropRightWhile
CodSpeed Performance Gauge
+1%
26.4 µs26.1 µs
es-toolkit/differenceBy
benchmarks/differenceBy.bench.ts::differenceBy
CodSpeed Performance Gauge
+1%
31.1 µs30.8 µs

Commits

Click on a commit to change the comparison range
Base
main
a175b43
-90.54%
feat: add inRange
a4c5967
2 years ago
by jgjgill
© 2026 CodSpeed Technology
Home Terms Privacy Docs