Test case name | Result |
---|---|
Round floating number using lodash round function | |
Round float number with Math.round |
Test name | Executions per second |
---|---|
Round floating number using lodash round function | 1478.3 Ops/sec |
Round float number with Math.round | 2294265.0 Ops/sec |