feat(keyBy): Accept number and symbol keys in keyBy
#98
CodSpeed HQ / CodSpeed Performance Analysis
failed
Jun 30, 2024 in 0s
Performance Regression: -88.78%
Summary
⚡ 7
improvements
❌ 8
regressions
✅ 81
untouched benchmarks
⚠️ Please fix the performance issues or acknowledge them on CodSpeed.
Benchmarks breakdown
Benchmark | main |
mass2527:feat/keyBy |
Change | |
---|---|---|---|---|
⚡ | lodash |
326.9 µs | 206.8 µs | +58.07% |
⚡ | lodash/difference |
218.2 µs | 56.8 µs | ×3.8 |
❌ | lodash/differenceBy |
225.2 µs | 345.5 µs | -34.82% |
⚡ | lodash/differenceWith |
223.5 µs | 69.3 µs | ×3.2 |
❌ | es-toolkit/intersection |
2.8 ms | 7.2 ms | -60.85% |
❌ | lodash/intersectionBy |
324.3 µs | 465.2 µs | -30.28% |
❌ | lodash/isNil |
35.7 µs | 318.1 µs | -88.78% |
❌ | es-toolkit/range |
39.3 µs | 48.4 µs | -18.63% |
❌ | lodash/range |
33.6 µs | 44.1 µs | -23.87% |
⚡ | lodash/shuffle |
195.6 µs | 43 µs | ×4.5 |
⚡ | lodash/unionBy |
230.1 µs | 75.3 µs | ×3.1 |
⚡ | lodash/xorBy |
267.7 µs | 91 µs | ×2.9 |
⚡ | lodash/xorWith |
405.8 µs | 259.6 µs | +56.32% |
❌ | lodash/zip |
243 µs | 362.1 µs | -32.9% |
❌ | lodash/zipWith |
261.4 µs | 377.7 µs | -30.8% |
Loading