Fastest: destructuring with defaults, empty input (6.0x faster)
8,255,223 ops/sec
4,021,010 ops/sec
3,998,975 ops/sec
2,406,269 ops/sec
2,116,580 ops/sec
2,115,232 ops/sec
1,679,482 ops/sec
1,378,732 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.