mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
allow bench to handle larger numbers (#15162)
# Description This PR allows `bench` to handle larger numbers by using `into float`
This commit is contained in:
@ -43,7 +43,7 @@ export def main [
|
|||||||
mean: ($times | math avg)
|
mean: ($times | math avg)
|
||||||
min: ($times | math min)
|
min: ($times | math min)
|
||||||
max: ($times | math max)
|
max: ($times | math max)
|
||||||
std: ($times | into int | math stddev | into int | into duration)
|
std: ($times | into int | into float | math stddev | into int | into duration)
|
||||||
times: ($times)
|
times: ($times)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user